net/i40e: fix unexpected skip FDIR setup
authorQi Zhang <qi.z.zhang@intel.com>
Wed, 3 Jul 2019 06:34:49 +0000 (14:34 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 8 Jul 2019 19:26:52 +0000 (21:26 +0200)
commitc3be43817cfb2cac9276cbef9f7fd2bec20cc1cb
tree6a9adfbc06012c1a710ab99fcf93a8328fbf5f8a
parent92d6c874d33dbbd3ace7c06a3490a61ff6641d61
net/i40e: fix unexpected skip FDIR setup

In i40e_flow_flush_fdir_filter, i40e_fdir_teardown is called, so
i40e_fdir_setup is required to be called before create a new fdir flow.

Bugzilla ID: 265
Fixes: 2e67a7fbf3ff ("net/i40e: config flow director automatically")
Cc: stable@dpdk.org
Signed-off-by: Qi Zhang <qi.z.zhang@intel.com>
Acked-by: Beilei Xing <beilei.xing@intel.com>
drivers/net/i40e/i40e_flow.c