app/testpmd: fix RSS types display
authorHuisong Li <lihuisong@huawei.com>
Fri, 8 Jul 2022 01:41:59 +0000 (09:41 +0800)
committerFerruh Yigit <ferruh.yigit@xilinx.com>
Fri, 8 Jul 2022 10:28:38 +0000 (12:28 +0200)
commitb7e77411a745dd8610ac1fd85d3e43a99eb9fa7c
tree282ed75f0955aca5b3b87249510ac6dbfcda23b7
parente1673dde51442b98a1d3b6bcd9748d063e533523
app/testpmd: fix RSS types display

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()'.
Actually, all places calling 'xxx_types_display()' need to '\n'. So this
patch moves '\n' to the inside of these function.

Bugzilla ID: 1048
Fixes: 534988c490f1 ("app/testpmd: unify RSS types display")
Fixes: 44a37f3cffe0 ("app/testpmd: compact RSS types output")

Signed-off-by: Huisong Li <lihuisong@huawei.com>
Tested-by: Weiyuan Li <weiyuanx.li@intel.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@xilinx.com>
app/test-pmd/config.c