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
---
ChangeLog:
v1 -> v2:
- Fixed warnings similar to "warning: restricted __le32 degrades to integer",
pointed out by Jakub
- Fixed warnings related to
"warning: diagnostic behavior may be improved by adding the 'format(printf, 5, 7)'",
pointed out by Jakub
v1: https://lore.kernel.org/all/20260518093526.1109595-1-shaojijie@huawei.com/
---
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 | 150 +
.../ethernet/hisilicon/hns3/hns3pf/hclge_fd.c | 2575 +++++++++++++++++
.../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, 2817 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