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 5DEC8A04B8; Tue, 5 May 2020 11:39:22 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 41D951BEA6; Tue, 5 May 2020 11:39:22 +0200 (CEST) Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2048.outbound.protection.outlook.com [40.107.20.48]) by dpdk.org (Postfix) with ESMTP id C133F1BDAE for ; Tue, 5 May 2020 11:39:21 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NpTJloe5vuMP6gyM881JTPv7cx1kNTX6E003Ydcg++i6rRbKRtQb++RZKHsNRHwU5GTTTeQlgoSVncRgEZCrkQc4Y7RCPc2DRR8m3p+joDiL8a3seYVznQ0QY6qZILkdf7GPdvJdCZLa4c0DJiO+Z6lSdoIBLcjXzsJG7iwPEJkHomPR8vKSP6koLRpOuHfg5y8C2H9cWt2/LzPNJpT1hGnRjTiU6FB1oMsKUfUmY1+ZAU9bs5mzbxJh4YPMX/KT6t7XaRTktN3+R/r75rSqfBbPw0FVTAJupn/iLKJL26sZVHQCkVh1TQMeOIzGhhppYVYr6A8KguWrZIGIGe0HPA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=fnV9eFtgZwcYFzubI+uSn87JDobvP2t8XbtbsXh6Llg=; b=fiWOld1dMhXIAy8U83E8kOvv+xyuABsf9SDEXWq5x47cTAtAcitL/x5vy2xkfRCfAtXmU9wQzDZm0PbKWG70Z+KtfVCPp5PX+fmcFjSYGkC8YCPIQc1KRAr6xtmhMUG1M/iVkmRmbNcxxvaMGLfIJPiSg0rsm7kWzCGF6ZiZZ0bz7rf7KpUjNtaKMNldfylsgrlq7L9ENDbEWthJ5HKusZk+nXmWbco5ucJm5SE40Sny/v1tsHCTy1vTufto8VTWs34j5Z7nwMvVPgmUCe2lkZVEC24kjIf8RJrRwZX0TMpoBB6ack78wBBu9EK1d1fn8F5QvUlsmkzvFzLCSeTVqg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=mellanox.com; dmarc=pass action=none header.from=mellanox.com; dkim=pass header.d=mellanox.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=fnV9eFtgZwcYFzubI+uSn87JDobvP2t8XbtbsXh6Llg=; b=bBTIJANIg0iczmGmsNjAmD/KnLLTVcG4dFSUchKmi99+qeDEp6VTeNS4/WKXRu1Nf/1XQho7aq/ys+qGedoDSlzzL2uHscEwec6+jrc9loJf+L4FbLV6vMNq6MtaAjYr4dLJvT4C3X+BlAIUNKkRNdtWFkU0r8f+vRaYUun2tXE= Received: from AM0PR05MB6707.eurprd05.prod.outlook.com (2603:10a6:20b:15b::17) by AM0PR05MB5122.eurprd05.prod.outlook.com (2603:10a6:208:ee::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2958.20; Tue, 5 May 2020 09:39:20 +0000 Received: from AM0PR05MB6707.eurprd05.prod.outlook.com ([fe80::508:747b:cc12:5f6e]) by AM0PR05MB6707.eurprd05.prod.outlook.com ([fe80::508:747b:cc12:5f6e%5]) with mapi id 15.20.2958.030; Tue, 5 May 2020 09:39:20 +0000 From: Raslan Darawsheh To: Bing Zhao , "john.mcnamara@intel.com" , "marko.kovacevic@intel.com" , Slava Ovsiienko , Ori Kam , Matan Azrad CC: Shahaf Shuler , "dev@dpdk.org" , Thomas Monjalon Thread-Topic: [PATCH v5] doc: update flow non-cached mode notes Thread-Index: AQHWGLqKX42A3ArvVU6AKxfe9UI5H6iZUHkg Date: Tue, 5 May 2020 09:39:20 +0000 Message-ID: References: <1587547392-380151-1-git-send-email-bingz@mellanox.com> <1587569235-444742-1-git-send-email-bingz@mellanox.com> In-Reply-To: <1587569235-444742-1-git-send-email-bingz@mellanox.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: mellanox.com; dkim=none (message not signed) header.d=none;mellanox.com; dmarc=none action=none header.from=mellanox.com; x-originating-ip: [188.161.229.217] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 58b29b0e-4945-4838-afb5-08d7f0d8303c x-ms-traffictypediagnostic: AM0PR05MB5122:|AM0PR05MB5122: x-ld-processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:9508; x-forefront-prvs: 0394259C80 x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: SV/Tff+U4bspjkPbo/gt2b/7lZptJUFdei/dn3IYkzES7UQgxQbf0e+lduNBAeTlMvAN9qHubaMeSONSYqx2Jya6VrYg9VC2DuE01PKVL+xHsaHSw95a1zDP+Xkp14evyCau7jAgr+mRc06o9pJIx2bGU1OOJIwPAZicLM8XDxr8ylSLKAmYWs97LJ7JqhcOOCS71bGvR8oY7qdXHyZCf/sT0zpmDrNEH9VhfT1S59KC+sVdhc2bss8veUTAUzpS/d249g7j/Jvg7D9LZr/+XXDoxShafBoNcpKJgQMLCkL41gW6ZdrdTsk2shzLYUrFmAAN3nAMT7Xx7hisftvQCCTdPA29Tz+oNbflvoP/Ail7p/npPQCibs2RQhJ/IxaZca07SsZR1kornQCrrTN4ugi5qgvwYHzOYNY1MduUuzN6qGCw9DMdHW0+evqz6s2PmS4VAkLtGb0QgIgRmKEW75Uw7pwFP0SH0HmqPjNntPJZvNoQUxH/MDJLxmaccDx1qf3/OCs00ldlwbv39eh0SA== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM0PR05MB6707.eurprd05.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(376002)(396003)(366004)(39860400002)(136003)(346002)(33430700001)(186003)(2906002)(86362001)(478600001)(6506007)(5660300002)(53546011)(55016002)(26005)(8676002)(8936002)(33656002)(15650500001)(7696005)(64756008)(66476007)(66946007)(316002)(66556008)(66446008)(4326008)(52536014)(54906003)(71200400001)(110136005)(9686003)(33440700001)(76116006)(6636002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: hoi/DZJbC3+KJ7UyzETmZhGv1OLjh1glgIBIQZE930CSdSKPAPiZlgHPb+Vi1mBHS3mQqPXWhgbHzfTuZAs48A6/pmvWFexgvxkhOZr8KN3CRZP8kBqgmfjgS8yOi9Jg2iydU+RbJZ/NstlHG3OK+hg/chmzZ5j8Ig37LYAHRHCgxJTHB+isFRYJo57qJTJNOQadrUoISeJMq0E6n4v6ou2rlnbW3RNm6po38kIJZnGvFna+z38xyScUcobi8vhXfmtV28QVfuyRXnBhgCg6btKG6ICcMyW0zNqHSdIeF4vmY8g9nCh1XiXbgWd750+wT0X35/qwsrw0neJTMMhwZs2oaIh6b1HnWMfcvLzD1UBnDhLL5zJI/7Hs3cG3FZ3a3Q2yqsnOOye3l+z9ysTC/N4hvx16OvQ4ljDcEUGHmJiHROUtRccBPf4V+woQPJwk2VkSgumyznynuvGnY452CXnomdpmc8d8n3bVTjq6RxU4DH06HiScKKWR3Q39bhnPPGe/EdWq9sju7rBibyFX+9ZW7OhJLpsCCDWHy7hNB7/zaQ0d4n1IQlaCYLPUeSpU15vWxBvnfKueZs96ggFMsVL/Hx0uqVttKW2LVVluYZ6gmFeaF1WomYDLqbwaaz1K96uRTsjrGdTF3337N4jBObxuimvHLl86Vqmx37QRBABmCBR2mx832JNweDJ8QfVxbyWcXq3aBS86KCAkq0Lh686D1EZx8SY7jwb+g1I8B9PqntolgJ0bOSvVKv1ET3ybPMpxS4SlTKAh8ivgvMxNPZr4CknQtqGaUJ4hYiFJXngcDjoylgsSCC3AaTJTCI3E Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: 58b29b0e-4945-4838-afb5-08d7f0d8303c X-MS-Exchange-CrossTenant-originalarrivaltime: 05 May 2020 09:39:20.8443 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: xYLNEwySPFMGJIxF3EE1jFqDkRWrpJfl73+S1F+R0V0Y+LEgF5EE1PM4GXJ+eNPFnvAbUIT5ZWCEtYAbOusbOQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR05MB5122 Subject: Re: [dpdk-dev] [PATCH v5] 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" Hi, > -----Original Message----- > From: Bing Zhao > Sent: Wednesday, April 22, 2020 6:27 PM > To: john.mcnamara@intel.com; marko.kovacevic@intel.com; Slava Ovsiienko > ; Ori Kam ; Matan > Azrad > Cc: Shahaf Shuler ; Raslan Darawsheh > ; dev@dpdk.org; Thomas Monjalon > > Subject: [PATCH v5] doc: update flow non-cached mode notes >=20 > 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. >=20 > Signed-off-by: Bing Zhao > Acked-by: Ori Kam > --- > v2: update the description in release notes. > v3: update the notes of rte_flow for application. > v4: update the descriptions. > v5: update the format of lines splitting. > --- > doc/guides/nics/mlx5.rst | 14 ++++++++++++++ > doc/guides/rel_notes/release_20_05.rst | 1 + > 2 files changed, 15 insertions(+) >=20 > diff --git a/doc/guides/nics/mlx5.rst b/doc/guides/nics/mlx5.rst > index 759d0ac..fd5b697 100644 > --- a/doc/guides/nics/mlx5.rst > +++ b/doc/guides/nics/mlx5.rst > @@ -1290,6 +1290,7 @@ Supported hardware offloads >=20 > Notes for metadata > ------------------ > + > MARK and META items are interrelated with datapath - they might move > from/to > the applications in mbuf fields. Hence, zero value for these items has t= he > special meaning - it means "no metadata are provided", not zero values a= re > @@ -1300,6 +1301,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. >=20 > +Notes for rte_flow > +------------------ > + > +Flows are not cached in the driver. > +When stopping a device port, all the flows created on this port from the > +application will be flushed automatically in the background. > +After stopping the device port, all flows on this port become invalid an= d > +not represented in the system. > +All references to these flows held by the application should be discarde= d > +directly but neither destroyed nor flushed. > + > +The application should re-create the flows as required after the port re= start. > + > Notes for testpmd > ----------------- >=20 > diff --git a/doc/guides/rel_notes/release_20_05.rst > b/doc/guides/rel_notes/release_20_05.rst > index 8c71dc1..e91fe14 100644 > --- a/doc/guides/rel_notes/release_20_05.rst > +++ b/doc/guides/rel_notes/release_20_05.rst > @@ -79,6 +79,7 @@ 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. > + * Removed flow rules caching for memory saving and compliance with > ethdev API. > * Optimized the memory consumption of flow. >=20 > * **Updated the Intel ice driver.** > -- > 1.8.3.1 Patch rebased and applied to next-net-mlx, Kindest regards, Raslan Darawsheh