app/testpmd: add forwarding configuration to DCB config
authorHuisong Li <lihuisong@huawei.com>
Wed, 28 Apr 2021 06:40:45 +0000 (14:40 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 29 Apr 2021 16:10:14 +0000 (18:10 +0200)
commit4b6b06d2ebecf1b33acb1725f4f53c35ce3e77d5
tree6db297694f7f553d99f14049b965e18bc6551bfe
parent43f1f8261136852357057b78aa49d354beaf3931
app/testpmd: add forwarding configuration to DCB config

This patch adds fwd_config_setup() at the end of cmd_config_dcb_parsed()
to update "cur_fwd_config", so that the actual forwarding streams can be
queried by the "show config fwd" cmd.

Signed-off-by: Huisong Li <lihuisong@huawei.com>
Signed-off-by: Lijun Ou <oulijun@huawei.com>
Acked-by: Xiaoyun Li <xiaoyun.li@intel.com>
app/test-pmd/cmdline.c