net/ice: fix VSI context
authorBeilei Xing <beilei.xing@intel.com>
Sat, 14 Dec 2019 06:14:17 +0000 (14:14 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 17 Jan 2020 18:46:01 +0000 (19:46 +0100)
commita9faa2223aa84ed8a09a0ea4d5e16bd05b588059
tree7dfa1ea0bcd1feddc232165fe2ff282599ec2ae1
parent53108e95306b1e1905f8808aa878bfce499d85fd
net/ice: fix VSI context

There'll always be a MDD event triggered when adding
a FDIR rule. The root cause is 'LAN enable' is not
configured during control VSI setup.
Besides, correct FDIR fields for both main VSI and
control VSI.

Fixes: 84dc7a95a2d3 ("net/ice: enable flow director engine")
Cc: stable@dpdk.org
Signed-off-by: Beilei Xing <beilei.xing@intel.com>
Acked-by: Jingjing Wu <jingjing.wu@intel.com>
drivers/net/ice/ice_ethdev.c