]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commit91f384f67e0c84e8a41a93176992732128cd0bf4
treeea10084928270f3ae6d258fcbe6208aae6ceef1e
parent2e1ea493cc79dfb640a34398b9ea12c019e4a8cd
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