summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts-by-pid.py
diff options
context:
space:
mode:
authorYunsheng Lin <linyunsheng@huawei.com>2021-03-29 06:57:51 +0300
committerDavid S. Miller <davem@davemloft.net>2021-03-29 23:21:01 +0300
commit811c0830eb4ca8811ed80fe40378f622b9844835 (patch)
treeb4a8ecda23e35dd0e655fe85a24333ea03d4b3aa /tools/perf/scripts/python/syscall-counts-by-pid.py
parentd5d5e0193ee8f88efbbc7f1471087255657bc19a (diff)
downloadlinux-811c0830eb4ca8811ed80fe40378f622b9844835.tar.xz
net: hns3: add tx send size handling for tso skb
The actual size on wire for tso skb should be (gso_segs - 1) * hdr + skb->len instead of skb->len, which can be seen by user using 'ethtool -S ethX' cmd, and 'Byte Queue Limit' also use the send size stat to do the queue limiting, so add send_bytes in the desc_cb to record the actual send size for a skb. And send_bytes is only for tx desc_cb and page_offset is only for rx desc, so reuse the same space for both of them. 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 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions