diff options
author | Florin Coras <fcoras@cisco.com> | 2021-10-27 15:17:47 -0700 |
---|---|---|
committer | Dave Barach <openvpp@barachs.net> | 2021-10-31 15:18:58 +0000 |
commit | 943a4b0750a2bee04788cb153ca56fa07d5005d7 (patch) | |
tree | 2e67aa82cdabf74768b3edcf4c8961964e5b3f8c /src/plugins/nat | |
parent | d9fc708ee0c8c42fa09dda5d29e9cb0f985558dc (diff) |
interface: handoff refactor and optimizations
- move existing ethernet hash functions to hash infra (no l4
awareness)
- refactor code to use hash infra and add apis to request l4 aware
hashing functions
- hashing functions per interface
- code cleanup
Type: improvement
Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: Ia9f44db98d83f0f027aeb37718585a2e10ffd2c6
Diffstat (limited to 'src/plugins/nat')
-rw-r--r-- | src/plugins/nat/nat44-ed/nat44_ed_handoff.c | 1 | ||||
-rw-r--r-- | src/plugins/nat/nat44-ei/nat44_ei_handoff.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/src/plugins/nat/nat44-ed/nat44_ed_handoff.c b/src/plugins/nat/nat44-ed/nat44_ed_handoff.c index c5ceff4e454..5cb4effb6c4 100644 --- a/src/plugins/nat/nat44-ed/nat44_ed_handoff.c +++ b/src/plugins/nat/nat44-ed/nat44_ed_handoff.c @@ -19,7 +19,6 @@ #include <vlib/vlib.h> #include <vnet/vnet.h> -#include <vnet/handoff.h> #include <vnet/fib/ip4_fib.h> #include <vppinfra/error.h> diff --git a/src/plugins/nat/nat44-ei/nat44_ei_handoff.c b/src/plugins/nat/nat44-ei/nat44_ei_handoff.c index 5c16d871c4d..f1821d7721f 100644 --- a/src/plugins/nat/nat44-ei/nat44_ei_handoff.c +++ b/src/plugins/nat/nat44-ei/nat44_ei_handoff.c @@ -15,7 +15,6 @@ #include <vlib/vlib.h> #include <vnet/vnet.h> -#include <vnet/handoff.h> #include <vnet/fib/ip4_fib.h> #include <vppinfra/error.h> |