net/i40e: fix flow director Rx resource defect
authorBeilei Xing <beilei.xing@intel.com>
Fri, 19 Jan 2018 05:23:44 +0000 (13:23 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Sun, 21 Jan 2018 14:51:52 +0000 (15:51 +0100)
commitf4c8ad4f97e24af7f6200723ca8d93702f15b1e6
tree6d2cdc5c2a15bb7a4839e69d14ae458abb33e8c9
parent56252de779a68df5f49c04a49b404fa693719d01
net/i40e: fix flow director Rx resource defect

FDIR Rx ring isn't initialized and Rx queue HW tail isn't updated
when there's error detected during programming FDIR flow. There'll
be some potential risk.
This patch updates FDIR Rx resource.

Fixes: a778a1fa2e4e ("i40e: set up and initialize flow director")
Fixes: 05999aab4ca6 ("i40e: add or delete flow director")
Cc: stable@dpdk.org
Signed-off-by: Beilei Xing <beilei.xing@intel.com>
Acked-by: Jingjing Wu <jingjing.wu@intel.com>
drivers/net/i40e/i40e_fdir.c
drivers/net/i40e/i40e_rxtx.c