|
|
Subscribe / Log in / New account

eth: fbnic Add XDP support for fbnic

From:  Mohsin Bashir <mohsin.bashr-AT-gmail.com>
To:  netdev-AT-vger.kernel.org
Subject:  [PATCH net-next 0/9] eth: fbnic Add XDP support for fbnic
Date:  Wed, 23 Jul 2025 07:59:17 -0700
Message-ID:  <20250723145926.4120434-1-mohsin.bashr@gmail.com>
Cc:  kuba-AT-kernel.org, alexanderduyck-AT-fb.com, andrew+netdev-AT-lunn.ch, davem-AT-davemloft.net, edumazet-AT-google.com, pabeni-AT-redhat.com, mohsin.bashr-AT-gmail.com, horms-AT-kernel.org, vadim.fedorenko-AT-linux.dev, jdamato-AT-fastly.com, sdf-AT-fomichev.me, aleksander.lobakin-AT-intel.com, ast-AT-kernel.org, daniel-AT-iogearbox.net, hawk-AT-kernel.org, john.fastabend-AT-gmail.com
Archive-link:  Article

This patch series introduces basic XDP support for fbnic. To enable this,
it includes preparatory changes such as making the HDS threshold
configurable via ethtool, updating headroom for fbnic, tracking
frag state in shinfo, and prefetching the first cacheline of data.

Mohsin Bashir (9):
  eth: fbnic: Add support for HDS configuration
  eth: fbnic: Update Headroom
  eth: fbnic: Use shinfo to track frags state on Rx
  eth: fbnic: Prefetch packet headers on Rx
  eth: fbnic: Add XDP pass, drop, abort support
  eth: fbnic: Add support for XDP queues
  eth: fbnic: Add support for XDP_TX action
  eth: fbnic: Collect packet statistics for XDP
  eth: fbnic: Report XDP stats via ethtool

 .../device_drivers/ethernet/meta/fbnic.rst    |  10 +
 .../net/ethernet/meta/fbnic/fbnic_ethtool.c   |  82 +++-
 .../net/ethernet/meta/fbnic/fbnic_netdev.c    |  69 +++
 .../net/ethernet/meta/fbnic/fbnic_netdev.h    |   9 +-
 drivers/net/ethernet/meta/fbnic/fbnic_txrx.c  | 441 +++++++++++++++---
 drivers/net/ethernet/meta/fbnic/fbnic_txrx.h  |  22 +-
 6 files changed, 555 insertions(+), 78 deletions(-)

-- 
2.47.1




Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds