net/i40e: fix flow director flex configuration
authorChenxu Di <chenxux.di@intel.com>
Tue, 10 Nov 2020 07:08:14 +0000 (07:08 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 13 Nov 2020 18:43:26 +0000 (19:43 +0100)
commitfe5d0e85b713013cb32f9b506cee7caf2c5ab627
tree9c98ad7099b4e66851a40132c0f16fd19e5a41d0
parent333e1bde9db6b6e111c5a4863208bb15f60f5266
net/i40e: fix flow director flex configuration

The configuration of FDIR flex mask and flex pit should not be set
during flow validate. It should be set when flow create.

Fixes: 6ced3dd72f5f ("net/i40e: support flexible payload parsing for FDIR")
Cc: stable@dpdk.org
Signed-off-by: Chenxu Di <chenxux.di@intel.com>
Tested-by: Jun W Zhou <junx.w.zhou@intel.com>
Acked-by: Jeff Guo <jia.guo@intel.com>
drivers/net/i40e/i40e_ethdev.h
drivers/net/i40e/i40e_fdir.c
drivers/net/i40e/i40e_flow.c