]> 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)
commitb7fb154eb74fa1ea5959d6419a3413de6f606cf4
tree1448b2fc2eaa974722a5c54a0c78ec904c7f78fe
parent9f796769da1bbe4c7a6e938f4ebf3731cbf1ab8f
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