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 42267A00C2; Wed, 17 Mar 2021 11:06:32 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id BCD97140F5C; Wed, 17 Mar 2021 11:06:31 +0100 (CET) Received: from NAM12-BN8-obe.outbound.protection.outlook.com (mail-bn8nam12on2062.outbound.protection.outlook.com [40.107.237.62]) by mails.dpdk.org (Postfix) with ESMTP id 73C61140F5B for ; Wed, 17 Mar 2021 11:06:30 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=DxRy/yx/kNiGRnOo2pte4/+7XNimo2yIzt5W2KDEqtijsJXDTlXrLIIoier0GmL8ri1tkE22punO9QVTIrxY5MuV0BAm8pVleLxLgv6Zr2ywdGFpojtZZm3PtqQZS3aqjUJiK2oI+4xk19SwWBVkUdmYyyv8vAEe+QoIQomtak/aCKAMKmlSQ69B52Mpt2kBN+WLBPmhEwrhDQ7/4BRlccpHlNc4/sVGNGBtCIsuy+H9nWLvVrtYl+Y4LcfN+tR5ytVQrVDCIoVj2P8AGKHZgFzIMY1bIvECMoft9mpPGWLrQqbe679FN4WJWZqt24fllOyXXs2thnZo0TLJj+x0qg== 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=WIRyiuDeI8wtttlX0pqK15krpdfirSet+tLZ+oejYFw=; b=mYGlnIvkal9z0R0p526Jd+ZvZCUg7gLEiv/SzFnulKBa4U4QqHQRyMNLXGNdPgo2exLRiyIY0r5eJCTg2f2JqQDHUcIH2p1TXLqdz46Lqp/2IYPtr81Oro07B2DHIHDShDD+TIjgZGPOjlOgZN7GdG5tR+HIWlRXBhzzrdKjxlizO8IaiZfAMjm4fVS0SPPBvbyFY1jm2Lzs6N3tBVRBz9MN/BK29xYuD5lSOrqa1MZ5oB2fBIYuwXekFjWTiZcsFgaUL3xZ0GOAtJSBjJqdwps4Uj0DdTyqqgj8HB56qTlW8ewiZgLdfsguiPrs3SAi/gnZ0/mJPx0RoWGYsTbunA== 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=WIRyiuDeI8wtttlX0pqK15krpdfirSet+tLZ+oejYFw=; b=Eqcj0vFkDFZqkzDEoZ0LC9dFweJv4vhrs4tC0q/1gPHKWu3n+iTftw1fOdeOY18W/214eWXGKAwimjL9cQdo8MJn7wjtm3MWn+bBsaRvXXOhXlp76TEFfs3dWRsGx5aRkUpRTOgVOTx8iKiEJrQXhtK9hGSB3quS2tcyjVEfHbB2oJPqMB60s1tGuCTyT/4Z0RtkCVXZtwqM+VNm08+4U0IeOQCu9SN8N7Vuf3I49C7upMa6jXroN4n9JZLaQCcdrFnTEHY27OjNECe/tUcLxO/uhJS7a0HPDnqQVECj3ThLcryz0RX9vSTkYozOitqjJv+Pfjr5uvQ60JGAfS7f/g== Received: from DM6PR12MB3753.namprd12.prod.outlook.com (2603:10b6:5:1c7::18) by DM6PR12MB4482.namprd12.prod.outlook.com (2603:10b6:5:2a8::23) 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:06:29 +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:06:29 +0000 From: Slava Ovsiienko To: Salem Sol , "dev@dpdk.org" CC: "Jiawei(Jonny) Wang" , Ori Kam , Xiaoyun Li Thread-Topic: [dpdk-dev] [PATCH v3 1/8] app/testpmd: store VXLAN/NVGRE encap data globally Thread-Index: AQHXGw+fZm1tsQn6DEms2lDKF69pVqqH9CGQ Date: Wed, 17 Mar 2021 10:06:29 +0000 Message-ID: References: <20210317092610.71000-1-salems@nvidia.com> <20210317092610.71000-2-salems@nvidia.com> In-Reply-To: <20210317092610.71000-2-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: 9245d5e9-d82c-42bf-9d57-08d8e92c5555 x-ms-traffictypediagnostic: DM6PR12MB4482: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:2657; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: FWnZYnx/C3y7BXOTvZreFVB8agcVnUmRtjejLcT9EmHnaf62QayvtFoxwuvJfuz1zkSHh20qMEVRxukO/MUWGAemRQuYxJ4FoOnHgmX5ZlB6trhCPGDiur7CG19mpweM6WXl1pOQfk3Phf4zyn567aKWTiCHImH15R3Dd+yaJnh+UsYBQIpcNajoNmb45vCbePDH9w88qTG+omWOsCJthPKJikb7UxbBz0CNlY0f5FeyTgEy8tSeufRX0bwTrLCg69Mgf6hRF7t4UK6gfYiAes0a80d8euPsuNhy2odgbUHqXqd0fWHdkD2Q+CpkfwTLcYFjsuh1mbR+0D8NSTJBETjYq+E/Pah45y2tMIaHg006ClxkAh+v3yKMPu/wsoJcgL7Et13wKDUXCS5UDKokDACBYtvX8tkOUha2E2r3/XMIkhZoTLNqbLgsU8I/wF4gfDbHfMbNhclEIPQ4HXLN4cQWmce38Hls+1JlbvBlR8mVfo58t1kM48IpOZxOhY9mvBRoGjFxTkTrO7yzC40Leyc2/KIGZJ568gNXps9VZ7xpawOyDNkfTB0LSVwAzMFi 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)(136003)(376002)(396003)(39860400002)(366004)(346002)(8936002)(26005)(54906003)(55016002)(33656002)(52536014)(5660300002)(7696005)(186003)(2906002)(4744005)(83380400001)(76116006)(6506007)(66946007)(8676002)(478600001)(86362001)(316002)(4326008)(9686003)(66476007)(66556008)(53546011)(66446008)(64756008)(71200400001)(110136005); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?41sm+iIPqzCtUaOfIlyH78TkEguVxLl1cY1nMJT8mqMXB3GCqqXhqM4KY9gm?= =?us-ascii?Q?18HxsLl2rAM/uQzPINhg/UJ1JMxjBmmTs9Mghlbf5RmXg5bE6093xXvporUc?= =?us-ascii?Q?4tN7GjuI3cWdpQ8MEBOPWtL+VYdTJR4tet0gSw9e5AJFFX0E+6XM2+2rpmoW?= =?us-ascii?Q?VbDKCYUujm8NxbjVB7arz2ix9rrRf/zQEinbcc7QcRgmnzWpeomy0ZFaj6kd?= =?us-ascii?Q?OF6ry0GrQNf+M5vUDUAgRaAr+iWPFfSOC88yW9ccqYlN59+DMegl5SN5yi+V?= =?us-ascii?Q?0DageVqYLUAgNP5saJDKl+sOVemhn+YCgSgxVU+vqmnFp1Rm0XMEnStGGhIm?= =?us-ascii?Q?gL7d9CCE88z/yYTNnGu8ZIPCvqTNEIvyQsTHetqMSTbON9msmTqWhgpQUZge?= =?us-ascii?Q?fi0ioXOJMBL4+jvR2453z6ulqGcF03CPApQGYrM5P4CeKSeBVeIlJ7go8Ebe?= =?us-ascii?Q?vAcxv+m9foNOnveCnEW+wEA64ZTGoNSoF9oM6jxblvYo01H4/rwcYwq+z+yf?= =?us-ascii?Q?Lw+3XbaE7tsPHen9pGDz1O8dO76P7Qe/cRxmWSzjo8ch2YKYG1qRg8pA39vb?= =?us-ascii?Q?PO7SQcwW0zGbYyJkhC9YjmH6pN6cX6Pkl7zk++xVxsNnLH8xruS4+ry4tSuP?= =?us-ascii?Q?Ier9svwMyfoReioVsITk1b+yjNibRYVXsdOfo2YDbuxayPrrBbKIQTLs869N?= =?us-ascii?Q?n+cdSN9R1WQTNn5AU3JwKbHuriMprgkxzHa6XlRhKo7pL8wo15eL1bdu4TNG?= =?us-ascii?Q?v+9fAjb3Y0YgjZtW0c6zQssX3ytGy0+CD40DUMdkLjm0byZwSQ+CNS5PA0dN?= =?us-ascii?Q?PYDNcr5vuoeKvXMnJpuiT2He/JFXUp4t15q5FRpAEqX555m87qbH7iuuLQYV?= =?us-ascii?Q?mHDFJeySrmcUUTpl1+C9Itlr3RRBjbbQRMUYGjYKCQMhwxAuCo/xg1boRefQ?= =?us-ascii?Q?yHjzGX2Zx/4/txfoz1hDY2hOFE/XvoVSnNUKGHFbb7EG+fJKJxGDnTFEWXx3?= =?us-ascii?Q?8Dv+9BS3QmvZZjdyTzknvd4vBEwFTmLg7UifW3W02Hm5mGvkX3vYcqm7M6N3?= =?us-ascii?Q?bHUlBzT6lbr16fHYaEW3sh+7xYCnVmZpLlNom5gumdEzfIq+LTSIuyM4GWG7?= =?us-ascii?Q?WNTPhnpXBF3RyzSvmu4jeG4Ozpf6DTa3IfAtaN/+vkTrf80He/qkKyszzucG?= =?us-ascii?Q?zL6FO7SRaMKNGRSlZ1rzNLH1/OGcogYa+KhxjkmiMQWnPx9mO98tn/6kLvQp?= =?us-ascii?Q?Ir9sXp4zySNIcj6VzEPwnBcVFbfOrFR4157XdyOyVxJ2mwTnxUHXNYUO2sZF?= =?us-ascii?Q?ECg=3D?= 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: 9245d5e9-d82c-42bf-9d57-08d8e92c5555 X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Mar 2021 10:06:29.1872 (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: 2vMIahiQKyDUuWwlNFbGxM4PS2MVi0476XT36CnGbZfkRZJK1CX8AemmpqSof8CJBzXaYaUMBFsX7Dc2n0s9mA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR12MB4482 Subject: Re: [dpdk-dev] [PATCH v3 1/8] app/testpmd: store VXLAN/NVGRE encap data globally 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: Jiawei(Jonny) Wang ; Ori Kam > ; Xiaoyun Li > Subject: [dpdk-dev] [PATCH v3 1/8] app/testpmd: store VXLAN/NVGRE > encap data globally >=20 > From: Jiawei Wang >=20 > With the current code the VXLAN/NVGRE parsing routine stored the > configuration of the header on stack, this might lead to overwriting the = data > on the stack. >=20 > This patch stores the external data of vxlan and nvgre encap into global = data > as a pre-step to supporting vxlan and nvgre encap as a sample actions. >=20 > Signed-off-by: Jiawei Wang Acked-by: Viacheslav Ovsiienko