]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns3: Set extra mac address of pause param for HW
authorFuyun Liang <liangfuyun1@huawei.com>
Wed, 26 Sep 2018 18:28:32 +0000 (19:28 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 28 Sep 2018 17:37:41 +0000 (10:37 -0700)
commita8f8669645f07d5ea7cbbcf8398ae86d51b3ed81
tree1448b2fc2eaa974722a5c54a0c78ec904c7f78fe
parent57d2649a2fd5e367ba803345524feba3ab58bcfb
net: hns3: Set extra mac address of pause param for HW

The extra mac address of pause param is used to do double check
for pause frame. This patch set it to HW. If we do not do that,
pfc pause frame will be transferred protocol stack when normal
flow control mode is enabled.

Signed-off-by: Fuyun Liang <liangfuyun1@huawei.com>
Signed-off-by: Peng Li <lipeng321@huawei.com>
Signed-off-by: Salil Mehta <salil.mehta@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.c
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_tm.h