On 7/7/2022 11:50 AM, Huisong Li wrote:
Now testpmd fails to display types when query RSS rule. The failure is
because the '\n' character is missing at the end of the function
'rss_config_display()'.
Bugzilla ID: 1048
Fixes: 534988c490f1 ("app/testpmd: unify RSS types display")
Signed-off-by: Huisong Li <lihuis...@huawei.com>
---
app/test-pmd/config.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/app/test-pmd/config.c b/app/test-pmd/config.c
index 608bec9796..bcb6d42da3 100644
--- a/app/test-pmd/config.c
+++ b/app/test-pmd/config.c
@@ -1693,6 +1693,7 @@ rss_config_display(struct rte_flow_action_rss *rss_conf)
return;
}
rss_types_display(rss_conf->types, TESTPMD_RSS_TYPES_CHAR_NUM_PER_LINE);
+ printf("\n");
Thanks Huisong for the fix.
What do you think to have '\n' in the 'rss_types_display()' function and
update 'port_rss_hash_conf_show()' usage?
And can do same change for 'rss_offload_types_display()', having last
'\n' in the function.
}
static struct port_indirect_action *