interface: handoff refactor and optimizations 69/34269/7
authorFlorin Coras <fcoras@cisco.com>
Wed, 27 Oct 2021 22:17:47 +0000 (15:17 -0700)
committerDave Barach <openvpp@barachs.net>
Sun, 31 Oct 2021 15:18:58 +0000 (15:18 +0000)
commit943a4b0750a2bee04788cb153ca56fa07d5005d7
tree2e67aa82cdabf74768b3edcf4c8961964e5b3f8c
parentd9fc708ee0c8c42fa09dda5d29e9cb0f985558dc
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
src/plugins/dpdk/device/node.c
src/plugins/nat/nat44-ed/nat44_ed_handoff.c
src/plugins/nat/nat44-ei/nat44_ei_handoff.c
src/vnet/CMakeLists.txt
src/vnet/handoff.c
src/vnet/hash/crc32_handoff_eth.c [moved from src/vnet/handoff.h with 68% similarity]