diff options
author | Yunsheng Lin <linyunsheng@huawei.com> | 2019-05-06 05:48:41 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-05-07 20:37:13 +0300 |
commit | 3d5f3741895291d3317e33718d96eb78294c8941 (patch) | |
tree | 55453d33440ad4897b1b9a43ad76bd3d99363c5f /crypto | |
parent | 09934b0363d19097e02292901bb93521a80ee792 (diff) | |
download | linux-3d5f3741895291d3317e33718d96eb78294c8941.tar.xz |
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>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions