diff options
| author | Guojia Liao <liaoguojia@huawei.com> | 2020-01-04 05:49:29 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2020-01-07 00:26:25 +0300 |
| commit | 2af8cb6126f36ffad848d1b0af714c09eb801b9d (patch) | |
| tree | 2798cf814c1919bc9444c234dc0fb8fc4a2275c0 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | f97c4d823fb7d210afa53c6980dd8b8d0deee916 (diff) | |
| download | linux-2af8cb6126f36ffad848d1b0af714c09eb801b9d.tar.xz | |
net: hns3: add protection when get SFP speed as 0
In some case, the MAC speed get from hardware maybe 0, it should
not be set to mac->speed.
Signed-off-by: Guojia Liao <liaoguojia@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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions
