From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 04EE0A0A0E; Wed, 3 Feb 2021 10:02:26 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E7D9A240484; Wed, 3 Feb 2021 10:02:25 +0100 (CET) Received: from hqnvemgate25.nvidia.com (hqnvemgate25.nvidia.com [216.228.121.64]) by mails.dpdk.org (Postfix) with ESMTP id B4120240477 for ; Wed, 3 Feb 2021 10:02:24 +0100 (CET) Received: from hqpgpgate101.nvidia.com (Not Verified[216.228.121.13]) by hqnvemgate25.nvidia.com (using TLS: TLSv1.2, DES-CBC3-SHA) id ; Wed, 03 Feb 2021 01:02:23 -0800 Received: from HQMAIL105.nvidia.com ([172.20.161.6]) by hqpgpgate101.nvidia.com (PGP Universal service); Wed, 03 Feb 2021 01:02:23 -0800 X-PGP-Universal: processed; by hqpgpgate101.nvidia.com on Wed, 03 Feb 2021 01:02:23 -0800 Received: from HKMAIL101.nvidia.com (10.18.16.10) by HQMAIL105.nvidia.com (172.20.187.12) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Wed, 3 Feb 2021 09:02:22 +0000 Received: from HKMAIL102.nvidia.com (10.18.16.11) by HKMAIL101.nvidia.com (10.18.16.10) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Wed, 3 Feb 2021 09:02:20 +0000 Received: from NAM12-DM6-obe.outbound.protection.outlook.com (104.47.59.168) by HKMAIL102.nvidia.com (10.18.16.11) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Wed, 3 Feb 2021 09:02:20 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Lxub/EJh1dZyTYPtugUh+0LP43S0qpix8mArN4E4j1a0AIJG/Fag2EnJQh2ugHx28u33cECHFGCT8GWsHRIB1jbvc+yRQtfGh+pdcTtkvNjkPifIX0Nz/oaG/eyrvK4GHSXlQMJmc+HcAsQF4uxYa+KTsvb95s3+rknJwcerivu9MT37Pz1YkmcDctZVZ9KPCi1NHh23QArNdi10DSpOffvvBfbO9wMBPc+07qTbMDVyAvFeMxUlRckPg0fKm45AgPHwQ3fz5ikKDTuNTbZNwnaaLur/RS0rs6bgaZ8TGiydL2p8BFSj+98vE3VyvXydS5i0QCYXRGUpet74G4nSwg== 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=GOovWwINGrX1RZ8jhZKTVLVOA8zyyJ5yj23E4NXDnOk=; b=Yjuan5XLgqXTEY30A/XoWKpy4WQ39gpf7mULBlPt92xN4Sow0vyytaTUYXJKfmlyTCul/KoE4t97jHxZP9rjpsm7cYAOiGnohDIQAqG7IPVsvZl0gp3QqF+rfrfkTruqXcICO/wvGq4uNpiDTT7xqEC69Slo6qlddPI/+QhhzX6fDHgrXtGUd4Ume2S2REYbzd3emReWrIl85ocXvfobi8l3AfkJgZmZiwFth0qz9mWAFfgKfGyy172VrtrxST1SGhO8/Nv5qEybxhqwDMVqFf4QeohkfIXS/ZYVo9voGrkHs8aqohS76gXtaUW9XqGZMOFFzWvNdNvIE8D4DRS2Pw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nvidia.com; dmarc=pass action=none header.from=nvidia.com; dkim=pass header.d=nvidia.com; arc=none Received: from DM5PR12MB2406.namprd12.prod.outlook.com (2603:10b6:4:b7::23) by DM5PR12MB1738.namprd12.prod.outlook.com (2603:10b6:3:112::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3805.24; Wed, 3 Feb 2021 09:02:18 +0000 Received: from DM5PR12MB2406.namprd12.prod.outlook.com ([fe80::d1e7:9a70:b384:4e56]) by DM5PR12MB2406.namprd12.prod.outlook.com ([fe80::d1e7:9a70:b384:4e56%7]) with mapi id 15.20.3825.017; Wed, 3 Feb 2021 09:02:18 +0000 From: Asaf Penso To: Ori Kam , Jack Min CC: "dev@dpdk.org" Thread-Topic: [PATCH 1/2] doc: more info of rte flow shared action Thread-Index: AQHW+V6AZXPElM0KsU6CTkMCw+/geqpGD9AAgAASjjA= Date: Wed, 3 Feb 2021 09:02:17 +0000 Message-ID: References: <9b8375c7ce4991e771a8734e9759fd2aed811c65.1612266977.git.jackmin@nvidia.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: nvidia.com; dkim=none (message not signed) header.d=none;nvidia.com; dmarc=none action=none header.from=nvidia.com; x-originating-ip: [87.71.142.162] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 51991287-12b9-4615-e145-08d8c8226882 x-ms-traffictypediagnostic: DM5PR12MB1738: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-header: ProcessedBy-CMR-outbound x-ms-oob-tlc-oobclassifiers: OLM:4714; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: RMAVPS0PiNx6iFtmbXOjRxir1tvuBuynpDYOr5Kdbs+5pH5ulh2mseWNrrZyzZDcsy2CXtu24hcbmmjuAih4qBqVjiogcdwTEhVgot2obYoyLazws455D4EBOe98iqx2kDmF7vrgWdCmIjsWsUaU6W7gAsOXCW9yF/3ka+GUAc7hoJnM4CngB73cg0Wzvt+e3aas4VLrwHDnDGa7G5fkthyFxKJXv37jTN6smdBuYp5m0KWj9FgIqpauFV91GvtE1taZ+V9FZj/UWECdo4Ulsm+p3VU5n1WfnPScQhqnBh/A7tc9TGFzJXdrbP4bMUbzgeSPQW+PfdKVeTQE+OpAlE6NTovVool4+2T5S6vqm0Xy4LwXnXbxoD6CgYkuoMg2Kr+4tddEnsaqE2d3jnS+p7Yn4KBTKjQs9ffmxAOrAm9x4m609HDj3/coC2oFbinUZBwPrxBrStHvkiu84mzi1RySpyzbDo6rQJILMkUqMAgf4ayKJM30MGquHt3l5UTdtSlIJP8H6pcLcR5PAnxRbw== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM5PR12MB2406.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(136003)(376002)(39860400002)(346002)(366004)(396003)(5660300002)(55016002)(66556008)(26005)(4326008)(8936002)(83380400001)(66946007)(186003)(66446008)(76116006)(66476007)(52536014)(9686003)(71200400001)(7696005)(6636002)(64756008)(316002)(86362001)(2906002)(6506007)(478600001)(8676002)(110136005)(33656002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?ZmSaZCGrby9xJq1bXiU4JV1eDLF0h2wge73QZ0ooyTDkUFSAZEG94lUlJomx?= =?us-ascii?Q?GIdYO4uzndlSYSPMb8nvVg1oxjxHbmAA37VQe+LI/AeyFF0WC+LsH0S3gRxB?= =?us-ascii?Q?5FH9MrT2/Cswe/CAi4MYUIhgwYIvWnQPmtEy0GVaYqrsqz6zTI0EE43KCYSF?= =?us-ascii?Q?PJUK9C5afyKEaY5N0y0PlbKd82MHFU+xpd73ZO1jY01ZQGqnIRcx5mKP40RG?= =?us-ascii?Q?hOJ/NXV/2MBlFycRXBTsJzaMr71ULrJa3W425KKktXTXWVP6F/uHV/lk1JJS?= =?us-ascii?Q?QU7dhCTaOyb7S4ocgvWVQk0ETKPwXcB3Qp91ng4hrFCD04lgWoHTNsKvOqjm?= =?us-ascii?Q?U9GzlfQKctpdqQgKvFF4BD6MTlX93t0EId/ymGnp/WaUp8/XD33z3tkq20o8?= =?us-ascii?Q?P+JL/0k3o+7OM1VIvNUKHFN4jAwrT6O9zaY0ihvdfanH1GDbpM8IrdeHeEP9?= =?us-ascii?Q?vn76Lqa2rY3NyCufr8U3amQeRyBe8EU0BaJNf5v4S9tmGZHm7Pf6cQAnCewK?= =?us-ascii?Q?KkOcJ0SfqGkq/RvSpcBInmu0oqMtS96MDQZTOtSRZ8ZJFrQ8Im88ZGInTOCt?= =?us-ascii?Q?L6z92ezTJApF9NKqXdZLbHcS2TwcDVw2pMr4gPKvs/VSS/8G5+wXoJ49Odhz?= =?us-ascii?Q?o64+AsPJUEsOEr95HNyGOZhm6gXFe+atohGQJjYryWzHkFEg7CZXSHBS4xNe?= =?us-ascii?Q?ZmUMWYSDrisTGUixTfjEt4S9YPW/i4RJ46RW3FPKDO4g6HAnt2qLleICw0AW?= =?us-ascii?Q?lCwYnU2nx1FBxTgTM1mQfj8OU1fd3ed2yeyEo3d/AGuNjqVVuQv/iaiQSjYj?= =?us-ascii?Q?FUbqzYmDmAhp2/pKUJgXOuog5EQV005zMrOYGxM+jnyKA0YL/zWQludKvtIj?= =?us-ascii?Q?JN9zeNVdXWPT6mZCwzQXW3gyRE2ccUGn+Z1beL9CBf+lOv4Xx+/8RhYbNcvu?= =?us-ascii?Q?csoQ2U5JH3K9dYIPZqvg7x/viIi0nA7yRLaNWkGCm/+Pmf/gOGYKLjC3CE4F?= =?us-ascii?Q?oS1Px4EqhKgs1lbo14Tl4IU9K//hq2f6+QVXdmukdIfqI4Mf5kPgIIqHrI/u?= =?us-ascii?Q?hQibRKtR?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM5PR12MB2406.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 51991287-12b9-4615-e145-08d8c8226882 X-MS-Exchange-CrossTenant-originalarrivaltime: 03 Feb 2021 09:02:17.9816 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: NTMKCoZK+5Pi3rP6yDovilQysccPFHiAtACvJrdx3pjK6DhcPZlwRMhC3trXZHyYe5iZGHoghmtiv0flC8Cjsw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR12MB1738 X-OriginatorOrg: Nvidia.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1612342943; bh=GOovWwINGrX1RZ8jhZKTVLVOA8zyyJ5yj23E4NXDnOk=; h=X-PGP-Universal:ARC-Seal:ARC-Message-Signature: ARC-Authentication-Results:From:To:CC:Subject:Thread-Topic: Thread-Index:Date:Message-ID:References:In-Reply-To: Accept-Language:Content-Language:X-MS-Has-Attach: X-MS-TNEF-Correlator:authentication-results:x-originating-ip: x-ms-publictraffictype:x-ms-office365-filtering-correlation-id: x-ms-traffictypediagnostic:x-ms-exchange-transport-forked: x-microsoft-antispam-prvs:x-header:x-ms-oob-tlc-oobclassifiers: x-ms-exchange-senderadcheck:x-microsoft-antispam: x-microsoft-antispam-message-info:x-forefront-antispam-report: x-ms-exchange-antispam-messagedata:Content-Type: Content-Transfer-Encoding:MIME-Version: X-MS-Exchange-CrossTenant-AuthAs: X-MS-Exchange-CrossTenant-AuthSource: X-MS-Exchange-CrossTenant-Network-Message-Id: X-MS-Exchange-CrossTenant-originalarrivaltime: X-MS-Exchange-CrossTenant-fromentityheader: X-MS-Exchange-CrossTenant-id:X-MS-Exchange-CrossTenant-mailboxtype: X-MS-Exchange-CrossTenant-userprincipalname: X-MS-Exchange-Transport-CrossTenantHeadersStamped:X-OriginatorOrg; b=GYygDSKgp0u7lWBJ/hsn3p20slYyB09qNsjgXCidOGP1sLeJhBZx1wM7iGhGpX4Ni sF1fTp78Cb5Vj1nimzrsA4ygt5KH9v3sjE4XLbQwqFsb//EbOC2FRPOcvlWhTZCKLw Aq/MCp6EfB9OoDjAlW6qikRpZlduW9IhbWNJ8s0LXf2W6NiP6KAIJLAQwzlYVhRih6 DHOJibJV8IgSLRQ1vgXRl4YrK6qa4twzZvjVOAcCuALfdlThtZE3EMtZ1BiU4GvMA7 1Ll+wLo0up4Gw/Wkz5yR0owT651fNBk8WfJY3flrr5kvhz4imituCQjJaUXhmp6dAK aWJE3hDWkI9oQ== Subject: Re: [dpdk-dev] [PATCH 1/2] doc: more info of rte flow shared action X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 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 Jack, >-----Original Message----- >From: dev On Behalf Of Ori Kam >Sent: Wednesday, February 3, 2021 9:51 AM >To: Jack Min >Cc: dev@dpdk.org >Subject: Re: [dpdk-dev] [PATCH 1/2] doc: more info of rte flow shared acti= on > >Hi Jack, > >> -----Original Message----- >> From: Jack Min >> Subject: [PATCH 1/2] doc: more info of rte flow shared action >> >> Added more information of shared action on how to update, query, and >> the benefits. >> >> Signed-off-by: Xiaoyu Min >> --- >> doc/guides/prog_guide/rte_flow.rst | 7 +++++++ >> 1 file changed, 7 insertions(+) >> >> diff --git a/doc/guides/prog_guide/rte_flow.rst >> b/doc/guides/prog_guide/rte_flow.rst >> index 0b8c243fe1..62a57919eb 100644 >> --- a/doc/guides/prog_guide/rte_flow.rst >> +++ b/doc/guides/prog_guide/rte_flow.rst >> @@ -2756,6 +2756,13 @@ Flow utilize shared action by handle as >> returned from The behaviour of the shared action defined by >> ``action`` argument of type ``struct rte_flow_action`` passed to >> ``rte_flow_shared_action_create()``. >> >> +Multiple flows can use the same shared action. >> +The shared action can be in-place updated by >> ``rte_flow_shared_action_update()`` >> +without destroying flow and creating flow again. >> + >> +The shared action specified data (e.g. counter) can be queried by >> +``rte_flow_shared_action_query()``. >> + >> .. _table_rte_flow_shared_action: >> >> .. table:: SHARED >> -- >> 2.30.0 > >Acked-by: Ori Kam >Best, >Ori Reviewed-by: Asaf Penso