Home
last modified time | relevance | path

Searched hist:"4 e4c03f6" (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/net/ethernet/hisilicon/hns3/
H A Dhns3_debugfs.c4e4c03f6 Sun Oct 24 04:41:10 CDT 2021 Guangbin Huang <huangguangbin2@huawei.com> 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>
H A Dhnae3.h4e4c03f6 Sun Oct 24 04:41:10 CDT 2021 Guangbin Huang <huangguangbin2@huawei.com> 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>
/openbmc/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_main.c4e4c03f6 Sun Oct 24 04:41:10 CDT 2021 Guangbin Huang <huangguangbin2@huawei.com> 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>