net: hns3: Add support to enable TX/RX promisc mode for H/W rev(0x21)
authorPeng Li <lipeng321@huawei.com>
Fri, 25 May 2018 18:42:59 +0000 (19:42 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 29 May 2018 04:04:26 +0000 (00:04 -0400)
commit96c0e8614eba889d8beb00e9d74168c1c607908b
tree60ac1dc05c166de481b8aa2774cf6b155a29f40c
parent5b5455a9ed5a9d7c26313a353bc2c3c1f6e1f5cb
net: hns3: Add support to enable TX/RX promisc mode for H/W rev(0x21)

HCLGE_PROMISC_TX_EN_B and HCLGE_PROMISC_RX_EN_B are not supported
on pdev revision(0x20), new revision(0x21) supports them.

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_cmd.h
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c