mbox series

[net-next,v2,0/7] dpaa_eth: add XDP support

Message ID cover.1605535745.git.camelia.groza@nxp.com (mailing list archive)
Headers show
Series dpaa_eth: add XDP support | expand

Message

Camelia Alexandra Groza Nov. 16, 2020, 2:42 p.m. UTC
Enable XDP support for the QorIQ DPAA1 platforms.

Implement all the current actions (DROP, ABORTED, PASS, TX, REDIRECT). No
Tx batching is added at this time.

Additional XDP_PACKET_HEADROOM bytes are reserved in each frame's headroom.

After transmit, a reference to the xdp_frame is saved in the buffer for
clean-up on confirmation in a newly created structure for software
annotations.

Changes in v2:
- warn only once if extracting the timestamp from a received frame fails
  in 2/7

Camelia Groza (7):
  dpaa_eth: add struct for software backpointers
  dpaa_eth: add basic XDP support
  dpaa_eth: limit the possible MTU range when XDP is enabled
  dpaa_eth: add XDP_TX support
  dpaa_eth: add XDP_REDIRECT support
  dpaa_eth: rename current skb A050385 erratum workaround
  dpaa_eth: implement the A050385 erratum workaround for XDP

 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c | 447 +++++++++++++++++++++++--
 drivers/net/ethernet/freescale/dpaa/dpaa_eth.h |  13 +
 2 files changed, 430 insertions(+), 30 deletions(-)

--
1.9.1

Comments

Madalin Bucur (OSS) Nov. 16, 2020, 3:39 p.m. UTC | #1
> From: Camelia Groza <camelia.groza@nxp.com>
> To: kuba@kernel.org; brouer@redhat.com; saeed@kernel.org;
> davem@davemloft.net
> Cc: Madalin Bucur (OSS) <madalin.bucur@oss.nxp.com>; Ioana Ciornei
> <ioana.ciornei@nxp.com>; netdev@vger.kernel.org; Camelia Alexandra Groza
> <camelia.groza@nxp.com>
> Subject: [PATCH net-next v2 0/7] dpaa_eth: add XDP support
> 
> Enable XDP support for the QorIQ DPAA1 platforms.
> 
> Implement all the current actions (DROP, ABORTED, PASS, TX, REDIRECT). No
> Tx batching is added at this time.
> 
> Additional XDP_PACKET_HEADROOM bytes are reserved in each frame's headroom.
> 
> After transmit, a reference to the xdp_frame is saved in the buffer for
> clean-up on confirmation in a newly created structure for software
> annotations.
> 
> Changes in v2:
> - warn only once if extracting the timestamp from a received frame fails
>   in 2/7
> 
> Camelia Groza (7):
>   dpaa_eth: add struct for software backpointers
>   dpaa_eth: add basic XDP support
>   dpaa_eth: limit the possible MTU range when XDP is enabled
>   dpaa_eth: add XDP_TX support
>   dpaa_eth: add XDP_REDIRECT support
>   dpaa_eth: rename current skb A050385 erratum workaround
>   dpaa_eth: implement the A050385 erratum workaround for XDP
> 
>  drivers/net/ethernet/freescale/dpaa/dpaa_eth.c | 447
> +++++++++++++++++++++++--
>  drivers/net/ethernet/freescale/dpaa/dpaa_eth.h |  13 +
>  2 files changed, 430 insertions(+), 30 deletions(-)
> 
> --
> 1.9.1

For the series,

Acked-by: Madalin Bucur <madalin.bucur@oss.nxp.com>