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 BF0E4A0A0E; Wed, 3 Feb 2021 08:50:52 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A329F240446; Wed, 3 Feb 2021 08:50:52 +0100 (CET) Received: from hqnvemgate24.nvidia.com (hqnvemgate24.nvidia.com [216.228.121.143]) by mails.dpdk.org (Postfix) with ESMTP id 2402C24043F for ; Wed, 3 Feb 2021 08:50:50 +0100 (CET) Received: from hqpgpgate102.nvidia.com (Not Verified[216.228.121.13]) by hqnvemgate24.nvidia.com (using TLS: TLSv1.2, DES-CBC3-SHA) id ; Tue, 02 Feb 2021 23:50:50 -0800 Received: from HQMAIL107.nvidia.com ([172.20.161.6]) by hqpgpgate102.nvidia.com (PGP Universal service); Tue, 02 Feb 2021 23:50:50 -0800 X-PGP-Universal: processed; by hqpgpgate102.nvidia.com on Tue, 02 Feb 2021 23:50:50 -0800 Received: from HKMAIL103.nvidia.com (10.18.16.12) by HQMAIL107.nvidia.com (172.20.187.13) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Wed, 3 Feb 2021 07:50:49 +0000 Received: from HKMAIL101.nvidia.com (10.18.16.10) by HKMAIL103.nvidia.com (10.18.16.12) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Wed, 3 Feb 2021 07:50:47 +0000 Received: from NAM11-DM6-obe.outbound.protection.outlook.com (104.47.57.172) by HKMAIL101.nvidia.com (10.18.16.10) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Wed, 3 Feb 2021 07:50:47 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RJe1tCGN2ZhhsgUtL6qkUl0QYKkXMt+rr5ueNR29nZHaVuwYopL3dMN6+/f4xaABi2uGBI1BlKmmg9CcmsnwnlAb54oD7UeGhi2En43OadYR5oel09bku41J9mL4D870ksNfTM6ffLz5pFeIjXBuwH0pqTixXjDMsRp2EQMPyhGIAxgvO+yGjugtZmZ4JTyLpw+9RsHLZVmqVMcIsjzVYTDh9dGgwWTtrWLY9VaJ9AAOhQ+xlnhRzwYzTQHw393VAqV543NRPNq0cxE7TObYsGhKDjE4DPkwYMYsuzPJyW6IVkFqPPuo/RVAu78Pqvhmv2Bu0dXKLRtd8v9bm4/s0A== 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=Z+VfB60FbUNDEcz6kfhMQomD6QHcOywm/3bQaZ2yLiQ=; b=i2gDlmYt/M6+7a3xbTSB+OoXfWRjzaBrdohpqHpewEFk2Afl8mZHqrF/P5n6KuYm3eq8uj5aj5HtxjNr6iOfDEWABoaDNVILWuPz4cXbORJM7KH++g3cKSmrBj/QQJhZ7PWB79vvaiyTXc3uBHfTbp7eZucOnJ4EeL7YKrGZ/eav33Fad+CeQnwPN0iItaN7H+F7tMoBzERC5At42YQp58WHSJZFvDRPL/+mlWS+XFyfUONhuKanTKStWstV/e+WZjSz0tlR1z25EMJrjp8V/LqbcdIp/RfbF7dGvenC4HxvIx1Uwu4kC7PmjWEkvZoszpQoPYiKF4JJdBejw30sBw== 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 DM6PR12MB4987.namprd12.prod.outlook.com (2603:10b6:5:163::31) by DM5PR1201MB0124.namprd12.prod.outlook.com (2603:10b6:4:58::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3805.19; Wed, 3 Feb 2021 07:50:44 +0000 Received: from DM6PR12MB4987.namprd12.prod.outlook.com ([fe80::5170:e6c1:9a23:39ce]) by DM6PR12MB4987.namprd12.prod.outlook.com ([fe80::5170:e6c1:9a23:39ce%7]) with mapi id 15.20.3805.024; Wed, 3 Feb 2021 07:50:44 +0000 From: Ori Kam To: Jack Min CC: "dev@dpdk.org" Thread-Topic: [PATCH 1/2] doc: more info of rte flow shared action Thread-Index: AQHW+V5DiPMKa/zPvk6qIasOGg3wzqpGD6Yw Date: Wed, 3 Feb 2021 07:50:44 +0000 Message-ID: References: <9b8375c7ce4991e771a8734e9759fd2aed811c65.1612266977.git.jackmin@nvidia.com> In-Reply-To: <9b8375c7ce4991e771a8734e9759fd2aed811c65.1612266977.git.jackmin@nvidia.com> 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: [147.236.145.126] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 41da7259-cdb7-44bd-7abe-08d8c818695f x-ms-traffictypediagnostic: DM5PR1201MB0124: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-header: ProcessedBy-CMR-outbound x-ms-oob-tlc-oobclassifiers: OLM:7691; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: bXyLFDV6rtbkZqXNfjQ1/6S9FT+ZAWQVxglJ6Xh4NQsrxKNcBb7BOxjVsUteVx3D2PfremLds9/3zJwh5OCxyzX7rEKIsHSSmhRAS/Nalz2DpDyAjT1LxCqZZDK65oLIxCH9JtTMZsNc2a4AUx1dMSZq9m4Y9WNzhF995qWXFMNbWtxdHvL7b/dBnPXlc2j1GreuopAf7C9C0AtChduacGb0JvzLtX36kHUlhMSVH+QgmOMh/I0NTr04+rzID9iiQBlYT2ZmEwFRqoggsJRz11ElnpHNAo0ZpOjAxWGK3DiJTCVB9F8dpnVRLrzJoiSxWAF0G1vfR2/YfhDctoXg+lAyjJqM6T8j/1Ww14PDQpISDWm/ci/umddyPL+ZK1F7WsZdNqK3doNpDEOJYevuI2GiJZYDoburBNpkY/u4PafI3DZL9hBEu0yi8W7gv61lcABg9HpmwmaOkf9HyADmj6R7W3u/btV5SyB0xILPq0ndoilx/QKnjbQRyz3kJLzCDIO+ic5vdVTPHVqEa7y/AA== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM6PR12MB4987.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(136003)(396003)(39860400002)(366004)(376002)(346002)(55016002)(83380400001)(5660300002)(71200400001)(6506007)(4326008)(64756008)(66446008)(8936002)(6636002)(8676002)(7696005)(186003)(86362001)(66946007)(2906002)(26005)(316002)(6862004)(33656002)(9686003)(478600001)(76116006)(52536014)(66476007)(66556008); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?2cn+o5gRvrvMGGZvAcZA1seiufyLrx2YnCicfU1eJLHlCzxWe+7h/tI3b8WL?= =?us-ascii?Q?DVg+WZtElM/cdvSTCeL9dY7N0fU5ID0rk6sSFPCiK/mApsdlMWssghGatl+Y?= =?us-ascii?Q?jmALW81woRsQl79TYWepZ7JJYOeq5AP7bGBLTAxKtbNB/xCzD+94SOkN/WhL?= =?us-ascii?Q?+LecIl4JL6iFW+Egr98HevY5L0IJiY61otRREotxTOerybPgkUuhCRVg840s?= =?us-ascii?Q?gJ7QfkXnQOjb0rqls1yjDko9Y7Q/uu0aXPx/rXhIUiUl4mKRk79dt/U+kMAR?= =?us-ascii?Q?oT1Hd97JMm+NOobwRk4Jaq36vuX5G8kMInzMQ6kwiJtDAfVwEf0LErqGDYWO?= =?us-ascii?Q?I3ktFQ5MbN5da9n8HG5KUEs5yRVpFfksxPlHfu4YhX/k0f6kCYWOumgx3Fj2?= =?us-ascii?Q?jxO35tkVHL5KnsgajiD11oqy9YVwDhc/m4jtr5tt3++LAdx7xp9UaMg6dzqC?= =?us-ascii?Q?bfYmxfhKUeMC/B9Dc7auWpDQow4UN1LaCQ583P/tggHuGmfiYzNiVJlY5qgq?= =?us-ascii?Q?1JEYVGOQo54HF1KM91+kGoSjxNOETZ/SqjJqV3MRD+BzKGnUSsdZvQmNEQWE?= =?us-ascii?Q?SwHeXE5/JIgA5rJJP6+/LcLsw5IRoHEgYXOIMoqXr0ih9NBykYPAW59bCNig?= =?us-ascii?Q?/Ul2tHa3tZR53YknTeQIWFUklB1Vy98ehZMN3iLHEVY1rr8KIJQ/5AE1fyQe?= =?us-ascii?Q?v+RIhjk1ssNjOHW9x2JsyLk6NTSBd7a2JsvpGAALzbWgGuu7YQp6N7rAhYOc?= =?us-ascii?Q?w/m5aM4RZh/CzTTYMOMwlRFv33QF+6wtyroKp9f+TaJsF6hpHfOR4DHmWWmh?= =?us-ascii?Q?IK7j0/oQqLNnGDaUi/N93rth/JYMqt1/zYJ2SvPwgXOgXc9gv5xKq4bdnlin?= =?us-ascii?Q?46l4jcF+sIB78mYruO+RlyKoQVcVJtoBc9BKcUEU/d8/iAwzZcyvtQb2nN+z?= =?us-ascii?Q?c1eBkrz7GIMTlxjLIx3HyPWnXFHD0InyYsfwu/QLgXiparSjdUHqCeVh1Wew?= =?us-ascii?Q?+2aA4ZHu4yTfnfgMdnsy0+NZhtO7fyowuBl9R95UiFBzX/ElJ6y8KIFqRmTA?= =?us-ascii?Q?Z3ytBB0F?= 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: DM6PR12MB4987.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 41da7259-cdb7-44bd-7abe-08d8c818695f X-MS-Exchange-CrossTenant-originalarrivaltime: 03 Feb 2021 07:50:44.4651 (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: CXU1KWzcbfTT9laR+WRsmYHBUEgQN9uRD0OJUeXUpDO/Y2IACd2iOE+hcWNkjquB3g168BD2uIiOdviHyZCx0Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR1201MB0124 X-OriginatorOrg: Nvidia.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nvidia.com; s=n1; t=1612338650; bh=Z+VfB60FbUNDEcz6kfhMQomD6QHcOywm/3bQaZ2yLiQ=; 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=cXWYfhOW8bxkU19dNcoZtjIObVlTiAe18wGjXhnaFCpt1/QcyGCvSGiUeSTxYy96m ZeMPgfRmUCmXE+iBDOznyRf/rdmFKH9ZUSXHpwALgktPc0JlfWNBr5AFhd82sHOMpo EcLjAnsVsQYkyApYc5qHtcQU2xeXlGwuJ8h0dfEvMm2esyLO5t8j8WufXO44YEkEuy M9ITZoJpfttU1bKEQLcK6ZsH01I816/JsliHpggddzN9pJT+ygV4O+kcyGjGk3o9sQ 7s9n/zFU15jWEHYcbJNKof1kLfQV7S4hQQNdwe+Dbbk8KY+o56YVD5+WivLfvsxyh3 0ST2JctX5IdUQ== 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: Jack Min > Subject: [PATCH 1/2] doc: more info of rte flow shared action >=20 > Added more information of shared action on > how to update, query, and the benefits. >=20 > Signed-off-by: Xiaoyu Min > --- > doc/guides/prog_guide/rte_flow.rst | 7 +++++++ > 1 file changed, 7 insertions(+) >=20 > 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 typ= e > ``struct rte_flow_action`` passed to ``rte_flow_shared_action_create()``= . >=20 > +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: >=20 > .. table:: SHARED > -- > 2.30.0 Acked-by: Ori Kam Best, Ori