[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20201130173431.3144fb85@kicinski-fedora-pc1c0hjn.DHCP.thefacebook.com>
Date: Mon, 30 Nov 2020 17:34:31 -0800
From: Jakub Kicinski <kuba@...nel.org>
To: Maciej Fijalkowski <maciej.fijalkowski@...el.com>
Cc: Camelia Groza <camelia.groza@....com>, brouer@...hat.com,
saeed@...nel.org, davem@...emloft.net, madalin.bucur@....nxp.com,
ioana.ciornei@....com, netdev@...r.kernel.org
Subject: Re: [PATCH net-next v5 0/7] dpaa_eth: add XDP support
On Sat, 28 Nov 2020 23:59:57 +0100 Maciej Fijalkowski wrote:
> On Wed, Nov 25, 2020 at 06:53:29PM +0200, Camelia Groza wrote:
> > 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. DPAA_TX_PRIV_DATA_SIZE bytes are reserved in the buffer for
> > storing this structure and the XDP program is restricted from accessing
> > them.
> >
> > The driver shares the egress frame queues used for XDP with the network
> > stack. The DPAA driver is a LLTX driver so no explicit locking is required
> > on transmission.
> >
> > Changes in v2:
> > - warn only once if extracting the timestamp from a received frame fails
> > in 2/7
> >
> > Changes in v3:
> > - drop received S/G frames when XDP is enabled in 2/7
> >
> > Changes in v4:
> > - report a warning if the MTU is too hight for running XDP in 2/7
> > - report an error if opening the device fails in the XDP setup in 2/7
> > - call xdp_rxq_info_is_reg() before unregistering in 4/7
> > - minor cleanups (remove unneeded variable, print error code) in 4/7
> > - add more details in the commit message in 4/7
> > - did not call qman_destroy_fq() in case of xdp_rxq_info_reg() failure
> > since it would lead to a double free of the fq resources in 4/7
> >
> > Changes in v5:
> > - report errors on XDP setup with extack in 2/7
> > - checkpath fix in 4/7
> > - add more details in the commit message in 4/7
> > - reduce the impact of the A050385 erratum workaround code on non-erratum
> > platforms in 7/7
>
> For the series:
> Reviewed-by: Maciej Fijalkowski <maciej.fijalkowski@...el.com>
Applied, thanks!
Powered by blists - more mailing lists