net/ixgbe: fix mask bits register set error for FDIR
authorWei Zhao <wei.zhao1@intel.com>
Fri, 15 Jun 2018 06:08:03 +0000 (14:08 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 2 Jul 2018 23:35:58 +0000 (01:35 +0200)
commit5dadd757188e68260880924dea38c22858ac2ca9
treea74806158a54b8ea6be1325fd9beff7e345136b1
parent876b450ed99d2c96c5b71360cc84f7b0b8f506f4
net/ixgbe: fix mask bits register set error for FDIR

MAC address bits in mask registers should be set to zero
when the is mac mask is 0xFF, otherwise if it is 0x0
these bits should be to 0x3F.

Fixes: 82fb702077f6 ("ixgbe: support new flow director modes for X550")
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_fdir.c