aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
diff options
context:
space:
mode:
authorJian Shen <shenjian15@huawei.com>2019-07-04 22:04:20 +0800
committerDavid S. Miller <davem@davemloft.net>2019-07-05 15:39:38 -0700
commit2d5066fc175ea77a733d84df9ef414b34f311641 (patch)
tree1a95f9a0bf24e8c39e01973e9f803d8f90088b10 /drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
parentnet: remove unused parameter from skb_checksum_try_convert (diff)
downloadlinux-dev-2d5066fc175ea77a733d84df9ef414b34f311641.tar.xz
linux-dev-2d5066fc175ea77a733d84df9ef414b34f311641.zip
net: hns3: enable broadcast promisc mode when initializing VF
For revision 0x20, the broadcast promisc is enabled by firmware, it's unnecessary to enable it when initializing VF. For revision 0x21, it's necessary to enable broadcast promisc mode when initializing or re-initializing VF, otherwise, it will be unable to send and receive promisc packets. Fixes: f01f5559cac8 ("net: hns3: don't allow vf to enable promisc mode") Signed-off-by: Jian Shen <shenjian15@huawei.com> Signed-off-by: Peng Li <lipeng321@huawei.com> Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions