]> 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)
commitc0dd838d426e1690cc7dbc2349fe0970948d04ff
treef808555c3296282424936eeb9ba78effe8c95ec8
parentbce836a8d8afaa9c00ed597a2ab104628a883f21
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]