net/ice: fix flow director rule after device stop
authorYahui Cao <yahui.cao@intel.com>
Mon, 18 Nov 2019 22:23:43 +0000 (06:23 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 20 Nov 2019 16:36:06 +0000 (17:36 +0100)
commitc8a9eacb210f21be592c7e7b6c37afdd32d40dfc
treee903862bd5071251ea55a857b6fa21a8e7ba1671
parentac1f6b51ad1d079f1d375234297c31961652097f
net/ice: fix flow director rule after device stop

By moving irq enable/disable from device start/stop to FDIR
setup/teardown, FDIR queue irq config is independent of LAN queue irq
config. So device stop will not cause FDIR rule failure.

Fixes: 84dc7a95a2d3 ("net/ice: enable flow director engine")

Signed-off-by: Yahui Cao <yahui.cao@intel.com>
Signed-off-by: Beilei Xing <beilei.xing@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
Tested-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/ice/ice_ethdev.c
drivers/net/ice/ice_ethdev.h
drivers/net/ice/ice_fdir_filter.c