diff options
author | 2021-12-03 17:20:50 +0800 | |
---|---|---|
committer | 2021-12-03 11:00:58 +0000 | |
commit | e7a51bf590e3ea87b0bab8c09c1a6fb6be7b3c11 (patch) | |
tree | b4b20a66fe1fd26950bbaf4417cbc1c46916cb78 /net/core | |
parent | net: hns3: optimize function hclge_cfg_common_loopback() (diff) | |
download | wireguard-linux-e7a51bf590e3ea87b0bab8c09c1a6fb6be7b3c11.tar.xz wireguard-linux-e7a51bf590e3ea87b0bab8c09c1a6fb6be7b3c11.zip |
net: hns3: refactor function hclge_set_vlan_filter_hw
Function hclge_set_vlan_filter_hw() is a bit too long, so add a new
function hclge_need_update_port_vlan() to simplify code and improve
code readability.
Signed-off-by: Guangbin Huang <huangguangbin2@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core')
0 files changed, 0 insertions, 0 deletions