Re: [net-next 09/15] net/mlx5e: CT: Support offload of +trk+new ct rules

2021-01-09 Thread Roi Dayan
On 2021-01-08 11:59 PM, Marcelo Ricardo Leitner wrote: Hi, On Thu, Jan 07, 2021 at 09:30:48PM -0800, Saeed Mahameed wrote: @@ -1429,6 +1600,14 @@ mlx5_tc_ct_add_ft_cb(struct mlx5_tc_ct_priv *ct_priv, u16 zone, if (err) goto err_insert; + nf_ct_zone_init(&ctzone, z

Re: [net-next 09/15] net/mlx5e: CT: Support offload of +trk+new ct rules

2021-01-08 Thread Marcelo Ricardo Leitner
Hi, On Thu, Jan 07, 2021 at 09:30:48PM -0800, Saeed Mahameed wrote: > @@ -1429,6 +1600,14 @@ mlx5_tc_ct_add_ft_cb(struct mlx5_tc_ct_priv *ct_priv, > u16 zone, > if (err) > goto err_insert; > > + nf_ct_zone_init(&ctzone, zone, NF_CT_DEFAULT_ZONE_DIR, 0); > + ft->tmpl

[net-next 09/15] net/mlx5e: CT: Support offload of +trk+new ct rules

2021-01-07 Thread Saeed Mahameed
From: Roi Dayan Add support to offload +trk+new rules for terminating flows for udp protocols using source port entropy. This kind of traffic will never be considered connect in conntrack and thus never set as established so no need to keep track of them in SW conntrack and offload this traffic b