]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns3: add trace event support for HNS3 driver
authorYunsheng Lin <linyunsheng@huawei.com>
Sat, 4 Jan 2020 02:49:24 +0000 (10:49 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 6 Jan 2020 21:26:25 +0000 (13:26 -0800)
commitfb874aff546a563f393b636ddc538d571a600346
treef808555c3296282424936eeb9ba78effe8c95ec8
parentf67b9904af31ecbf9df5a38453371cf77126591a
net: hns3: add trace event support for HNS3 driver

This adds trace support for HNS3 driver. It also declares
some events which could be used to trace the events when a
TX/RX BD is processed, and other events which are related to
the processing of sk_buff, such as TSO, GRO.

Signed-off-by: Yunsheng Lin <linyunsheng@huawei.com>
Signed-off-by: Huazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/Makefile
drivers/net/ethernet/hisilicon/hns3/hns3_enet.c
drivers/net/ethernet/hisilicon/hns3/hns3_enet.h
drivers/net/ethernet/hisilicon/hns3/hns3_trace.h [new file with mode: 0644]