[PATCH net-next 0/6] net: hns3: enhance tc flow offload support
From: Jijie Shao
Date: Mon May 18 2026 - 05:43:07 EST
This patchset enhances the tc flow offload support for hns3 driver:
- Patch 1: Refactor hclge_add_cls_flower() to support more actions
- Patch 2: Improve unused_tuple parameter setting for separate src/dst configuration
- Patch 3: Add support for HCLGE_FD_ACTION_SELECT_QUEUE and HCLGE_FD_ACTION_DROP_PACKET actions
- Patch 4: Add support for FLOW_DISSECTOR_KEY_IP and FLOW_DISSECTOR_KEY_ENC_KEYID dissectors
- Patch 5: Add debugfs support for dumping FD rules
- Patch 6: Move FD code to a separate file (hclge_fd.c) for better code organization
Jijie Shao (6):
net: hns3: adjust add_cls_flower() for support more action
net: hns3: improve the unused_tuple parameter setting
net: hns3: support two more actions for tc flow
net: hns3: support IP and tunnel VNI dissectors for tc flow
net: hns3: debugfs support for dumping fd rules
net: hns3: move fd code to a separate file
drivers/net/ethernet/hisilicon/hns3/Makefile | 1 +
drivers/net/ethernet/hisilicon/hns3/hnae3.h | 3 +-
.../ethernet/hisilicon/hns3/hns3_debugfs.c | 6 +
.../net/ethernet/hisilicon/hns3/hns3_enet.c | 3 +-
.../hisilicon/hns3/hns3pf/hclge_debugfs.c | 156 +
.../ethernet/hisilicon/hns3/hns3pf/hclge_fd.c | 2574 +++++++++++++++++
.../ethernet/hisilicon/hns3/hns3pf/hclge_fd.h | 33 +
.../hisilicon/hns3/hns3pf/hclge_main.c | 2514 +---------------
.../hisilicon/hns3/hns3pf/hclge_main.h | 6 +
9 files changed, 2822 insertions(+), 2474 deletions(-)
create mode 100644 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_fd.c
create mode 100644 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_fd.h
--
2.33.0