net/enic: explicitly disable overlay offload
authorHyong Youb Kim <hyonkim@cisco.com>
Wed, 26 Sep 2018 02:54:22 +0000 (19:54 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 11 Oct 2018 16:53:48 +0000 (18:53 +0200)
commit308b514b8e8f712e5df1aa40b6bbd8958dc5e6b4
tree09c019f5cd1f29ac3c0ee9a9eed08a859b518fac
parent70401fd7784db6f55cce87b91e19d364edce506a
net/enic: explicitly disable overlay offload

Reopening vNIC does not automatically disable overlay offload. If it
is previously enabled, it remains enabled even when the user restarts
DPDK and requests overlay offload to be disabled via devarg
disable-overlay=1. So explicitly disable overlay offload when
requested.

Fixes: 93fb21fdbe23 ("net/enic: enable overlay offload for VXLAN and GENEVE")
Cc: stable@dpdk.org
Signed-off-by: Hyong Youb Kim <hyonkim@cisco.com>
Reviewed-by: John Daley <johndale@cisco.com>
drivers/net/enic/enic_main.c