summaryrefslogtreecommitdiffstats
path: root/drivers/virtio
diff options
context:
space:
mode:
authorJian Shen2018-10-05 19:03:26 +0200
committerDavid S. Miller2018-10-05 21:01:55 +0200
commit39932473b63ebbfdebe298cad09711349feddbc6 (patch)
treebaea5c710186ca53485ac28494ca9c7b7608a56c /drivers/virtio
parentnet: hns3: Clear mac vlan table entries when unload driver or function reset (diff)
downloadkernel-qcow2-linux-39932473b63ebbfdebe298cad09711349feddbc6.tar.gz
kernel-qcow2-linux-39932473b63ebbfdebe298cad09711349feddbc6.tar.xz
kernel-qcow2-linux-39932473b63ebbfdebe298cad09711349feddbc6.zip
net: hns3: Optimize for unicast mac vlan table
In previously implement for unicast mac vlan table, the space is shared by all the functions, driver does nothing when the space is exhausted. This patch preallocates the space of unicast mac vlan table for each function by software. Each function can only use its private space and available shared space, avoiding single function exhausts too much space, and other functions are unable to add unicast mac address. Signed-off-by: Jian Shen <shenjian15@huawei.com> Signed-off-by: Salil Mehta <salil.mehta@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/virtio')
0 files changed, 0 insertions, 0 deletions