]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
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)
committerKhalid Elmously <khalid.elmously@canonical.com>
Wed, 6 Jun 2018 18:41:16 +0000 (14:41 -0400)
commit4771e10497c391ddccaa55dcc067bf798d567535
tree72182761dd7ec1d322458999ac323882a8241530
parent1e8f8bd3c3a60ce5d9120ea067071169162b0bd4
net: hns3: Add support to enable TX/RX promisc mode for H/W rev(0x21)

BugLink: https://bugs.launchpad.net/bugs/1768670
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>
(cherry picked from commit 96c0e8614eba889d8beb00e9d74168c1c607908b linux-next)
Signed-off-by: dann frazier <dann.frazier@canonical.com>
Acked-by: Stefan Bader <stefan.bader@canonical.com>
Acked-by: Kleber Sacilotto de Souza <kleber.souza@canonical.com>
Signed-off-by: Khalid Elmously <khalid.elmously@canonical.com>
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_cmd.h
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c