net/ixgbe: fix tunnel type set error for FDIR
authorWei Zhao <wei.zhao1@intel.com>
Thu, 14 Jun 2018 08:17:28 +0000 (16:17 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 2 Jul 2018 23:35:57 +0000 (01:35 +0200)
commit876b450ed99d2c96c5b71360cc84f7b0b8f506f4
tree218f3ac68f638dcb151911224f494d8ca2d5ed66
parente7d406851909b1c3cc24ee8c61044dccf9902559
net/ixgbe: fix tunnel type set error for FDIR

Tunnel type format should be translated to ixgbe required format
before register set in FDIR cloud mode, Ans also some register
not useful in cloud mode but only useful in IP mode should be set
to zero as datasheet request.

Fixes: 82fb702077f6 ("ixgbe: support new flow director modes for X550")
Fixes: 11777435c727 ("net/ixgbe: parse flow director filter")
Cc: stable@dpdk.org
Signed-off-by: Wei Zhao <wei.zhao1@intel.com>
Acked-by: Wenzhuo Lu <wenzhuo.lu@intel.com>
drivers/net/ixgbe/ixgbe_ethdev.h
drivers/net/ixgbe/ixgbe_fdir.c
drivers/net/ixgbe/ixgbe_flow.c