ixgbe: fix tunnelling support for X550em_a
authorWenzhuo Lu <wenzhuo.lu@intel.com>
Fri, 25 Mar 2016 06:11:02 +0000 (14:11 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Fri, 25 Mar 2016 18:03:48 +0000 (19:03 +0100)
commit214b0619fc60b0625459b3c4a0328e9f90d4c20f
tree929a6ca7f0994f587f16945e30fbd203266916fe
parentf19b504231e054f8943c99e8de41e23ddb211bf6
ixgbe: fix tunnelling support for X550em_a

l2 tunnel and e-tag are not supported on the new x550em_a NICs, due
to missing checks for that mac type in the code.
This patch adds in the necessary conditional checks to enable the features
for x550em_a.

Fixes: 22e77d4501b8 ("ixgbe: support L2 tunnel operations")

Signed-off-by: Wenzhuo Lu <wenzhuo.lu@intel.com>
drivers/net/ixgbe/ixgbe_ethdev.c