[v4,0/7] support setting and querying RSS algorithms

Message ID 20230908080030.3837515-1-haijie1@huawei.com (mailing list archive)
Headers
Series support setting and querying RSS algorithms |

Message

Jie Hai Sept. 8, 2023, 8 a.m. UTC
  This patchset is to support setting and querying RSS algorithms.

--
v4:
1. recomment some definitions related to RSS.
2. allocate static memory for rss_key instead of dynamic.
3. use array of strings to get the name of rss algorithm.
4. add display of rss algorithm with testpmd.

v3:
1. fix commit log for PATCH [1/5].
2. make RSS ABI changes description to start the actual text at the margin.
3. move defnition of enum rte_eth_hash_function to rte_ethdev.h.
4. fix some comment codes.

v2:
1. return error if "func" is invalid.
2. modify the comments of the "func" field.
3. modify commit log of patch [3/5].
4. use malloc instead of rte_malloc.
5. adjust display format of RSS info.
6. remove the string display of rss_hf.


Huisong Li (1):
  net/hns3: support setting and querying RSS hash function

Jie Hai (6):
  ethdev: recomment some definitions related to RSS
  ethdev: support setting and querying RSS algorithm
  app/proc-info: fix never show RSS info
  app/proc-info: adjust the display format of RSS info
  app/proc-info: support querying RSS hash algorithm
  app/testpmd: add RSS hash algorithms display

 app/proc-info/main.c                   | 31 +++++++++++-----
 app/test-pmd/cmdline.c                 | 29 ++++++++++++---
 app/test-pmd/config.c                  | 36 +++++++++----------
 app/test-pmd/testpmd.h                 |  2 +-
 doc/guides/rel_notes/release_23_11.rst |  2 ++
 drivers/net/hns3/hns3_rss.c            | 47 +++++++++++++-----------
 lib/ethdev/rte_ethdev.c                | 17 +++++++++
 lib/ethdev/rte_ethdev.h                | 49 ++++++++++++++++++--------
 lib/ethdev/rte_flow.c                  |  1 -
 lib/ethdev/rte_flow.h                  | 18 ++--------
 10 files changed, 146 insertions(+), 86 deletions(-)