diff mbox series

[SRU,F:linux-bluefield] UBUNTU: SAUCE: net/sched: Increase support of reclassification to 15

Message ID 1620396711-179487-1-git-send-email-danielj@nvidia.com
State New
Headers show
Series [SRU,F:linux-bluefield] UBUNTU: SAUCE: net/sched: Increase support of reclassification to 15 | expand

Commit Message

Daniel Jurgens May 7, 2021, 2:11 p.m. UTC
From: Roi Dayan <roid@nvidia.com>

BugLink: https://bugs.launchpad.net/bugs/1927257

To support packet reclassification of more than 4 chains
increase max_reclassify_loop from 4 to 15.

Change-Id: Ie18c37fb0255a737dc8f1b2fcf10a1163266dde6
Signed-off-by: Roi Dayan <roid@nvidia.com>
Reviewed-by: Oz Shlomo <ozsh@nvidia.com>
Signed-off-by: Daniel Jurgens <danielj@nvidia.com>
---
 net/sched/cls_api.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Tim Gardner May 7, 2021, 2:20 p.m. UTC | #1
Acked-by: Tim Gardner <tim.gardner@canonical.com>

On 5/7/21 8:11 AM, Daniel Jurgens wrote:
> From: Roi Dayan <roid@nvidia.com>
> 
> BugLink: https://bugs.launchpad.net/bugs/1927257
> 
> To support packet reclassification of more than 4 chains
> increase max_reclassify_loop from 4 to 15.
> 
> Change-Id: Ie18c37fb0255a737dc8f1b2fcf10a1163266dde6
> Signed-off-by: Roi Dayan <roid@nvidia.com>
> Reviewed-by: Oz Shlomo <ozsh@nvidia.com>
> Signed-off-by: Daniel Jurgens <danielj@nvidia.com>
> ---
>   net/sched/cls_api.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/net/sched/cls_api.c b/net/sched/cls_api.c
> index b6e0e15..9c9afc0 100644
> --- a/net/sched/cls_api.c
> +++ b/net/sched/cls_api.c
> @@ -1582,7 +1582,7 @@ static inline int __tcf_classify(struct sk_buff *skb,
>   				 u32 *last_executed_chain)
>   {
>   #ifdef CONFIG_NET_CLS_ACT
> -	const int max_reclassify_loop = 4;
> +	const int max_reclassify_loop = 15;
>   	const struct tcf_proto *first_tp;
>   	int limit = 0;
>   
>
Stefan Bader May 11, 2021, 7:51 a.m. UTC | #2
On 07.05.21 16:11, Daniel Jurgens wrote:
> From: Roi Dayan <roid@nvidia.com>
> 
> BugLink: https://bugs.launchpad.net/bugs/1927257
> 
> To support packet reclassification of more than 4 chains
> increase max_reclassify_loop from 4 to 15.
> 
> Change-Id: Ie18c37fb0255a737dc8f1b2fcf10a1163266dde6
> Signed-off-by: Roi Dayan <roid@nvidia.com>
> Reviewed-by: Oz Shlomo <ozsh@nvidia.com>
> Signed-off-by: Daniel Jurgens <danielj@nvidia.com>
Acked-by: Stefan Bader <stefan.bader@canonical.com>
> ---
>   net/sched/cls_api.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/net/sched/cls_api.c b/net/sched/cls_api.c
> index b6e0e15..9c9afc0 100644
> --- a/net/sched/cls_api.c
> +++ b/net/sched/cls_api.c
> @@ -1582,7 +1582,7 @@ static inline int __tcf_classify(struct sk_buff *skb,
>   				 u32 *last_executed_chain)
>   {
>   #ifdef CONFIG_NET_CLS_ACT
> -	const int max_reclassify_loop = 4;
> +	const int max_reclassify_loop = 15;
>   	const struct tcf_proto *first_tp;
>   	int limit = 0;
>   
>
Stefan Bader May 11, 2021, 12:45 p.m. UTC | #3
On 07.05.21 16:11, Daniel Jurgens wrote:
> From: Roi Dayan <roid@nvidia.com>
> 
> BugLink: https://bugs.launchpad.net/bugs/1927257
> 
> To support packet reclassification of more than 4 chains
> increase max_reclassify_loop from 4 to 15.
> 
> Change-Id: Ie18c37fb0255a737dc8f1b2fcf10a1163266dde6
> Signed-off-by: Roi Dayan <roid@nvidia.com>
> Reviewed-by: Oz Shlomo <ozsh@nvidia.com>
> Signed-off-by: Daniel Jurgens <danielj@nvidia.com>
> ---
>   net/sched/cls_api.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/net/sched/cls_api.c b/net/sched/cls_api.c
> index b6e0e15..9c9afc0 100644
> --- a/net/sched/cls_api.c
> +++ b/net/sched/cls_api.c
> @@ -1582,7 +1582,7 @@ static inline int __tcf_classify(struct sk_buff *skb,
>   				 u32 *last_executed_chain)
>   {
>   #ifdef CONFIG_NET_CLS_ACT
> -	const int max_reclassify_loop = 4;
> +	const int max_reclassify_loop = 15;
>   	const struct tcf_proto *first_tp;
>   	int limit = 0;
>   
> 
Applied to focal:linux-bluefield/master-next. Thanks.

-Stefan
diff mbox series

Patch

diff --git a/net/sched/cls_api.c b/net/sched/cls_api.c
index b6e0e15..9c9afc0 100644
--- a/net/sched/cls_api.c
+++ b/net/sched/cls_api.c
@@ -1582,7 +1582,7 @@  static inline int __tcf_classify(struct sk_buff *skb,
 				 u32 *last_executed_chain)
 {
 #ifdef CONFIG_NET_CLS_ACT
-	const int max_reclassify_loop = 4;
+	const int max_reclassify_loop = 15;
 	const struct tcf_proto *first_tp;
 	int limit = 0;