]> git.ipfire.org Git - thirdparty/linux.git/commit
Merge branch 'ionic-xdp-support'
authorDavid S. Miller <davem@davemloft.net>
Fri, 16 Feb 2024 08:48:09 +0000 (08:48 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 16 Feb 2024 08:48:09 +0000 (08:48 +0000)
commitd70a2a45b4a91f8010392250470883c4b1481481
treedb43749fc43c2cc188fd80a52a0c537db16c1a49
parent2210c5485e4331d0abd7a0296f10178d1dc25cd2
parent5377805dc1c02ad3721a9256f0eef9b4813952e7
Merge branch 'ionic-xdp-support'

Shannon Nelson says:

====================
ionic: add XDP support

This patchset is new support in ionic for XDP processing,
including basic XDP on Rx packets, TX and REDIRECT, and frags
for jumbo frames.

Since ionic has not yet been converted to use the page_pool APIs,
this uses the simple MEM_TYPE_PAGE_ORDER0 buffering.  There are plans
to convert the driver in the near future.

v4:
 - removed "inline" from short utility functions
 - changed to use "goto err_out" in ionic_xdp_register_rxq_info()
 - added "continue" to reduce nesting in ionic_xdp_queues_config()
 - used xdp_prog in ionic_rx_clean() to flag whether or not to sync
   the rx buffer after calling ionix_xdp_run()
 - swapped order of XDP_TX and XDP_REDIRECT cases in ionic_xdp_run()
   to make patch 6 a little cleaner

v3:
https://lore.kernel.org/netdev/20240210004827.53814-1-shannon.nelson@amd.com/
 - removed budget==0 patch, sent it separately to net

v2:
https://lore.kernel.org/netdev/20240208005725.65134-1-shannon.nelson@amd.com/
 - added calls to txq_trans_cond_update()
 - added a new patch to catch NAPI budget==0

v1:
https://lore.kernel.org/netdev/20240130013042.11586-1-shannon.nelson@amd.com/

RFC:
https://lore.kernel.org/netdev/20240118192500.58665-1-shannon.nelson@amd.com/
====================

Signed-off-by: David S. Miller <davem@davemloft.net>