]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
net: hns3: Add more packet size statisctics
authorJian Shen <shenjian15@huawei.com>
Fri, 5 Jan 2018 10:18:24 +0000 (18:18 +0800)
committerSeth Forshee <seth.forshee@canonical.com>
Fri, 16 Mar 2018 15:47:34 +0000 (10:47 -0500)
commitb42874e4cbfe065317fed9cce8e3f9f0b005150a
tree655af8e147ff722f1c029576a36a8820ce554fa9
parentd2f70b04d2956ca2dd9ec435326eefb70bada52a
net: hns3: Add more packet size statisctics

BugLink: http://bugs.launchpad.net/bugs/1756097
The statistics of rx/tx packets size greater than 1518
are not detailed. This patch adds more statistics for
different packet size range.

Signed-off-by: Jian Shen <shenjian15@huawei.com>
Signed-off-by: Peng Li <lipeng321@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
(cherry picked from commit 91f384f67e0c84e8a41a93176992732128cd0bf4)
Signed-off-by: Manoj Iyer <manoj.iyer@canonical.com>
Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.h