diff options
| author | Peng Li <lipeng321@huawei.com> | 2019-04-04 16:17:51 +0800 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2019-04-04 10:20:38 -0700 |
| commit | 72110b567479f0282489a9b3747e76d8c67d75f5 (patch) | |
| tree | 294f4a75d84347e2ca952180450983305f92b243 /tools/perf/scripts/python | |
| parent | net: hns3: modify the VF network port media type acquisition method (diff) | |
| download | linux-72110b567479f0282489a9b3747e76d8c67d75f5.tar.gz linux-72110b567479f0282489a9b3747e76d8c67d75f5.zip | |
net: hns3: return 0 and print warning when hit duplicate MAC
When set 2 same MAC to different function of one port, IMP
will return error as the later one may modify the origin one.
This will cause bond fail for 2 VFs of one port.
Driver just print warning and return 0 with this patch, so
if set same MAC address, it will return 0 but do not really
configure HW.
Signed-off-by: Peng Li <lipeng321@huawei.com>
Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
