[dpdk-dev] [PATCH v4 06/20] net/bnxt: enable wildcard match for ingress flows

Ferruh Yigit ferruh.yigit at intel.com
Wed Nov 3 14:24:41 CET 2021


On 11/3/2021 12:52 AM, Ajit Khaparde wrote:
> From: Kishore Padmanabha <kishore.padmanabha at broadcom.com>
> 
> Enabled wildcard match support for ipv4 ingress flows.
> 
> Signed-off-by: Kishore Padmanabha <kishore.padmanabha at broadcom.com>
> Signed-off-by: Venkat Duvvuru <venkatkumar.duvvuru at broadcom.com>
> Reviewed-by: Michael Baucom <michael.baucom at broadcom.com>
> Reviewed-by: Randy Schacher <stuart.schacher at broadcom.com>
> Acked-by: Ajit Khaparde <ajit.khaparde at broadcom.com>
> ---
>   .../generic_templates/ulp_template_db_class.c | 1986 ++++++++---------
>   .../generic_templates/ulp_template_db_enum.h  |    4 +-
>   .../ulp_template_db_thor_class.c              |  251 +--
>   3 files changed, 1118 insertions(+), 1123 deletions(-)
> 
> diff --git a/drivers/net/bnxt/tf_ulp/generic_templates/ulp_template_db_class.c b/drivers/net/bnxt/tf_ulp/generic_templates/ulp_template_db_class.c
> index ad3866243d..1d1e6463e0 100644
> --- a/drivers/net/bnxt/tf_ulp/generic_templates/ulp_template_db_class.c
> +++ b/drivers/net/bnxt/tf_ulp/generic_templates/ulp_template_db_class.c
> @@ -3,7 +3,7 @@
>    * All rights reserved.
>    */
>   
> -/* date: Fri Aug  6 11:15:47 2021 */
> +/* date: Thu Sep 16 13:12:05 2021 */
>   
>   #include "ulp_template_db_enum.h"
>   #include "ulp_template_db_field.h"
> @@ -1016,7 +1016,7 @@ struct bnxt_ulp_class_match_info ulp_class_match_list[] = {
>   	.class_hid = BNXT_ULP_CLASS_HID_55dd,
>   	.class_tid = 1,
>   	.hdr_sig_id = 0,
> -	.flow_sig_id = 4096,
> +	.flow_sig_id = 4096UL,

Is these changes related?

The 90+% of the patch is adding 'UL' to 'flow_sig_id' &
'.cond_start_idx' values changed, not sure how much they
are related to the IPv4. Should they moved to separate patch?


More information about the dev mailing list