summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorEugenia Emantayev <eugenia@mellanox.com>2017-03-22 12:44:14 +0300
committerSaeed Mahameed <saeedm@mellanox.com>2017-04-22 21:52:37 +0300
commitcbad8cddb6ed7ef3a5f0a9a70f1711d4d7fb9a8f (patch)
tree21cf9205110819ee4fd38bda9d13245b711373ae /tools/perf/scripts/python/stackcollapse.py
parent5ae85b0edaa597b063ee9d8f48b830519a6e0c0f (diff)
downloadlinux-cbad8cddb6ed7ef3a5f0a9a70f1711d4d7fb9a8f.tar.xz
net/mlx5e: Fix small packet threshold
RX packet headers are meant to be contained in SKB linear part, and chose a threshold of 128. It turns out this is not enough, i.e. for IPv6 packet over VxLAN. In this case, UDP/IPv4 needs 42 bytes, GENEVE header is 8 bytes, and 86 bytes for TCP/IPv6. In total 136 bytes that is more than current 128 bytes. In this case expand header flow is reached. The warning in skb_try_coalesce() caused by a wrong truesize was already fixed here: commit 158f323b9868 ("net: adjust skb->truesize in pskb_expand_head()"). Still, we prefer to totally avoid the expand header flow for performance reasons. Tested regular TCP_STREAM with iperf for 1 and 8 streams, no degradation was found. Fixes: 461017cb006a ("net/mlx5e: Support RX multi-packet WQE (Striding RQ)") Signed-off-by: Eugenia Emantayev <eugenia@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions