diff options
| author | David Lebrun <[email protected]> | 2017-03-24 10:46:27 +0100 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2017-03-24 14:47:32 -0700 |
| commit | af4a2209b1344939eaac11f269c261d347cbc3ee (patch) | |
| tree | 4e67bff13827d3aa72f90e7fb0f4dc70c16ef40d /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 19d5a26f5ef8de5dcb78799feaf404d717b1aac3 (diff) | |
ipv6: sr: use dst_cache in seg6_input
We already use dst_cache in seg6_output, when handling locally generated
packets. We extend it in seg6_input, to also handle forwarded packets, and avoid
unnecessary fib lookups.
Performances for SRH encapsulation before the patch:
Result: OK: 5656067(c5655678+d388) usec, 5000000 (1000byte,0frags)
884006pps 7072Mb/sec (7072048000bps) errors: 0
Performances after the patch:
Result: OK: 4774543(c4774084+d459) usec, 5000000 (1000byte,0frags)
1047220pps 8377Mb/sec (8377760000bps) errors: 0
Signed-off-by: David Lebrun <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions