This patchset adds the VF multi-TCs feature. --- v2: Use the macros __rte_packed_begin and __rte_packed_end instead of #pragma pack().
v3: Fix checkpatch warnings: line length of 102 exceeds 100 columns. Chengwen Feng (6): net/hns3: fix VF fail to config queue TC net/hns3: remove duplicate struct field net/hns3: refactor DCB module code net/hns3: VF support parse max TC number net/hns3: VF support discover multi-TCs capability net/hns3: VF support multi-TCs configure drivers/net/hns3/hns3_cmd.c | 5 +- drivers/net/hns3/hns3_cmd.h | 10 + drivers/net/hns3/hns3_dcb.c | 161 ++++++++++++---- drivers/net/hns3/hns3_dcb.h | 4 + drivers/net/hns3/hns3_dump.c | 11 +- drivers/net/hns3/hns3_ethdev.c | 132 ++----------- drivers/net/hns3/hns3_ethdev.h | 12 +- drivers/net/hns3/hns3_ethdev_vf.c | 297 ++++++++++++++++++++++++++++-- drivers/net/hns3/hns3_mbx.h | 48 ++++- drivers/net/hns3/hns3_rss.c | 8 +- drivers/net/hns3/hns3_rxtx.c | 26 ++- drivers/net/hns3/hns3_tm.c | 6 +- 12 files changed, 537 insertions(+), 183 deletions(-) -- 2.33.0