aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorPaolo Abeni <[email protected]>2021-07-28 18:24:02 +0200
committerDavid S. Miller <[email protected]>2021-07-29 12:18:12 +0100
commit9efb4b5baf6ce851b247288992b0632cb4d31c17 (patch)
treeaab2e005f5c5566917a80cae3349dceae7d26572 /tools/perf/scripts/python
parentb0999f385ac30cb17880ae1c1512491fbf0c9542 (diff)
net: optimize GRO for the common case.
After the previous patches, at GRO time, skb->slow_gro is usually 0, unless the packets comes from some H/W offload slowpath or tunnel. We can optimize the GRO code assuming !skb->slow_gro is likely. This remove multiple conditionals in the most common path, at the price of an additional one when we hit the above "slow-paths". Signed-off-by: Paolo Abeni <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions