net/i40e: change the timing of FDIR input set configuration
RFC 1/1 net/i40e: change the timing of FDIR input set configuration
The configuration of FDIR input set should not be set during flow validate. It should be set when flow create.
Signed-off-by Murphy Yang <[email protected]>
--- drivers/net/i40e/i40e_ethdev.h | 1 + drivers/net/i40e/i40e_fdir.c | 88 +++++++++++++++++++++++++++++++ drivers/net/i40e/i40e_flow.c | 95 +++------------------------------- 3 files changed, 96 insertions(+), 88 deletions(-)
drivers/net/i40e/i40e_ethdev.h +1 -0
@@ -631,6 +631,7 @@ struct i40e_fdir_flow_ext {uint8_t raw_id;uint8_t is_vf;/* 1 for VF, 0 for port dev */ uint16_t dst_id;/* VF ID, available when is_vf is 1*/ +uint64_t input_set;bool inner_ip;/* If there is inner ip */ enum i40e_fdir_ip_type iip_type;/* ip type for inner ip */ enum i40e_fdir_ip_type oip_type;/* ip type for outer ip */
drivers/net/i40e/i40e_fdir.c +88 -0
100 lines not on this page · raw message
drivers/net/i40e/i40e_flow.c +7 -88
108 lines not on this page · raw message
Signature · 1 line
2.17.1