>
> Lorenzo Bianconi writes:
>
[...]
> > - buf->xdpf = xdpf;
> > - tx_desc->command = MVNETA_TXD_FLZ_DESC;
> > - tx_desc->buf_phys_addr = dma_addr;
> > - tx_desc->data_size = xdpf->len;
> > + /*last descriptor */
> > + if (tx_desc)
> > + tx_desc->command |= MVNETA_TXD_L_D
Lorenzo Bianconi writes:
Introduce the capability to map non-linear xdp buffer running
mvneta_xdp_submit_frame() for XDP_TX and XDP_REDIRECT
Signed-off-by: Lorenzo Bianconi
---
drivers/net/ethernet/marvell/mvneta.c | 79
+--
1 file changed, 49 insertions(+), 30 d
Introduce the capability to map non-linear xdp buffer running
mvneta_xdp_submit_frame() for XDP_TX and XDP_REDIRECT
Signed-off-by: Lorenzo Bianconi
---
drivers/net/ethernet/marvell/mvneta.c | 79 +--
1 file changed, 49 insertions(+), 30 deletions(-)
diff --git a/drivers/