net/ice: fix flow director programming status check
authorYahui Cao <yahui.cao@intel.com>
Mon, 18 Nov 2019 22:23:42 +0000 (06:23 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 20 Nov 2019 16:36:06 +0000 (17:36 +0100)
commitac1f6b51ad1d079f1d375234297c31961652097f
tree3015d751cfbc8d8d4933ebeee6bb9be556e7366e
parent6e0fbe16dfc029aeaf6e1250e07f8c7619c87f2b
net/ice: fix flow director programming status check

To make sure if FDIR programming succeed or fail, legacy programming
status descriptor WB format is enabled and FDIR queue irq is opened.

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_rxtx.c