mbox series

[0/1,SRU,B] LP:# 1859569 net: hns3: fix ETS bandwidth validation bug

Message ID 20200310130959.9523-1-taihsiang.ho@canonical.com
Headers show
Series LP:# 1859569 net: hns3: fix ETS bandwidth validation bug | expand

Message

Taihsiang Ho (tai271828) March 10, 2020, 1:09 p.m. UTC
When a TC's PFC is disabled or enabled, the RX private buffer for
this TC need to be changed too, otherwise this may cause packet
dropped problem.

[Impact]
The corresponding ethernet interface could not be up again.

[Fix]
cherry picked from commit c2d56897819338eb0ba8b93184f7d10329b36653
net: hns3: fix ETS bandwidth validation bug

[Test Case]
1.lldpad -d
2.lldptool -L -i eth0 adminStatus=rxtx
3.lldptool -T -i eth0 -V ETS-CFG
tsa=0:ets,1:ets,2:ets,3:ets,4:ets,5:ets,6:ets,7:ets
up2tc=0:0,1:0,2:1,3:1,4:2,5:2,6:3,7:3 tcbw=25,25,50,0,0,0,0,0
4.down device
5.up

[Regression Risk]
Low, the patch is only specific to the hns3 driver.

Yonglong Liu (1):
  net: hns3: fix ETS bandwidth validation bug

 drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_dcb.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Khalid Elmously March 12, 2020, 5:21 a.m. UTC | #1
Fixed the http -> https in the BugLink


On 2020-03-10 14:09:58 , Taihsiang Ho (tai271828) wrote:
> When a TC's PFC is disabled or enabled, the RX private buffer for
> this TC need to be changed too, otherwise this may cause packet
> dropped problem.
> 
> [Impact]
> The corresponding ethernet interface could not be up again.
> 
> [Fix]
> cherry picked from commit c2d56897819338eb0ba8b93184f7d10329b36653
> net: hns3: fix ETS bandwidth validation bug
> 
> [Test Case]
> 1.lldpad -d
> 2.lldptool -L -i eth0 adminStatus=rxtx
> 3.lldptool -T -i eth0 -V ETS-CFG
> tsa=0:ets,1:ets,2:ets,3:ets,4:ets,5:ets,6:ets,7:ets
> up2tc=0:0,1:0,2:1,3:1,4:2,5:2,6:3,7:3 tcbw=25,25,50,0,0,0,0,0
> 4.down device
> 5.up
> 
> [Regression Risk]
> Low, the patch is only specific to the hns3 driver.
> 
> Yonglong Liu (1):
>   net: hns3: fix ETS bandwidth validation bug
> 
>  drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_dcb.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> -- 
> 2.17.1
> 
> 
> -- 
> kernel-team mailing list
> kernel-team@lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/kernel-team