snat: thread safe (VPP-443)
authorMatus Fabian <[email protected]>
Wed, 19 Oct 2016 13:17:52 +0000 (06:17 -0700)
committerDamjan Marion <[email protected]>
Mon, 28 Nov 2016 11:35:22 +0000 (11:35 +0000)
commit475f055305cf904b1c1c0436654f2f3e1c4f3358
tree0f6a205f837377289eb369caf1f083fa5610d6f2
parenta10f62b11e7a710fde628ae75fe5791e54caba0a
snat: thread safe (VPP-443)

All traffic corresponding to a specific SANT user is handled by a CPU core.
in2out: Non-translated packets worker lookup by src address and VRF hash in
snat-in2out-worker-handoff node.
out2in: Translated packets worker lookup by dst address and port number hash in
snat-out2in-worker-handoff node.

Change-Id: Ia092a605689539469841d382588f3f486a29a769
Signed-off-by: Matus Fabian <[email protected]>
plugins/snat-plugin/snat/in2out.c
plugins/snat-plugin/snat/out2in.c
plugins/snat-plugin/snat/snat.api
plugins/snat-plugin/snat/snat.c
plugins/snat-plugin/snat/snat.h
plugins/snat-plugin/snat/snat_test.c
vnet/etc/scripts/snat [new file with mode: 0644]