net/i40e: fix flow director config after flow validate
authorMurphy Yang <murphyx.yang@intel.com>
Thu, 1 Apr 2021 03:23:32 +0000 (03:23 +0000)
committerQi Zhang <qi.z.zhang@intel.com>
Thu, 1 Apr 2021 11:56:34 +0000 (13:56 +0200)
commit4a072ad434426ebfb5a6120858a971b54e7d2204
tree3e890cf8e4a280645c3796a4962b55e2ec2177be
parent20077edf5f09961c7b4434bdd4d48c4353d65507
net/i40e: fix flow director config after flow validate

The configuration of FDIR input set should not be set
during flow validate. It should be set when flow create.

Fixes: fe5d0e85b713 ("net/i40e: fix flow director flex configuration")
Fixes: 15018d79f0be ("net/i40e: add FDIR support for GTP-C and GTP-U")
Cc: stable@dpdk.org
Signed-off-by: Murphy Yang <murphyx.yang@intel.com>
Acked-by: Beilei Xing <beilei.xing@intel.com>
drivers/net/i40e/i40e_ethdev.h
drivers/net/i40e/i40e_fdir.c
drivers/net/i40e/i40e_flow.c