diff options
| author | Jian Shen <shenjian15@huawei.com> | 2020-04-24 10:23:11 +0800 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2020-04-25 20:29:44 -0700 |
| commit | c631c696823cdddbf3c683c3b78812ecba31c350 (patch) | |
| tree | 7375392e8545db9e138c8f25418f841a4589a0bf /scripts/gcc-plugins/cyc_complexity_plugin.c | |
| parent | f671237a4b4521dfde5f96c2b088287712e72f4b (diff) | |
net: hns3: refactor the promisc mode setting
As the HNS3 driver doesn't update the MAC address directly in
function hns3_set_rx_mode() now, it can't know whether the
MAC table is full from __dev_uc_sync() and __dev_mc_sync(),
so it's senseless to handle the overflow promisc here.
This patch removes the handle of overflow promisc from function
hns3_set_rx_mode(), and updates the promisc mode in the service
task.
Signed-off-by: Jian Shen <shenjian15@huawei.com>
Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions
