doc: document a limitation for a meter with RSS action
PATCH 1/1 doc: document a limitation for a meter with RSS action
A meter policy with RSS/Queue action is not supported when dv_xmeta_en != 0.
--- doc/guides/nics/mlx5.rst | 1 + 1 file changed, 1 insertion(+)
doc/guides/nics/mlx5.rst +1 -0
@@ -435,6 +435,7 @@ Limitations - yellow: QUEUE, RSS, PORT_ID, REPRESENTED_PORT, JUMP, DROP, MARK and SET_TAG. - RED: must be DROP. - Policy actions of RSS for green and yellow should have the same configuration except queues. + - Policy with RSS/queue action is not supported when dv_xmeta_en != 0. - meter profile packet mode is supported. - meter profiles of RFC2697, RFC2698 and RFC4115 are supported.
Signature · 1 line
2.27.0
26/10/2021 04:08, Li Zhang:
Quoted 2 lines
A meter policy with RSS/Queue action is not supported when
dv_xmeta_en!= 0.
You could say why. HW limitation? driver design?
Quoted 2 lines
- Policy actions of RSS for green and yellow should have the same configuration except queues.
+ - Policy with RSS/queue action is not supported whendv_xmeta_en!= 0.
dv_xmeta_en should be enclosed with ticks: ``dv_xmeta_en`` != 0 should be said in english: "is not zero" or "is enabled".
Thanks Thomas,
I will update it in the new patch.
Regards,
Li Zhang
-----Original Message-----
From: Thomas Monjalon <[email protected]>
Sent: Tuesday, October 26, 2021 4:43 PM
To: Li Zhang <[email protected]>
Cc: Ori Kam <[email protected]>; Slava Ovsiienko <[email protected]>; Matan Azrad <[email protected]>; Shahaf Shuler <[email protected]>; Shun Hao <[email protected]>; [email protected]; Raslan Darawsheh <[email protected]>; Roni Bar Yanai <[email protected]>
Subject: Re: [PATCH] doc: document a limitation for a meter with RSS action
External email: Use caution opening links or attachments
26/10/2021 04:08, Li Zhang:
Quoted 2 lines
A meter policy with RSS/Queue action is not supported when
dv_xmeta_en!= 0.
You could say why. HW limitation? driver design?
Quoted 2 lines
- Policy actions of RSS for green and yellow should have the same configuration except queues.
+ - Policy with RSS/queue action is not supported whendv_xmeta_en!= 0.
dv_xmeta_en should be enclosed with ticks: ``dv_xmeta_en`` != 0 should be said in english: "is not zero" or "is enabled".
PATCH 1/1 doc: document a limitation for a meter with RSS action
In reply to Li ZhangA meter policy with RSS/Queue action is not supported when dv_xmeta_en is not zero.
--- doc/guides/nics/mlx5.rst | 1 + 1 file changed, 1 insertion(+)
doc/guides/nics/mlx5.rst +1 -0
@@ -435,6 +435,7 @@ Limitations - yellow: QUEUE, RSS, PORT_ID, REPRESENTED_PORT, JUMP, DROP, MARK and SET_TAG. - RED: must be DROP. - Policy actions of RSS for green and yellow should have the same configuration except queues. + - Policy with RSS/queue action is not supported when dv_xmeta_en != 0. - meter profile packet mode is supported. - meter profiles of RFC2697, RFC2698 and RFC4115 are supported.
Signature · 1 line
2.27.0
PATCH v2 1/1 doc: document a limitation for a meter with RSS action
In reply to Li ZhangA meter policy with RSS/Queue action is not supported when dv_xmeta_en is not zero.
--- doc/guides/nics/mlx5.rst | 1 + 1 file changed, 1 insertion(+)
doc/guides/nics/mlx5.rst +1 -0
@@ -435,6 +435,7 @@ Limitations - yellow: QUEUE, RSS, PORT_ID, REPRESENTED_PORT, JUMP, DROP, MARK and SET_TAG. - RED: must be DROP. - Policy actions of RSS for green and yellow should have the same configuration except queues. + - Policy with RSS/queue action is not supported when dv_xmeta_en != 0. - meter profile packet mode is supported. - meter profiles of RFC2697, RFC2698 and RFC4115 are supported.
Signature · 1 line
2.27.0
PATCH v3 1/1 doc: document a limitation for a meter with RSS action
In reply to Li ZhangA meter policy with RSS/Queue action is not supported when dv_xmeta_en is not zero.
--- doc/guides/nics/mlx5.rst | 1 + 1 file changed, 1 insertion(+)
doc/guides/nics/mlx5.rst +1 -0
@@ -435,6 +435,7 @@ Limitations - yellow: QUEUE, RSS, PORT_ID, REPRESENTED_PORT, JUMP, DROP, MARK and SET_TAG. - RED: must be DROP. - Policy actions of RSS for green and yellow should have the same configuration except queues. + - Policy with RSS/queue action is not supported when dv_xmeta_en is not zero. - meter profile packet mode is supported. - meter profiles of RFC2697, RFC2698 and RFC4115 are supported.
Signature · 1 line
2.27.0
26/10/2021 11:31, Li Zhang:
Quoted 2 lines
A meter policy with RSS/Queue action is not supported when
dv_xmeta_enis not zero.
It is still not explaining why.
doc/guides/nics/mlx5.rst Limitations · line 438
Quoted 11 lines
Fixes 51ec04d ("net/mlx5: connect meter policy to created flows")Signed-off-by Li Zhang <[email protected]>Acked-by Matan Azrad <[email protected]>---
doc/guides/nics/mlx5.rst +1
-0- Policy actions of RSS for green and yellow should have the same configuration except queues. + - Policy with RSS/queue action is not supported when dv_xmeta_en is not zero.
It is still not enclosed like this: ``dv_xmeta_en``
Don't you think "enabled" is better than "not zero"?
Thanks Thomas.
Will update the following commit-log in patch v4
A meter policy with RSS/Queue action is not supported when dv_xmeta_en enabled.
When dv_xmeta_en enabled in legacy creating flow,
it will split into two flows (one set_tag with jump flow and one RSS/queue action flow). For meter policy as termination table, it cannot split flow and cannot support dv_xmeta_en enabled.
Regards,
Li Zhang
-----Original Message-----
From: Thomas Monjalon <[email protected]>
Sent: Tuesday, October 26, 2021 5:51 PM
To: Li Zhang <[email protected]>
Cc: Ori Kam <[email protected]>; Slava Ovsiienko <[email protected]>; Matan Azrad <[email protected]>; Shahaf Shuler <[email protected]>; Shun Hao <[email protected]>; [email protected]; Raslan Darawsheh <[email protected]>; Roni Bar Yanai <[email protected]>; [email protected]
Subject: Re: [PATCH v3] doc: document a limitation for a meter with RSS action
External email: Use caution opening links or attachments
26/10/2021 11:31, Li Zhang:
Quoted 2 lines
A meter policy with RSS/Queue action is not supported when
dv_xmeta_enis not zero.
It is still not explaining why.
doc/guides/nics/mlx5.rst Limitations · line 438
Quoted 11 lines
Fixes 51ec04d ("net/mlx5: connect meter policy to created flows")Signed-off-by Li Zhang <[email protected]>Acked-by Matan Azrad <[email protected]>---
doc/guides/nics/mlx5.rst +1
-0- Policy actions of RSS for green and yellow should have the same configuration except queues. + - Policy with RSS/queue action is not supported when dv_xmeta_en is not zero.
It is still not enclosed like this: ``dv_xmeta_en``
Don't you think "enabled" is better than "not zero"?
PATCH v4 1/1 doc: document a limitation for a meter with RSS action
In reply to Li ZhangA meter policy with RSS/Queue action is not supported when dv_xmeta_en enabled.
When dv_xmeta_en enabled in legacy creating flow, it will split into two flows
(one set_tag with jump flow and one RSS/queue action flow). For meter policy as termination table,
it cannot split flow and
cannot support dv_xmeta_en enabled.
--- doc/guides/nics/mlx5.rst | 1 + 1 file changed, 1 insertion(+)
doc/guides/nics/mlx5.rst +1 -0
@@ -435,6 +435,7 @@ Limitations - yellow: QUEUE, RSS, PORT_ID, REPRESENTED_PORT, JUMP, DROP, MARK and SET_TAG. - RED: must be DROP. - Policy actions of RSS for green and yellow should have the same configuration except queues. + - Policy with RSS/queue action is not supported when dv_xmeta_en enabled. - meter profile packet mode is supported. - meter profiles of RFC2697, RFC2698 and RFC4115 are supported.
Signature · 1 line
2.27.0
26/10/2021 12:10, Li Zhang:
Quoted 9 lines
A meter policy with RSS/Queue action is not supported when
dv_xmeta_enenabled.When
dv_xmeta_enenabled in legacy creating flow, it will split into two flows
(oneset_tagwith jump flow and one RSS/queue action flow). For meter policy as termination table,
it cannot split flow and
cannot supportdv_xmeta_enenabled.
Thank you for the explanation.
Quoted 14 lines
Fixes 51ec04d ("net/mlx5: connect meter policy to created flows")Signed-off-by Li Zhang <[email protected]>Acked-by Matan Azrad <[email protected]>--- doc/guides/nics/mlx5.rst | 1 + 1 file changed, 1 insertion(+)doc/guides/nics/mlx5.rst +0
-0
doc/guides/nics/mlx5.rst Limitations · line 438
Quoted 4 lines
doc/guides/nics/mlx5.rst +1
-0@@ -435,6 +435,7 @@ Limitations - yellow: QUEUE, RSS, PORT_ID, REPRESENTED_PORT, JUMP, DROP, MARK and SET_TAG. - RED: must be DROP. - Policy actions of RSS for green and yellow should have the same configuration except queues. + - Policy with RSS/queue action is not supported when dv_xmeta_en enabled.
Did you understand my comment about the formatting? You must add quotes like that: ``dv_xmeta_en`` Look at other occurences in the doc.
Sorry, I misunderstood your comment and update it in patch v5.
Regards,
Li Zhang
-----Original Message-----
From: Thomas Monjalon <[email protected]>
Sent: Tuesday, October 26, 2021 6:16 PM
To: Li Zhang <[email protected]>
Cc: Ori Kam <[email protected]>; Slava Ovsiienko <[email protected]>; Matan Azrad <[email protected]>; Shahaf Shuler <[email protected]>; Shun Hao <[email protected]>; [email protected]; Raslan Darawsheh <[email protected]>; Roni Bar Yanai <[email protected]>; [email protected]
Subject: Re: [PATCH v4] doc: document a limitation for a meter with RSS action
External email: Use caution opening links or attachments
26/10/2021 12:10, Li Zhang:
Quoted 7 lines
A meter policy with RSS/Queue action is not supported when
dv_xmeta_enenabled.When
dv_xmeta_enenabled in legacy creating flow, it will split into two flows (oneset_tagwith jump flow and one RSS/queue action flow). For meter policy as termination table, it cannot split flow and cannot supportdv_xmeta_enenabled.
Thank you for the explanation.
Quoted 14 lines
Fixes 51ec04d ("net/mlx5: connect meter policy to created flows")Signed-off-by Li Zhang <[email protected]>Acked-by Matan Azrad <[email protected]>--- doc/guides/nics/mlx5.rst | 1 + 1 file changed, 1 insertion(+)doc/guides/nics/mlx5.rst index renamed from doc/guides/nics/mlx5.rst +0
-0
47709d93b3..2f46ed0263100644
doc/guides/nics/mlx5.rst Limitations · line 438
Quoted 4 lines
doc/guides/nics/mlx5.rst +1
-0@@ -435,6 +435,7 @@ Limitations - yellow: QUEUE, RSS, PORT_ID, REPRESENTED_PORT, JUMP, DROP, MARK and SET_TAG. - RED: must be DROP. - Policy actions of RSS for green and yellow should have the same configuration except queues. + - Policy with RSS/queue action is not supported when dv_xmeta_en enabled.
Did you understand my comment about the formatting?
You must add quotes like that: ``dv_xmeta_en`` Look at other occurences in the doc.
PATCH v5 1/1 doc: document a limitation for a meter with RSS action
In reply to Li ZhangA meter policy with RSS/Queue action is not supported when ``dv_xmeta_en`` enabled.
When ``dv_xmeta_en`` enabled in legacy creating flow, it will split into two flows
(one set_tag with jump flow and one RSS/queue action flow). For meter policy as termination table,
it cannot split flow and
cannot support when ``dv_xmeta_en`` enabled.
--- doc/guides/nics/mlx5.rst | 1 + 1 file changed, 1 insertion(+)
doc/guides/nics/mlx5.rst +1 -0
@@ -435,6 +435,7 @@ Limitations - yellow: QUEUE, RSS, PORT_ID, REPRESENTED_PORT, JUMP, DROP, MARK and SET_TAG. - RED: must be DROP. - Policy actions of RSS for green and yellow should have the same configuration except queues. + - Policy with RSS/queue action is not supported when ``dv_xmeta_en`` enabled. - meter profile packet mode is supported. - meter profiles of RFC2697, RFC2698 and RFC4115 are supported.
Signature · 1 line
2.27.0
The title should mention "mlx5 guide" as the scope.
26/10/2021 13:53, Li Zhang:
Quoted 2 lines
A meter policy with RSS/Queue action is not supported when ``dv_xmeta_en`` enabled.
The quotes are RST syntax.
Raslan, while merging, you can remove the quotes from the commit log.
Quoted 28 lines
When ``dv_xmeta_en`` enabled in legacy creating flow, it will split into two flows
(oneset_tagwith jump flow and one RSS/queue action flow). For meter policy as termination table,
it cannot split flow and
cannot support when ``dv_xmeta_en`` enabled.Fixes 51ec04d ("net/mlx5: connect meter policy to created flows")Signed-off-by Li Zhang <[email protected]>Acked-by Matan Azrad <[email protected]>--- doc/guides/nics/mlx5.rst | 1 + 1 file changed, 1 insertion(+)doc/guides/nics/mlx5.rst +1
-0@@ -435,6 +435,7 @@ Limitations - yellow: QUEUE, RSS, PORT_ID, REPRESENTED_PORT, JUMP, DROP, MARK and SET_TAG. - RED: must be DROP. - Policy actions of RSS for green and yellow should have the same configuration except queues. + - Policy with RSS/queue action is not supported when ``dv_xmeta_en`` enabled. - meter profile packet mode is supported. - meter profiles of RFC2697, RFC2698 and RFC4115 are supported.
Thanks!
I will update it into patch v6 according to your comments. Please take a look.
Regards,
Li Zhang
-----Original Message-----
From: Thomas Monjalon <[email protected]>
Sent: Tuesday, October 26, 2021 8:28 PM
To: Li Zhang <[email protected]>; Raslan Darawsheh <[email protected]>
Cc: Ori Kam <[email protected]>; Slava Ovsiienko <[email protected]>; Matan Azrad <[email protected]>; Shahaf Shuler <[email protected]>; Shun Hao <[email protected]>; [email protected]; Roni Bar Yanai <[email protected]>; [email protected]
Subject: Re: [PATCH v5] doc: document a limitation for a meter with RSS action
External email: Use caution opening links or attachments
The title should mention "mlx5 guide" as the scope.
26/10/2021 13:53, Li Zhang:
Quoted 2 lines
A meter policy with RSS/Queue action is not supported when ``dv_xmeta_en`` enabled.
The quotes are RST syntax.
Raslan, while merging, you can remove the quotes from the commit log.
Quoted 27 lines
When ``dv_xmeta_en`` enabled in legacy creating flow, it will split into two flows (one
set_tagwith jump flow and one RSS/queue action flow).
For meter policy as termination table, it cannot split flow and cannot support when ``dv_xmeta_en`` enabled.Fixes 51ec04d ("net/mlx5: connect meter policy to created flows")Signed-off-by Li Zhang <[email protected]>Acked-by Matan Azrad <[email protected]>--- doc/guides/nics/mlx5.rst | 1 + 1 file changed, 1 insertion(+)doc/guides/nics/mlx5.rst index renamed from doc/guides/nics/mlx5.rst +0
-0
47709d93b3..cd28c04c1e100644doc/guides/nics/mlx5.rst +1
-0@@ -435,6 +435,7 @@ Limitations - yellow: QUEUE, RSS, PORT_ID, REPRESENTED_PORT, JUMP, DROP, MARK and SET_TAG. - RED: must be DROP. - Policy actions of RSS for green and yellow should have the same configuration except queues. + - Policy with RSS/queue action is not supported when ``dv_xmeta_en`` enabled. - meter profile packet mode is supported. - meter profiles of RFC2697, RFC2698 and RFC4115 are supported.
PATCH v6 1/1 doc: document a limitation for a meter with RSS action
In reply to Li ZhangA meter policy with RSS/Queue action is not supported when dv_xmeta_en enabled.
When dv_xmeta_en enabled in legacy creating flow, it will split into two flows
(one set_tag with jump flow and one RSS/queue action flow). For meter policy as termination table,
it cannot split flow and
cannot support when dv_xmeta_en enabled.
Add this limitation in mlx5 guide document.
--- doc/guides/nics/mlx5.rst | 1 + 1 file changed, 1 insertion(+)
doc/guides/nics/mlx5.rst +1 -0
@@ -435,6 +435,7 @@ Limitations - yellow: QUEUE, RSS, PORT_ID, REPRESENTED_PORT, JUMP, DROP, MARK and SET_TAG. - RED: must be DROP. - Policy actions of RSS for green and yellow should have the same configuration except queues. + - Policy with RSS/queue action is not supported when ``dv_xmeta_en`` enabled. - meter profile packet mode is supported. - meter profiles of RFC2697, RFC2698 and RFC4115 are supported.
Signature · 1 line
2.27.0
PATCH v7 1/1 doc: add metering limitation in mlx5 guide
In reply to Li ZhangA meter policy with RSS/Queue action is not supported when dv_xmeta_en enabled.
When dv_xmeta_en enabled in legacy creating flow, it will split into two flows
(one set_tag with jump flow and one RSS/queue action flow). For meter policy as termination table,
it cannot split flow and
cannot support when dv_xmeta_en enabled.
--- doc/guides/nics/mlx5.rst | 1 + 1 file changed, 1 insertion(+)
doc/guides/nics/mlx5.rst +1 -0
@@ -435,6 +435,7 @@ Limitations - yellow: QUEUE, RSS, PORT_ID, REPRESENTED_PORT, JUMP, DROP, MARK and SET_TAG. - RED: must be DROP. - Policy actions of RSS for green and yellow should have the same configuration except queues. + - Policy with RSS/queue action is not supported when ``dv_xmeta_en`` enabled. - meter profile packet mode is supported. - meter profiles of RFC2697, RFC2698 and RFC4115 are supported.
Signature · 1 line
2.27.0
Re: [dpdk-dev] [PATCH v7] doc: add metering limitation in mlx5 guide
Hi,
Quoted 20 lines
-----Original Message-----
From: Li Zhang <[email protected]>
Sent: Wednesday, October 27, 2021 12:14 PM
To: Ori Kam <[email protected]>; Slava Ovsiienko <[email protected]>; Matan Azrad <[email protected]>; Shahaf Shuler <[email protected]>; Shun Hao <[email protected]>
Cc: [email protected]; NBU-Contact-Thomas Monjalon <[email protected]>; Raslan Darawsheh <[email protected]>; Roni Bar Yanai <[email protected]>; [email protected]
Subject: [PATCH v7] doc: add metering limitation in mlx5 guideA meter policy with RSS/Queue action is not supported when
dv_xmeta_enenabled.When
dv_xmeta_enenabled in legacy creating flow, it will split into two flows (oneset_tagwith jump flow and one RSS/queue action flow). For meter policy as termination table,
it cannot split flow and
cannot support whendv_xmeta_enenabled.
Quoted 5 lines
Fixes 51ec04d ("net/mlx5: connect meter policy to created flows")Signed-off-by Li Zhang <[email protected]>Acked-by Matan Azrad <[email protected]>
Patch applied to next-net-mlx,
Kindest regards,
Raslan Darawsheh