]> git.karo-electronics.de Git - linux-beck.git/commit
benet: Replace ndo_add/del_vxlan_port with ndo_add/del_udp_enc_port
authorAlexander Duyck <aduyck@mirantis.com>
Thu, 16 Jun 2016 19:21:43 +0000 (12:21 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 18 Jun 2016 03:23:30 +0000 (20:23 -0700)
commitbde6b7cdaed82040ba81d180e8c096c6af3515a9
treedf7c4cfb164514481c2c4587437db02d9bda458e
parent7cdd5fc376a51cdf191895c23badd699eddbc901
benet: Replace ndo_add/del_vxlan_port with ndo_add/del_udp_enc_port

This change replaces the network device operations for adding or removing a
VXLAN port with operations that are more generically defined to be used for
any UDP offload port but provide a type.  As such by just adding a line to
verify that the offload type if VXLAN we can maintain the same
functionality.

I have also gone though and removed the BE2NET_VXLAN config option since it
no longer relies on the VXLAN code anyway.

Signed-off-by: Alexander Duyck <aduyck@mirantis.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/emulex/benet/Kconfig
drivers/net/ethernet/emulex/benet/be_main.c