Re: [PATCH v2 net-next 5/9] net: mvneta: add multi buffer support to XDP_TX

2020-09-06 Thread Lorenzo Bianconi
> > 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

Re: [PATCH v2 net-next 5/9] net: mvneta: add multi buffer support to XDP_TX

2020-09-06 Thread Shay Agroskin
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

[PATCH v2 net-next 5/9] net: mvneta: add multi buffer support to XDP_TX

2020-09-03 Thread Lorenzo Bianconi
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/