net/enic: enable GENEVE offload via VNIC configuration
authorJohn Daley <johndale@cisco.com>
Tue, 11 May 2021 19:25:26 +0000 (12:25 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 11 May 2021 21:52:26 +0000 (23:52 +0200)
commit61c7b522d9062242d648d09b61d5137740bc2ebb
tree6904e74049c7b675caa073a3103cd45538ec2380
parent8eff201b0021a5821cd71149a43805501f9373c1
net/enic: enable GENEVE offload via VNIC configuration

The admin-configured vNIC settings (i.e. via CIMC or UCSM) now include
Geneve offload. Use that setting to decide whether to enable or
disable Geneve offload and remove the devarg 'geneve-opt'.

Also, the firmware now allows the driver to change the Geneve port
number. So extend udp_tunnel_port_{add,del} to accept Geneve port, in
addition to VXLAN.

Fixes: 93fb21fdbe23 ("net/enic: enable overlay offload for VXLAN and GENEVE")
Cc: stable@dpdk.org
Signed-off-by: John Daley <johndale@cisco.com>
Reviewed-by: Hyong Youb Kim <hyonkim@cisco.com>
doc/guides/nics/enic.rst
doc/guides/rel_notes/release_20_05.rst
drivers/net/enic/base/vnic_dev.c
drivers/net/enic/base/vnic_enet.h
drivers/net/enic/enic.h
drivers/net/enic/enic_ethdev.c
drivers/net/enic/enic_main.c
drivers/net/enic/enic_res.c