From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 93DFFA0561; Tue, 21 Apr 2020 08:08:22 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 3709C1D6F0; Tue, 21 Apr 2020 08:08:22 +0200 (CEST) Received: from git-send-mailer.rdmz.labs.mlnx (unknown [37.142.13.130]) by dpdk.org (Postfix) with ESMTP id 68A131D6EF for ; Tue, 21 Apr 2020 08:08:20 +0200 (CEST) From: Bing Zhao To: john.mcnamara@intel.com, marko.kovacevic@intel.com, viacheslavo@mellanox.com, orika@mellanox.com, matan@mellanox.com Cc: shahafs@mellanox.com, rasland@mellanox.com, dev@dpdk.org, thomas@monjalon.net Date: Tue, 21 Apr 2020 14:08:10 +0800 Message-Id: <1587449290-124383-1-git-send-email-bingz@mellanox.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1586789756-227464-1-git-send-email-bingz@mellanox.com> References: <1586789756-227464-1-git-send-email-bingz@mellanox.com> Subject: [dpdk-dev] [PATCH v3] doc: update flow non-cached mode notes X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" This patch updates the MLX5 PMD and release notes documentations. Adding the notes of the behavior change that rte flows organization is switched into non-cached mode for applications. Signed-off-by: Bing Zhao --- v2: update the description in release notes. v3: update the notes of rte_flow for application. --- doc/guides/nics/mlx5.rst | 13 +++++++++++++ doc/guides/rel_notes/release_20_05.rst | 2 ++ 2 files changed, 15 insertions(+) diff --git a/doc/guides/nics/mlx5.rst b/doc/guides/nics/mlx5.rst index 759d0ac..ced5e03 100644 --- a/doc/guides/nics/mlx5.rst +++ b/doc/guides/nics/mlx5.rst @@ -1300,6 +1300,19 @@ set, and we should allow to specify zero values as rte_flow parameters for the META and MARK items and actions. In the same time zero mask has no meaning and should be rejected on validation stage. +Notes for rte_flow +------------------ +Implementation of flows organization is in non-cached mode. When stopping a +device, all the flows inserted from application will be considered invalid and +flushed automatically in the background. After restarting of the device, no +application's flow exists in the system. All reference pointers to these flows +held by the application are not valid anymore and should be discarded by the +application. + +The application should recreate the flows as required after device restarting, +and must not try to destroy or flush the invalid flows after stopping (except +discarding them). + Notes for testpmd ----------------- diff --git a/doc/guides/rel_notes/release_20_05.rst b/doc/guides/rel_notes/release_20_05.rst index bacd4c6..367c5df 100644 --- a/doc/guides/rel_notes/release_20_05.rst +++ b/doc/guides/rel_notes/release_20_05.rst @@ -63,6 +63,8 @@ New Features * Added support for matching on IPv4 Time To Live and IPv6 Hop Limit. * Added support for creating Relaxed Ordering Memory Regions. * Added support for jumbo frame size (9K MTU) in Multi-Packet RQ mode. + * Flow rules caching removed from the driver for memory saving and + correctness according to RTE flow and RTE ethdev. * Optimized the memory consumption of flow. * **Updated the Intel ice driver.** -- 1.8.3.1