Re: [PATCH V3 5/7] app/testpmd: move position of verifying DCB test

-----Original Message----- From: Huisong Li <lihuisong@huawei.com> Sent: Tuesday, April 20, 2021 17:01 To: dev@dpdk.org Cc: Yigit, Ferruh <ferruh.yigit@intel.com>; Li, Xiaoyun <xiaoyun.li@intel.com>; linuxarm@openeuler.org; lihuisong@huawei.com Subject: [PATCH V3 5/7] app/testpmd: move position of verifying DCB test
Currently, the check for doing DCB test is assigned to start_packet_forwarding(), which will be called when run "start" cmd. But fwd_config_setup() is used in many scenarios, such as, "port config all rxq".
This patch moves the check from start_packet_forwarding() to fwd_config_setup().
Fixes: 7741e4cf16c0 ("app/testpmd: VMDq and DCB updates")
Signed-off-by: Huisong Li <lihuisong@huawei.com> Signed-off-by: Lijun Ou <oulijun@huawei.com> --- app/test-pmd/config.c | 23 +++++++++++++++++++++-- app/test- pmd/testpmd.c | 19 ------------------- 2 files changed, 21 insertions(+), 21 deletions(-)
Acked-by: Xiaoyun Li <xiaoyun.li@intel.com>
participants (1)
-
Li, Xiaoyun