]> git.itanic.dy.fi Git - linux-stable/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)
commit698a89541c223b247a3b08cd0b16c97344445d96
treef808555c3296282424936eeb9ba78effe8c95ec8
parentdf2c2ba831a04083ad7485684896eeb090ca3c7d
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]