]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns3: Add more packet size statisctics
authorJian Shen <shenjian15@huawei.com>
Fri, 5 Jan 2018 10:18:24 +0000 (18:18 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 8 Jan 2018 19:06:19 +0000 (14:06 -0500)
commitbfbf491873172f5d0640f32970ba2b103922193f
treeea10084928270f3ae6d258fcbe6208aae6ceef1e
parent239d08fc3dfe29a417a4bec88edb2212665404d6
net: hns3: Add more packet size statisctics

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>
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.h