Re: [dpdk-dev] [PATCH] app/testpmd: retain all original dev conf when config DCB

2021-10-11 Thread Min Hu (Connor)
在 2021/10/11 14:49, Li, Xiaoyun 写道: Hi -Original Message- From: Min Hu (Connor) Sent: Saturday, October 9, 2021 16:42 To: dev@dpdk.org Cc: Yigit, Ferruh ; tho...@monjalon.net; Li, Xiaoyun Subject: [PATCH] app/testpmd: retain all original dev conf when config DCB From: Huisong Li

Re: [dpdk-dev] [PATCH] app/testpmd: retain all original dev conf when config DCB

2021-10-10 Thread Li, Xiaoyun
Hi > -Original Message- > From: Min Hu (Connor) > Sent: Saturday, October 9, 2021 16:42 > To: dev@dpdk.org > Cc: Yigit, Ferruh ; tho...@monjalon.net; Li, Xiaoyun > > Subject: [PATCH] app/testpmd: retain all original dev conf when config DCB > > From: Huisong Li > > When configuring DC

[dpdk-dev] [PATCH] app/testpmd: retain all original dev conf when config DCB

2021-10-09 Thread Min Hu (Connor)
From: Huisong Li When configuring DCB, testpmd retains the rx_mode/tx_mode configuration in rte_port->dev_conf. But some configurations, such as the link_speed, were not saved if it were set before configuring DCB. Fixes: 1a572499beb6 ("app/testpmd: setup DCB forwarding based on traffic class")