[PATCH v5 40/40] app/testpmd: add RSS hash algorithms display
fengchengwen
fengchengwen at huawei.com
Thu Oct 12 05:04:30 CEST 2023
Hi HaiJie,
On 2023/10/11 17:28, Jie Hai wrote:
> Add the command "show port X rss-hash algorithm" to display
> the RSS hash algorithms of port X. An example is shown:
>
> testpmd> show port 0 rss-hash algorithm
> RSS algorithms:
> toeplitz
>
> Signed-off-by: Jie Hai <haijie1 at huawei.com>
> ---
> app/test-pmd/cmdline.c | 29 ++++++++++++++++++++++++-----
> app/test-pmd/config.c | 38 +++++++++++++++++++-------------------
> app/test-pmd/testpmd.h | 2 +-
> 3 files changed, 44 insertions(+), 25 deletions(-)
>
> diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdline.c
> index 679ca47b9401..d0eafd7f1254 100644
> --- a/app/test-pmd/cmdline.c
> +++ b/app/test-pmd/cmdline.c
> @@ -174,8 +174,8 @@ static void cmd_help_long_parsed(void *parsed_result,
> " by masks on port X. size is used to indicate the"
> " hardware supported reta size\n\n"
>
> - "show port (port_id) rss-hash [key]\n"
> - " Display the RSS hash functions and RSS hash key of port\n\n"
> + "show port (port_id) rss-hash [key | algorithm]\n"
> + " Display the RSS hash functions, RSS hash key and RSS hash algorithms of port\n\n"
Please update testpmd doc
More information about the dev
mailing list