linux_dsm_epyc7002/drivers/net/ethernet/hisilicon/hns3
Yunsheng Lin 3d5f374189 net: hns3: unify maybe_stop_tx for TSO and non-TSO case
Currently, maybe_stop_tx ops for TSO and non-TSO case share some BD
calculation code, so this patch unifies the maybe_stop_tx by removing
the maybe_stop_tx ops. skb_is_gso() can be used to differentiate the
case between TSO and non-TSO case if there is need to handle special
case for TSO case.

This patch also add tx_copy field in "ethtool --statistics" to help
better debug the performance issue caused by calling skb_copy.

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>
2019-05-07 10:37:13 -07:00
..
hns3pf net: hns3: add support for FEC encoding control 2019-05-04 00:02:41 -04:00
hns3vf net: hns3: add support for multiple media type 2019-05-04 00:02:40 -04:00
hclge_mbx.h net: hns3: use a reserved byte to identify need_resp flag 2019-04-26 12:13:28 -04:00
hnae3.c net: hns3: split function hnae3_match_n_instantiate() 2019-04-04 10:20:39 -07:00
hnae3.h net: hns3: add support for FEC encoding control 2019-05-04 00:02:41 -04:00
hns3_dcbnl.c net: hns3: use HNS3_NIC_STATE_RESETTING to indicate resetting 2018-11-07 11:42:17 -08:00
hns3_debugfs.c net: hns3: add function type check for debugfs help information 2019-04-19 18:43:16 -07:00
hns3_enet.c net: hns3: unify maybe_stop_tx for TSO and non-TSO case 2019-05-07 10:37:13 -07:00
hns3_enet.h net: hns3: unify maybe_stop_tx for TSO and non-TSO case 2019-05-07 10:37:13 -07:00
hns3_ethtool.c net: hns3: unify maybe_stop_tx for TSO and non-TSO case 2019-05-07 10:37:13 -07:00
Makefile net: hns3: Add debugfs framework registration 2018-11-23 17:28:59 -08:00