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 6F8E5A00C2; Wed, 17 Mar 2021 11:07:47 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5F308140F8B; Wed, 17 Mar 2021 11:07:47 +0100 (CET) Received: from NAM11-DM6-obe.outbound.protection.outlook.com (mail-dm6nam11on2040.outbound.protection.outlook.com [40.107.223.40]) by mails.dpdk.org (Postfix) with ESMTP id E0199140F88 for ; Wed, 17 Mar 2021 11:07:46 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Jz2fVejx2BsgRo9DSNL/zNIpyYzDWdTQuVN7vvXGOqCrqm7ZUYUgiRIC3WMbwTnLxSctbjZ8qg7N2ALjoUEXQGUOlhcqy/aCm73wHGD2q06imVI1279NC/hdL6EGqvrj0ffcUBLnwXoi4sFMMsE7SCf3Sk9eciMrqETY0eCmbhtp43cjZT2kOPxo/JtpeENfG4sXrjo7Stgs4gCH3bxBZ8MyZrecVtY/jyPVirNYPPEsIfkHRaJpG008moMRNVhyfdl2XAliWZtRyWkfkQ8aRQGZAlROzgkNy/YJ4Sh1VTj81Bny/gM7TUIupxi+ptyGGmOle50l1r1tGQYtoBRdWg== 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=/cDAI/z5u6loT+JIkSZm3g1CAlXZxja1PwAn0qI9djw=; b=jf0dPCdZLqcm3nD9Uk+f0pGJS5y6CNrImb7AGUXNb6XAvXsdr7Uy2pZUdP4X6mAVitQ9pb9kdTTZoquHZF2nmOSP6hGdnPqxBWcC/1j9oc/+KHlVhmtrNaSzxClr/LHZrnx5BgxynA6YgjdCiGGPZ6D14GaxkWveYgKhtH81LKdN83nRspr7Aj7xk3tL6rFVzYe+t3o/SqxOnAPY7nBm7kPnH9fik12YsxFxOngnmOfPwydFtY2XuPkXmBvBNPAPbUjRkPcmu6PI1K/W1VkRm2BC4LjFtVutRVnAQG2v9dF6fIIGjyvqvd9Q7TQm7IjVX7UmdI83bk1U/4pPeBthhw== 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 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=/cDAI/z5u6loT+JIkSZm3g1CAlXZxja1PwAn0qI9djw=; b=QnVh2iqAZSQ+tNMEGoQfPZYE9rx8kUrxQ8MSg8lNB8/E8PgeSO220irGJ6dVptwb3dwVb98oATrei+yB4zNP4f6lkfCS4OzGNewhVrAWHh35t+pZAwE570p+jtmiDC2kcbZ1336AMFSMZRXuEOYNH6xmz7Cl6dZiJaxriFw9mPb7U5WphPDTfgD2HB/7OlR3kAfvxc6RlqDyfrHg4rGbNRZoHYPfGmWSEdj/l1fMtCL7BHeErdi+b0oLhzGKjLp5OEZj8lNIueAti4f+L8HWIkWvt9MASHg6AV0/Y5aPpaZSatBg/YPQmiQT7DuwiRuy/y8Ohh/U9+SIS+T5O+xYAw== Received: from DM6PR12MB3753.namprd12.prod.outlook.com (2603:10b6:5:1c7::18) by DM6PR12MB2841.namprd12.prod.outlook.com (2603:10b6:5:49::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3933.32; Wed, 17 Mar 2021 10:07:45 +0000 Received: from DM6PR12MB3753.namprd12.prod.outlook.com ([fe80::20f7:11fc:9d46:9258]) by DM6PR12MB3753.namprd12.prod.outlook.com ([fe80::20f7:11fc:9d46:9258%6]) with mapi id 15.20.3933.032; Wed, 17 Mar 2021 10:07:45 +0000 From: Slava Ovsiienko To: Salem Sol , "dev@dpdk.org" CC: Salem Sol , Ori Kam , Xiaoyun Li Thread-Topic: [dpdk-dev] [PATCH v3 5/8] app/testpmd: support NVGRE encap for sample action Thread-Index: AQHXGw+nI/KzzojTdUeoCmkSRYo75qqH9JfA Date: Wed, 17 Mar 2021 10:07:45 +0000 Message-ID: References: <20210317092610.71000-1-salems@nvidia.com> <20210317092610.71000-6-salems@nvidia.com> In-Reply-To: <20210317092610.71000-6-salems@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: [95.164.10.10] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 59e32ffc-6948-491e-ec46-08d8e92c82db x-ms-traffictypediagnostic: DM6PR12MB2841: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:6790; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: ynuBL3N5pt6p4934aCSj63ze+nD5pQ1kociByfWYfW5J6a3CNFgPAgU3EzUpM556rFK5XpRlXecl33HSCy/hTGDBD+u9exHbRfJSYRQvbgkGGRdbj7SeApNS5iprgOcEhPQaCkK4uWwlp+OcNol3SF5oUNK4DQ4XUAoSOtZ7MnZ+qtYZAn+UJkp7Be7l0gnc578rgPHSt3dXsLD7l9zHZfU2Oxgfjsz5j1gTgj0b2JYjXD0MUt22a/EQOV6hMM67xKea+Tur6v79khNyWdp9dFohQJLdRTwi3Fi6UtxbdW3rEYC3TVuvzwsN1vBozqeNt6loDHNKHqm+qmdsThY53XTxoAgE60Eob+MK4WxeShZTuw0Tpb0Iwmf5KAbVw8X8eO+u8w4ytO2giJlvOl8XA0TU7N57FgQwoa7INCSkhDWyCZzp8I03RqHYL42tvg0ET0Q+wBScHSQXB+Chhf9ZBmixuoiSVkHXbUa3ZsZbc7Z0h/9diCX6nNL2pxxwyKkNdiZ5T4ZcboSk9RpOHvYupMTvsgWQNA8PyBftF4BsbzCriKqWMb973OL614TdMMQL x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM6PR12MB3753.namprd12.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(396003)(136003)(366004)(39860400002)(376002)(346002)(83380400001)(6506007)(8676002)(66556008)(5660300002)(54906003)(9686003)(66946007)(71200400001)(76116006)(8936002)(186003)(26005)(33656002)(66476007)(4744005)(478600001)(53546011)(52536014)(110136005)(7696005)(64756008)(2906002)(4326008)(316002)(66446008)(86362001)(55016002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?AV9m5draBt+9xjaYllFF0enRsfEhdG1Fz58a3GOE2mEyoqrzVG6hQH/6Le2a?= =?us-ascii?Q?9aU3PT0+0BKWrfDJwaCobfKkEbAib58K0JcdEfOY7kWAbHf4gmJhddInQ9LB?= =?us-ascii?Q?x/UGDUIobr6rAMbLy1ZtRZ1q4AnIFGSF77WyP5gTyMbfGzY8MeR3hFvAz5ew?= =?us-ascii?Q?DbPcmlfY2RCpeyERRqlcq5XCzCocxWcxXoqF3SbR7i+tv4itpoTPQP/zd+j1?= =?us-ascii?Q?TYOVk4lrL8GW5U1bDSONoSBLWUmR84+s6EYyvQPeJZWpHMXaH562elZbn97h?= =?us-ascii?Q?vyqmVQg7d3eSfzNWZqZ06zgDAsI1ZivDmAMCTexjEMul0lHhHmhU498PFagE?= =?us-ascii?Q?udCke16Zx6jqkS3RfUNTsx9lKvV7uQMRStyKbcpYLoCdMS65fSSVonCSsYQw?= =?us-ascii?Q?PIPJADIEtIhGTWmL76QrECtzGpPXDi8LQ8YTxHwejs/Wry72UOXEupwHn7+d?= =?us-ascii?Q?s+49/xp3hcVq74R3y929Lu6WMXTMz4meZ8Mxh8PSZoVE2JNMJQ6+S+EnNXp9?= =?us-ascii?Q?fa536wH06U2W2tbxSdxHTi3VjjXBaPN7pL5QRMsS2gv0d2tgZgz6RKJ3VYnO?= =?us-ascii?Q?eOybWKzhm1ORvvqrkQScXFlAF4A23/SIxOTiqsXB3fKjZ0jA2Pf1MalJfd6v?= =?us-ascii?Q?SjwO97sZ2DW0lPKNuZzfYARVAoDiuJVdWtOmJepZLFKZ6VpvSwU2XpNjC4yx?= =?us-ascii?Q?7hkRESFcAJ4utFOR9Oseb4BJtdyOj1tT1FSKSaoLSm+AYoyQOMllQPwuAqxN?= =?us-ascii?Q?tSybE7VR8ceCHOHUautc9nKP9Ccqnqfj16qIshaog8peix6jqjS6BvL8VM6I?= =?us-ascii?Q?p4NM2WLMk91Xyh0688yWJkm58RHxciacKNlP/K+WS7d/C4sj//bd+WO4tNjm?= =?us-ascii?Q?tkYw2JgBIjM9r2TqneHfyHV6h5Q2xd+SJJXvycmt6vRZIL0dRY0TUtP8DDOC?= =?us-ascii?Q?dpeiBvmRLLVyF8Og+pwlg+Ee/WTOzVJlhcM+Gmtjcc+XfHU2jIKSs55Xn1OA?= =?us-ascii?Q?3H+0YlLkJqNbrEXd91lrp/gqx7C0dmhn7tsp4rrr0pbRNiOVworMCooi1V/v?= =?us-ascii?Q?1HLQ9K/zCAkTs0lTnLnJq/5CroBPnglIKi1BItp4vYG9vCSmNwBeAVGicSsl?= =?us-ascii?Q?gZUopLKIcGZFAxPDNGQIKL9S/NZtPeGZcsEgnplWTtSXt+VF6uvF9aIZ5Zgf?= =?us-ascii?Q?sWnwM/yydz+fFKHGYqUSj1qkxuA/yW4942XiyZ5IW0dW4+VYKJvQaDl2wToU?= =?us-ascii?Q?B/hI4qXEs8ZufX5RJPFFXKb8ARjNUzz47Mx996BXBTQzXrZQzQ49T2UHjTE5?= =?us-ascii?Q?TPBy7P3ZTYgv/6g153NT5aLc?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM6PR12MB3753.namprd12.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 59e32ffc-6948-491e-ec46-08d8e92c82db X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Mar 2021 10:07:45.5199 (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: 5LU13xuSt6+c0g6yqY2C8FCiwwQ0FWxqArzFNasq4SdptsGzxYGPlRsHJrRlvv9sWKv4UzIBhw1N/P0EvJsrTg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR12MB2841 Subject: Re: [dpdk-dev] [PATCH v3 5/8] app/testpmd: support NVGRE encap for sample 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" > -----Original Message----- > From: dev On Behalf Of Salem Sol > Sent: Wednesday, March 17, 2021 11:26 > To: dev@dpdk.org > Cc: Salem Sol ; Ori Kam ; Xiaoyun Li > > Subject: [dpdk-dev] [PATCH v3 5/8] app/testpmd: support NVGRE encap for > sample action >=20 > Add support for rte_flow_action_nvge_encap as a sample action. >=20 > The example of test-pmd command: >=20 > 1. set nvgre ip-version ... tni ... ip-src ... ip-dst ... > set raw_encap 1 eth src... / ipv4... /... > set sample_actions 2 nvgre / port_id id 0 / end > flow create 0 ... pattern eth / end actions > sample ratio 1 index 2 / raw_encap index 1 / port_id id 0... >=20 > The flow will result in all the matched egress packets will be > encapsulated and sent to wire, and also mirrored the packets > using NVGRE encapsulation data and sent to wire. >=20 > Signed-off-by: Salem Sol Acked-by: Viacheslav Ovsiienko