diff options
author | Guangbin Huang <huangguangbin2@huawei.com> | 2021-10-24 17:41:10 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-10-25 14:00:59 +0100 |
commit | 4e4c03f6ab636e9c39558845da5bfbcd60baf33d (patch) | |
tree | f8853638d3520234ea57fc9560b59a5cc2ef4c50 /COPYING | |
parent | 0bd7e894dffaa1fdbef9dcf68b5994a18ff32024 (diff) |
net: hns3: device specifications add number of mac statistics
Currently, driver queries number of mac statistics before querying mac
statistics. As the number of mac statistics is a fixed value in firmware,
it is redundant to query this number everytime before querying mac
statistics, it can just be queried once in initialization process and
saved in device specifications.
Signed-off-by: Guangbin Huang <huangguangbin2@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions