aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorLiang Chen <[email protected]>2023-08-24 20:31:31 +0800
committerJakub Kicinski <[email protected]>2023-08-25 18:52:11 -0700
commit215eb9f962091ebaab96be2c18cf5d0f5174a4d6 (patch)
treedc415f7b9179259e12e6e044d215fb826d7d81b5 /tools/perf/scripts/python
parentbebfbf07c7db7321e26b6aae0d7078d3d1294464 (diff)
veth: Avoid NAPI scheduling on failed SKB forwarding
When an skb fails to be forwarded to the peer(e.g., skb data buffer length exceeds MTU), it will not be added to the peer's receive queue. Therefore, we should schedule the peer's NAPI poll function only when skb forwarding is successful to avoid unnecessary overhead. Signed-off-by: Liang Chen <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions