vxlan:offload RX flow 53/12553/16
authoreyal bari <royalbee@gmail.com>
Tue, 17 Apr 2018 08:20:27 +0000 (11:20 +0300)
committerJohn Lo <loj@cisco.com>
Wed, 13 Jun 2018 02:52:10 +0000 (02:52 +0000)
commitaf86a48733c548931f8983984328b906f7e7aef8
treef3f612fe25f6ad14c2085c674955352187cb5ac8
parent02ff5f7ce08a13477ffaae5c413a0de6aac68afd
vxlan:offload RX flow

ip4 vxlan cli/api (using flow infra) to create flows and enable them on
different hardware (currently tested with i40e)

to offload a vxlan tunnel onto hw:
set flow-offload vxlan hw TwentyFiveGigabitEthernet3/0/0 rx vxlan_tunnel1

to remove offload:
set flow-offload vxlan hw TwentyFiveGigabitEthernet3/0/0 rx vxlan_tunnel1 del

TODO:ipv6 handling

Change-Id: I70e61f792ef8e3f007d03d7df70e97ea4725b101
Signed-off-by: Eyal Bari <ebari@cisco.com>
src/plugins/dpdk/device/node.c
src/vat/api_format.c
src/vnet/vxlan/decap.c
src/vnet/vxlan/vxlan.api
src/vnet/vxlan/vxlan.c
src/vnet/vxlan/vxlan.h
src/vnet/vxlan/vxlan_api.c
src/vpp/api/custom_dump.c