diff options
author | Xi Wang <wangxi11@huawei.com> | 2018-06-01 17:52:10 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-06-01 14:23:57 -0400 |
commit | 40cca1c587c1c39fcc7fa1b2c5d315d72361dfe1 (patch) | |
tree | c31df6848c7d916e352c8fbef487c7bede52d767 /drivers/net/ethernet/hisilicon/hns3/hns3vf | |
parent | 3db084d28dc04e6ebe9123e0d4f6e8ef5a775ff0 (diff) | |
download | linux-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')
0 files changed, 0 insertions, 0 deletions