Commit f2ed304
net: hns3: only enable unicast promisc when mac table full
Currently, the driver will enable unicast promisc for the function
once configure mac address fail. It's unreasonable when the failure
is caused by using same mac address with other functions. So only
enable unicast promisc when mac table full.
Fixes: c631c69 ("net: hns3: refactor the promisc mode setting")
Signed-off-by: Jian Shen <shenjian15@huawei.com>
Signed-off-by: Jijie Shao <shaojijie@huawei.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>1 parent f9f6512 commit f2ed304
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8824 | 8824 | | |
8825 | 8825 | | |
8826 | 8826 | | |
8827 | | - | |
| 8827 | + | |
8828 | 8828 | | |
8829 | 8829 | | |
8830 | 8830 | | |
| |||
0 commit comments