diff options
| author | Tom Herbert <[email protected]> | 2016-06-07 16:09:44 -0700 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2016-06-08 00:40:34 -0700 |
| commit | 707a2ca4870fcf6b5480cdfad563b940f56f0844 (patch) | |
| tree | 1f3246877173faadbb4589af7995d2224acab189 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | e00431bc93bb48c650273be4a00007b2a392d32a (diff) | |
ila: Perform only one translation in forwarding path
When setting up ILA in a router we noticed that the the encapsulation
is invoked twice: once in the route input path and again upon route
output. To resolve this we add a flag set_csum_neutral for the
ila_update_ipv6_locator. If this flag is set and the checksum
neutral bit is also set we assume that checksum-neutral translation
has already been performed and take no further action. The
flag is set only in ila_output path. The flag is not set for ila_input and
ila_xlat.
Tested:
Used 3 netns to set to emulate a router and two hosts. The router
translates SIR addresses between the two destinations in other two netns.
Verified ping and netperf are functional.
Signed-off-by: Tom Herbert <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions