net/ixgbe: fix flow director mask
authorWenzhuo Lu <wenzhuo.lu@intel.com>
Wed, 19 Oct 2016 01:22:58 +0000 (09:22 +0800)
committerBruce Richardson <bruce.richardson@intel.com>
Wed, 26 Oct 2016 17:38:18 +0000 (19:38 +0200)
commit33706189216bf346326c60eed3c351ee0f7baaa1
tree723cb8179b4b6aecde91703631b89186b025ed22
parent5ddbf77ef5092490a793d1b7e334489a5bfd20e7
net/ixgbe: fix flow director mask

In mac-vlan mode, MAC address mask is not supported by HW.
The MAC address mask should not be set in mac-vlan mode.
Instead, only set it in tunnel mode.

Fixes: 82fb702077f6 ("ixgbe: support new flow director modes for X550")

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