]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'dpaa_eth-add-xdp-support'
authorJakub Kicinski <kuba@kernel.org>
Tue, 1 Dec 2020 01:32:03 +0000 (17:32 -0800)
committerJakub Kicinski <kuba@kernel.org>
Tue, 1 Dec 2020 01:33:24 +0000 (17:33 -0800)
commit76ce06f125058381e0bdda6b2aca1f421cfcdc8b
tree066ff71fc372749c06e6c39df2d65612693be793
parente4de3fd77c1ff131ea779f73877eeaf6f195382d
parentb3c5c014aee24ff34530cf072545ad92831b3fbf
Merge branch 'dpaa_eth-add-xdp-support'

Camelia Groza says:

====================
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. 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.
====================

Link: https://lore.kernel.org/r/cover.1606322126.git.camelia.groza@nxp.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>