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>
Showing
- drivers/net/ethernet/hisilicon/hns3/hclge_mbx.h 2 additions, 0 deletionsdrivers/net/ethernet/hisilicon/hns3/hclge_mbx.h
- drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c 57 additions, 1 deletiondrivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_mbx.c
- drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c 124 additions, 4 deletionsdrivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c
- drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.h 4 additions, 0 deletionsdrivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.h
Loading
Please register or sign in to comment