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 9CD1FA0561; Tue, 21 Apr 2020 08:39:34 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 7D8D51D5E1; Tue, 21 Apr 2020 08:39:34 +0200 (CEST) Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-eopbgr70070.outbound.protection.outlook.com [40.107.7.70]) by dpdk.org (Postfix) with ESMTP id C4CEE1D545 for ; Tue, 21 Apr 2020 08:39:32 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=SZio8V9SRu8T7KiRHE1BUMiqSPFBJkQ9i+OPZZu40om7klXxqs43TZ8NolFHIyGgLjZqOTejmAw1ZAkKBIvlb7pxuZwXN/kAUPHeAJI8m74/1ho/eeywtDUoHU297dTrfttm7DzJJ96HJaLYI9oFCfG1fuHS4j179j1h0bwyDilB8QGOQxIm/xH8gwHb8snWDojH8llel6JaFyg/igmiUN/NrshWnq6nsOUA1JTlejFwddAtdaNdSKnWNuAIRyd+OnnLDyFea4o3q8PfNRWyZUE5BiXAv/Y4IRKIgnS+TVbR95PFdlzQcEV47Y485Q0n36Fp6kNsNJQIh649xlfUtg== 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=avhSoHE/6BJpvhlHu9OT+1TpZgGhMqySMZLkmxue2H8=; b=oHzRHXelzztolDHZ5wtaDdEo5L7FBRCTnFlnTANKbGrdJLb19/kR68yI8Oalo1uDk+QWVmnGquJTjfKWk1IuiKkhG90NjcVHuJR4ZN4CBaKCVUFbKPP52clbqXTbPC1xOJiLoS+iNJhj8I/9NWVj8qBO9C2aqOogeAGzQdmUsPGbws0aC0EgsJau/6eP8awrP9xFAQ4EpHNTa21HLzhd2kMBxVzLG76gT1EtmFYOKnN1CiJH/PwT8k0V+t0oCpI8Lj15gmzSRxt53iaTgBqgeo0XZo+zLxzPIYMDVdjIzhz8L4KwSlKaPMVil1rpnOT6IXpZJnz22ZPFXpfKPGgv8g== 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=avhSoHE/6BJpvhlHu9OT+1TpZgGhMqySMZLkmxue2H8=; b=iFsDL57XKR9e05wjW9Y3KINDtx0oQ3DsFfdE5FxmKE4/dmsgf4YhS746tMTusebnLDBOTdOCTLnSEIwE8km0XaRhNmtbcMO9nx0fuR0bKFJAsiKktXccJ3Zy7AWFyR6CgA9BrEVD3yX6GQat04ihPDGsMz8/aiboBzlaWwFubEg= Received: from AM6PR05MB5176.eurprd05.prod.outlook.com (2603:10a6:20b:63::30) by AM6PR05MB6408.eurprd05.prod.outlook.com (2603:10a6:20b:b8::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2921.26; Tue, 21 Apr 2020 06:39:31 +0000 Received: from AM6PR05MB5176.eurprd05.prod.outlook.com ([fe80::f5cd:b10f:5f1b:4b22]) by AM6PR05MB5176.eurprd05.prod.outlook.com ([fe80::f5cd:b10f:5f1b:4b22%7]) with mapi id 15.20.2921.030; Tue, 21 Apr 2020 06:39:31 +0000 From: Ori Kam To: Bing Zhao , "john.mcnamara@intel.com" , "marko.kovacevic@intel.com" , Slava Ovsiienko , Matan Azrad CC: Shahaf Shuler , Raslan Darawsheh , "dev@dpdk.org" , Thomas Monjalon Thread-Topic: [PATCH v3] doc: update flow non-cached mode notes Thread-Index: AQHWF6NEsQt/jiy9dE6Jlx8TqaEbxaiDH9kA Date: Tue, 21 Apr 2020 06:39:31 +0000 Message-ID: References: <1586789756-227464-1-git-send-email-bingz@mellanox.com> <1587449290-124383-1-git-send-email-bingz@mellanox.com> In-Reply-To: <1587449290-124383-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: spf=none (sender IP is ) smtp.mailfrom=orika@mellanox.com; x-originating-ip: [89.208.130.33] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 780b0b05-f28d-4529-75ec-08d7e5bebfa2 x-ms-traffictypediagnostic: AM6PR05MB6408:|AM6PR05MB6408: x-ld-processed: a652971c-7d2e-4d9b-a6a4-d149256f461b,ExtAddr,ExtFwd x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:3383; x-forefront-prvs: 038002787A x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM6PR05MB5176.eurprd05.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(10009020)(4636009)(136003)(376002)(396003)(39860400002)(346002)(366004)(55016002)(71200400001)(4326008)(2906002)(5660300002)(66556008)(76116006)(66946007)(7696005)(8936002)(64756008)(66446008)(66476007)(86362001)(33656002)(186003)(6506007)(6636002)(26005)(316002)(9686003)(52536014)(53546011)(478600001)(54906003)(110136005)(15650500001)(81156014)(8676002); DIR:OUT; SFP:1101; received-spf: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: K9K7QKUiu3y+tZ0veTkAkj3XznmPN7Otx2qxGh6QwWP8qw/BQcFqhcvE/vsCnsvlRAVZE47WQ5cg2mFnISyEpqNGNWcOY0PKrsC8YiNs2SwQbAMgRbOGqR698foIxO/KmVnGsg/MRvFs+x1e116fgStb+C1LaiQNfsb/DKBe+LMulXSIJqwJ+oOoOHrnMEXN5rPj7c5iyGoXm7HgBmPU/QIPesQbiHZC/ZI+kDjaU4q1kyko7ffWmUKBeqksWj6xUkF49oSrxOMQFOFx7SAf4HvdkW7LVOJ8c71/Z5r4pgSWUFo6BSgp412MEvw/oZIZNjVCtL/A+2dPVBjWIYkeIEmYciZfroY2xgbdZB/QiMRC4UG+G4Wtd7NfGqTEu9WitnKW84jNF8g1xNKMWFP0O5TQ4+SeZOs924gZd2x2MykIgHFg9DTdMguwmdl9MUzJ x-ms-exchange-antispam-messagedata: rFFCes8/3KkqWJNnrzMtE4MBI9xopIxsAMJsb0bq6znV0CqCVJ6bVbx5A/xQVI+JBTspcbgCx8BOGGXxTlmRMYwpCcg1T5UhXtdV4c0k7V/MNEejPLW5+85kizb8TSO+68JnMw17jA2ws2fVsDZMpA== 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: 780b0b05-f28d-4529-75ec-08d7e5bebfa2 X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Apr 2020 06:39:31.6937 (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: +IlNaK9+f/G1oJMSBLujkz2B8D4sPNYz0YopDB29lPoH3Pole9LyoYfvc1RWMZpoi2U6K9/2suloQ+vlGPAXOg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR05MB6408 Subject: Re: [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" > -----Original Message----- > From: Bing Zhao > Sent: Tuesday, April 21, 2020 9:08 AM > 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 v3] 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 > --- > v2: update the description in release notes. > v3: update the notes of rte_flow for application. > --- Acked-by: Ori Kam Thanks, Ori > doc/guides/nics/mlx5.rst | 13 +++++++++++++ > doc/guides/rel_notes/release_20_05.rst | 2 ++ > 2 files changed, 15 insertions(+) >=20 > 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. >=20 > +Notes for rte_flow > +------------------ > +Implementation of flows organization is in non-cached mode. When stoppin= g a > +device, all the flows inserted from application will be considered inval= id 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 resta= rting, > +and must not try to destroy or flush the invalid flows after stopping (e= xcept > +discarding them). > + > 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 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. >=20 > * **Updated the Intel ice driver.** > -- > 1.8.3.1