mbox series

[net-next,v2,0/3] add flow director for txgbe

Message ID 20240605020852.24144-1-jiawenwu@trustnetic.com (mailing list archive)
Headers show
Series add flow director for txgbe | expand

Message

Jiawen Wu June 5, 2024, 2:08 a.m. UTC
Add flow director support for Wangxun 10Gb NICs.

v1 -> v2:
- Fix build warnings reported by kernel test robot.

Jiawen Wu (3):
  net: txgbe: add FDIR ATR support
  net: txgbe: support Flow Director perfect filters
  net: txgbe: add FDIR info to ethtool ops

 .../net/ethernet/wangxun/libwx/wx_ethtool.c   |  39 +-
 drivers/net/ethernet/wangxun/libwx/wx_hw.c    |  32 +-
 drivers/net/ethernet/wangxun/libwx/wx_hw.h    |   2 +
 drivers/net/ethernet/wangxun/libwx/wx_lib.c   |  62 +-
 drivers/net/ethernet/wangxun/libwx/wx_lib.h   |   1 +
 drivers/net/ethernet/wangxun/libwx/wx_type.h  |  56 +-
 drivers/net/ethernet/wangxun/txgbe/Makefile   |   1 +
 .../ethernet/wangxun/txgbe/txgbe_ethtool.c    | 417 ++++++++++++
 .../net/ethernet/wangxun/txgbe/txgbe_fdir.c   | 631 ++++++++++++++++++
 .../net/ethernet/wangxun/txgbe/txgbe_fdir.h   |  18 +
 .../net/ethernet/wangxun/txgbe/txgbe_main.c   |  18 +
 .../net/ethernet/wangxun/txgbe/txgbe_type.h   | 147 ++++
 12 files changed, 1413 insertions(+), 11 deletions(-)
 create mode 100644 drivers/net/ethernet/wangxun/txgbe/txgbe_fdir.c
 create mode 100644 drivers/net/ethernet/wangxun/txgbe/txgbe_fdir.h

Comments

Jakub Kicinski June 6, 2024, 3:04 a.m. UTC | #1
On Wed,  5 Jun 2024 10:08:49 +0800 Jiawen Wu wrote:
> Add flow director support for Wangxun 10Gb NICs.

Some nits:
 - please wrap the code at 80 chars where possible
 - please run ./scripts/kernel-doc -Wall -none $file; and make sure no
   new warnings get added:

drivers/net/ethernet/wangxun/txgbe/txgbe_fdir.c:114: warning: No description found for return value of 'txgbe_fdir_add_signature_filter'