net/enic: add handlers to add/delete vxlan port number
authorHyong Youb Kim <hyonkim@cisco.com>
Fri, 29 Jun 2018 09:29:36 +0000 (02:29 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 2 Jul 2018 23:54:17 +0000 (01:54 +0200)
commit8a4efd17410c7896c78d7204219eca8b9d4a88d4
tree0271725d431180b0efa75c3ecb6a546a5a1bf6d4
parente39c2756e21ad50d5c7e119bb82732ef49af8ef7
net/enic: add handlers to add/delete vxlan port number

The NIC has one configurable VXLAN port, which is set to the default
4789 upon vNIC reset. Adding a non-default port replaces this single
VXLAN port. Deleting the previously added non-default port restores
the VXLAN port to the hardware default.

Signed-off-by: Hyong Youb Kim <hyonkim@cisco.com>
Reviewed-by: John Daley <johndale@cisco.com>
drivers/net/enic/enic.h
drivers/net/enic/enic_ethdev.c
drivers/net/enic/enic_main.c