diff options
| author | Yunsheng Lin <[email protected]> | 2019-05-06 10:48:41 +0800 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2019-05-07 10:37:13 -0700 |
| commit | 3d5f3741895291d3317e33718d96eb78294c8941 (patch) | |
| tree | 55453d33440ad4897b1b9a43ad76bd3d99363c5f /lib/mpi/mpicoder.c | |
| parent | 09934b0363d19097e02292901bb93521a80ee792 (diff) | |
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 <[email protected]>
Signed-off-by: Huazhong Tan <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/mpi/mpicoder.c')
0 files changed, 0 insertions, 0 deletions