doc: document a limitation for a meter with RSS action

Message ID 20211026020811.113088-1-lizh@nvidia.com (mailing list archive)
State Superseded, archived
Delegated to: Raslan Darawsheh
Headers
Series doc: document a limitation for a meter with RSS action |

Checks

Context Check Description
ci/checkpatch success coding style OK
ci/iol-spell-check-testing warning Testing issues
ci/github-robot: build success github build: passed
ci/iol-broadcom-Functional success Functional Testing PASS
ci/iol-broadcom-Performance success Performance Testing PASS
ci/iol-x86_64-compile-testing success Testing PASS
ci/iol-x86_64-unit-testing success Testing PASS
ci/Intel-compilation success Compilation OK
ci/intel-Testing success Testing PASS
ci/iol-mellanox-Performance fail Performance Testing issues
ci/iol-intel-Performance success Performance Testing PASS
ci/iol-intel-Functional success Functional Testing PASS
ci/iol-aarch64-compile-testing success Testing PASS
ci/iol-aarch64-unit-testing success Testing PASS

Commit Message

Li Zhang Oct. 26, 2021, 2:08 a.m. UTC
  A meter policy with RSS/Queue action is not supported
when dv_xmeta_en != 0.

Fixes: 51ec04d ("net/mlx5: connect meter policy to created flows")
Cc: stable@dpdk.org

Signed-off-by: Li Zhang <lizh@nvidia.com>
Acked-by: Matan Azrad <matan@nvidia.com>
---
 doc/guides/nics/mlx5.rst | 1 +
 1 file changed, 1 insertion(+)
  

Comments

Thomas Monjalon Oct. 26, 2021, 8:43 a.m. UTC | #1
26/10/2021 04:08, Li Zhang:
> A meter policy with RSS/Queue action is not supported
> when dv_xmeta_en != 0.

You could say why. HW limitation? driver design?

>    - 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.

dv_xmeta_en should be enclosed with ticks: ``dv_xmeta_en``
!= 0 should be said in english: "is not zero" or "is enabled".
  
Li Zhang Oct. 26, 2021, 9:25 a.m. UTC | #2
Thanks Thomas,
I will update it in the new patch.

Regards,
Li Zhang

-----Original Message-----
From: Thomas Monjalon <thomas@monjalon.net> 
Sent: Tuesday, October 26, 2021 4:43 PM
To: Li Zhang <lizh@nvidia.com>
Cc: Ori Kam <orika@nvidia.com>; Slava Ovsiienko <viacheslavo@nvidia.com>; Matan Azrad <matan@nvidia.com>; Shahaf Shuler <shahafs@nvidia.com>; Shun Hao <shunh@nvidia.com>; dev@dpdk.org; Raslan Darawsheh <rasland@nvidia.com>; Roni Bar Yanai <roniba@nvidia.com>
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:
> A meter policy with RSS/Queue action is not supported when dv_xmeta_en 
> != 0.

You could say why. HW limitation? driver design?

>    - 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.

dv_xmeta_en should be enclosed with ticks: ``dv_xmeta_en`` != 0 should be said in english: "is not zero" or "is enabled".
  

Patch

diff --git a/doc/guides/nics/mlx5.rst b/doc/guides/nics/mlx5.rst
index 47709d93b3..4129fe2009 100644
--- a/doc/guides/nics/mlx5.rst
+++ b/doc/guides/nics/mlx5.rst
@@ -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.