From 9e22b859cd108a5c7ae7c41338c13d396eb2ec84 Mon Sep 17 00:00:00 2001 From: Suanming Mou Date: Tue, 13 Jul 2021 11:45:00 +0300 Subject: [PATCH] doc: add multi-thread flow rate optimizations for mlx5 This commit adds the multiple-thread flow insertion optimization description. Signed-off-by: Suanming Mou Acked-by: Matan Azrad --- doc/guides/nics/mlx5.rst | 5 +++++ doc/guides/rel_notes/release_21_08.rst | 1 + 2 files changed, 6 insertions(+) diff --git a/doc/guides/nics/mlx5.rst b/doc/guides/nics/mlx5.rst index b8b8d97ae2..4d989686db 100644 --- a/doc/guides/nics/mlx5.rst +++ b/doc/guides/nics/mlx5.rst @@ -455,6 +455,11 @@ Limitations - 256 ports maximum. - 4M connections maximum. +- Multi-thread flow insertion: + + - In order to achieve best insertion rate, application should manage the flows per lcore. + - Better to disable memory reclaim by setting ``reclaim_mem_mode`` to 0 to accelerate the flow object allocation and release with cache. + Statistics ---------- diff --git a/doc/guides/rel_notes/release_21_08.rst b/doc/guides/rel_notes/release_21_08.rst index 8d61c0d1f0..fadaa71087 100644 --- a/doc/guides/rel_notes/release_21_08.rst +++ b/doc/guides/rel_notes/release_21_08.rst @@ -89,6 +89,7 @@ New Features * Added support for meter hierarchy. * Added devargs options ``allow_duplicate_pattern``. * Added support for matching on VXLAN header last 8-bits reserved field. + * Optimized multi-thread flow rule insertion rate. * **Added Wangxun ngbe PMD.** -- 2.20.1