[dpdk-dev] [PATCH V3 4/7] app/testpmd: add check for support of reporting DCB info

Li, Xiaoyun xiaoyun.li at intel.com
Tue Apr 27 13:26:02 CEST 2021


> -----Original Message-----
> From: Huisong Li <lihuisong at huawei.com>
> Sent: Tuesday, April 20, 2021 17:01
> To: dev at dpdk.org
> Cc: Yigit, Ferruh <ferruh.yigit at intel.com>; Li, Xiaoyun <xiaoyun.li at intel.com>;
> linuxarm at openeuler.org; lihuisong at huawei.com
> Subject: [PATCH V3 4/7] app/testpmd: add check for support of reporting DCB
> info
> 
> Currently, '.get_dcb_info' must be supported for the port doing DCB test, or all
> information in 'rte_eth_dcb_info' are zero. It should be prevented when user run
> cmd "port config 0 dcb vt off 4 pfc off".
> 
> This patch adds the check for support of reporting dcb info.
> 
> Signed-off-by: Huisong Li <lihuisong at huawei.com>
> Signed-off-by: Lijun Ou <oulijun at huawei.com>
> ---
> V2->V3
> - fix the abnormal print information
> 
> ---
>  app/test-pmd/cmdline.c | 9 +++++++++
>  1 file changed, 9 insertions(+)
> 2.7.4

Acked-by: Xiaoyun Li <xiaoyun.li at intel.com>


More information about the dev mailing list