When pipeline mode was removed, some of the things used by pipelines were left in the code. Remove them as they are unused.
Signed-off-by: Anatoly Burakov <[email protected]> --- drivers/net/intel/iavf/iavf_fdir.c | 1 - drivers/net/intel/iavf/iavf_fsub.c | 1 - drivers/net/intel/iavf/iavf_generic_flow.h | 15 --------------- drivers/net/intel/iavf/iavf_hash.c | 1 - drivers/net/intel/iavf/iavf_ipsec_crypto.c | 1 - 5 files changed, 19 deletions(-) diff --git a/drivers/net/intel/iavf/iavf_fdir.c b/drivers/net/intel/iavf/iavf_fdir.c index 0ef6e0d04a..9eae874800 100644 --- a/drivers/net/intel/iavf/iavf_fdir.c +++ b/drivers/net/intel/iavf/iavf_fdir.c @@ -1632,7 +1632,6 @@ static struct iavf_flow_parser iavf_fdir_parser = { .array = iavf_fdir_pattern, .array_len = RTE_DIM(iavf_fdir_pattern), .parse_pattern_action = iavf_fdir_parse, - .stage = IAVF_FLOW_STAGE_DISTRIBUTOR, }; RTE_INIT(iavf_fdir_engine_register) diff --git a/drivers/net/intel/iavf/iavf_fsub.c b/drivers/net/intel/iavf/iavf_fsub.c index cf1030320f..bfb34695de 100644 --- a/drivers/net/intel/iavf/iavf_fsub.c +++ b/drivers/net/intel/iavf/iavf_fsub.c @@ -814,7 +814,6 @@ iavf_flow_parser iavf_fsub_parser = { .array = iavf_fsub_pattern_list, .array_len = RTE_DIM(iavf_fsub_pattern_list), .parse_pattern_action = iavf_fsub_parse, - .stage = IAVF_FLOW_STAGE_DISTRIBUTOR, }; RTE_INIT(iavf_fsub_engine_init) diff --git a/drivers/net/intel/iavf/iavf_generic_flow.h b/drivers/net/intel/iavf/iavf_generic_flow.h index b11bb4cf2b..b97cf8b7ff 100644 --- a/drivers/net/intel/iavf/iavf_generic_flow.h +++ b/drivers/net/intel/iavf/iavf_generic_flow.h @@ -485,20 +485,6 @@ enum iavf_flow_engine_type { IAVF_FLOW_ENGINE_MAX, }; -/** - * classification stages. - * for non-pipeline mode, we have two classification stages: Distributor/RSS - * for pipeline-mode we have three classification stages: - * Permission/Distributor/RSS - */ -enum iavf_flow_classification_stage { - IAVF_FLOW_STAGE_NONE = 0, - IAVF_FLOW_STAGE_IPSEC_CRYPTO, - IAVF_FLOW_STAGE_RSS, - IAVF_FLOW_STAGE_DISTRIBUTOR, - IAVF_FLOW_STAGE_MAX, -}; - /* Struct to store engine created. */ struct iavf_flow_engine { TAILQ_ENTRY(iavf_flow_engine) node; @@ -527,7 +513,6 @@ struct iavf_flow_parser { struct iavf_pattern_match_item *array; uint32_t array_len; parse_pattern_action_t parse_pattern_action; - enum iavf_flow_classification_stage stage; }; /* Struct to store parser created. */ diff --git a/drivers/net/intel/iavf/iavf_hash.c b/drivers/net/intel/iavf/iavf_hash.c index 1725c2b2b9..a40fed7542 100644 --- a/drivers/net/intel/iavf/iavf_hash.c +++ b/drivers/net/intel/iavf/iavf_hash.c @@ -691,7 +691,6 @@ static struct iavf_flow_parser iavf_hash_parser = { .array = iavf_hash_pattern_list, .array_len = RTE_DIM(iavf_hash_pattern_list), .parse_pattern_action = iavf_hash_parse_pattern_action, - .stage = IAVF_FLOW_STAGE_RSS, }; int diff --git a/drivers/net/intel/iavf/iavf_ipsec_crypto.c b/drivers/net/intel/iavf/iavf_ipsec_crypto.c index 6d41b1744e..66eaea8715 100644 --- a/drivers/net/intel/iavf/iavf_ipsec_crypto.c +++ b/drivers/net/intel/iavf/iavf_ipsec_crypto.c @@ -1983,7 +1983,6 @@ static struct iavf_flow_parser iavf_ipsec_flow_parser = { .array = iavf_ipsec_flow_pattern, .array_len = RTE_DIM(iavf_ipsec_flow_pattern), .parse_pattern_action = iavf_ipsec_flow_parse, - .stage = IAVF_FLOW_STAGE_IPSEC_CRYPTO, }; RTE_INIT(iavf_ipsec_flow_engine_register) -- 2.47.3

