net/enic: fix hardcoding of some flow director masks
authorJohn Daley <johndale@cisco.com>
Thu, 9 Feb 2017 00:40:09 +0000 (16:40 -0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 10 Feb 2017 11:25:49 +0000 (12:25 +0100)
commit9e226650fdc5657b5c94c7d59d515c789010f7b9
treed489eac73e5418a7b4c618924849fd0893b609d5
parent64c1375b837b7080387f898e2cad08972146d805
net/enic: fix hardcoding of some flow director masks

Hard coded mask values were being used for several of the IPv4 and IPv6
fields. Use the values in the rte_eth_fdir_masks structure provided by the
caller.

Fixes: dfbd6a9cb504 ("net/enic: extend flow director support for 1300 series")
Cc: stable@dpdk.org
Signed-off-by: John Daley <johndale@cisco.com>
drivers/net/enic/enic_clsf.c