OSDN Git Service

net: hns3: Optimize the VF's process of updating multicast MAC
authorXi Wang <wangxi11@huawei.com>
Fri, 1 Jun 2018 16:52:11 +0000 (17:52 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 1 Jun 2018 18:23:58 +0000 (14:23 -0400)
commit3a678b5806e66d0b75086bf423ecaf80ff0237c7
treed38dcc3968bee7a0e04d0f71c2fdecee6fd5dce7
parent40cca1c587c1c39fcc7fa1b2c5d315d72361dfe1
net: hns3: Optimize the VF's process of updating multicast MAC

In the update flow of the new PF driver, if a multicast address is in mta
table, the VF deletion action will not take effect.

This patch adds the VF adaptation according to the new flow of PF'driver.

Signed-off-by: Xi Wang <wangxi11@huawei.com>
Reviewed-by: Jian Shen <shenjian15@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/hclge_mbx.h
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.h