summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.h
diff options
context:
space:
mode:
authorXi Wang <wangxi11@huawei.com>2018-06-01 17:52:10 +0100
committerDavid S. Miller <davem@davemloft.net>2018-06-01 14:23:57 -0400
commit40cca1c587c1c39fcc7fa1b2c5d315d72361dfe1 (patch)
treec31df6848c7d916e352c8fbef487c7bede52d767 /drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.h
parent3db084d28dc04e6ebe9123e0d4f6e8ef5a775ff0 (diff)
downloadlinux-40cca1c587c1c39fcc7fa1b2c5d315d72361dfe1.tar.gz
net: hns3: Optimize the PF's process of updating multicast MAC
In the current process, the multicast MAC is added to both MAC_VLAN table and MTA table, this will reduce the utilization of the resource. This patch improves the process of adding multicast MAC address, the new process starts using the MTA table to add multicast MAC after the MAC_VLAN table is full, and the MTA is disable if it is no longer used. 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>
Diffstat (limited to 'drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.h')
0 files changed, 0 insertions, 0 deletions