OSDN Git Service

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)
commitcd2086bf49838c007c75b13195e8b00560f67392
tree1448b2fc2eaa974722a5c54a0c78ec904c7f78fe
parent5b71ac3cc4a6a6346e2b9867c6c7553a7fcc4f8c
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