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 A4EBCA04AA; Mon, 7 Sep 2020 23:49:22 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 486991C0CA; Mon, 7 Sep 2020 23:49:22 +0200 (CEST) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id E18991BE0C for ; Mon, 7 Sep 2020 23:49:20 +0200 (CEST) IronPort-SDR: Z9jHP/bsFaSIZC3wNjdr4nYCmxReKMKWeMfLHAsFC7NfbZKiSqhlexh/yFrzKxZ1d7TfXH6qoX WIiFLHTH5Msg== X-IronPort-AV: E=McAfee;i="6000,8403,9737"; a="155446773" X-IronPort-AV: E=Sophos;i="5.76,403,1592895600"; d="scan'208";a="155446773" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga005.jf.intel.com ([10.7.209.41]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Sep 2020 14:49:19 -0700 IronPort-SDR: 1er01iXbZ/35/EeFiZtoBR5vS2/RjeDtPi6L7Ql6szEk/ccGm4muP0YZjwEjpppbcRumV8rdrX J/2HuDc4cqRg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.76,403,1592895600"; d="scan'208";a="479766456" Received: from fmsmsx604.amr.corp.intel.com ([10.18.126.84]) by orsmga005.jf.intel.com with ESMTP; 07 Sep 2020 14:49:19 -0700 Received: from fmsmsx604.amr.corp.intel.com (10.18.126.84) by fmsmsx604.amr.corp.intel.com (10.18.126.84) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Mon, 7 Sep 2020 14:49:17 -0700 Received: from fmsmsx101.amr.corp.intel.com (10.18.124.199) by fmsmsx604.amr.corp.intel.com (10.18.126.84) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.1713.5 via Frontend Transport; Mon, 7 Sep 2020 14:49:17 -0700 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by fmsmsx101.amr.corp.intel.com (10.18.124.199) with Microsoft SMTP Server (TLS) id 14.3.439.0; Mon, 7 Sep 2020 14:49:16 -0700 Received: from NAM12-DM6-obe.outbound.protection.outlook.com (104.47.59.171) by edgegateway.intel.com (192.55.55.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.1713.5; Mon, 7 Sep 2020 14:49:16 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Hh4zXep+FRzvoKmPhVGVHmtuIjrzYXvdCKAjs8IUgVRbbS7pLQ/ssoBSw6qv9QrSGcHgubW4K/iOaPR3ZN85bWYZyZAAt1xDMallI818AMELHxx/75OPRR/cpzunrJqGcDPErpT54wP9+WhpkB6Zx5X7vMI8mfl2Td7WPvGpP97T5yZDMurb5kjfC6kV9uyitpZhxMspMoJ9Kwn84nqMt3RAtnp//AH1McXpRYhrm/sRPGoe0slkRtgqflHJXCTvgoGgiRGtqa8fBmDXO/n/0seuG/+/2giqlpUVE2zm8HQzYKeudNt0JYb+Y3cPohujL3Yu0t5S6zFgxbg0HrBBBQ== 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=Ve0VppuKFHUN9ynHZ6KCh0BWbB+35WzzJxDoHDsBGAw=; b=itFsVfxWVwC5jdO6uRqzVTcQuYZM/dMmWemVh/1F1sSvg9vC6WvhScVZVO7KXPhBHenzxgRCbqZWmDgIesPuSHN/HnjU/HSysf29PVz3iMfauEjsWSS5ciwa+nX6KrvRZMVy2hSNXBNIDfr/4VvgEo1GvOmHGbK46DwUEoPsMtshF1Tk+RTsWdqLBy5MEXWyAzHp7zUIJxCyQELc6siDpnvZkmlsZDX0h8hrbHu0rnVYYHWgIWfhqMkOLnaXS/B4R++bYr/3yhoh3gCr6/+cEiNcQtny1nknzuoD0TUbi45t46BaHhx+FFpo/6ROHHmvC2AMx6Us9ekDdP1OoDSwBw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Ve0VppuKFHUN9ynHZ6KCh0BWbB+35WzzJxDoHDsBGAw=; b=H5BR4Ybs4GSwDSRvKd1KW1pAEJE64riPGwdWgVj9o52jCNsy6a3kz/2WkkAKLRlmF/UBb5erMj1pX3V5pFhmAA4skViYvfMy2eFJBwUz5IpffDgvl61OleFeupehCvBYVQcXT/V2EvJes6cLCxoCNjt5pgCjhzRloSqnBPRlh70= Received: from CY4PR11MB1702.namprd11.prod.outlook.com (2603:10b6:903:2e::8) by CY4PR11MB0039.namprd11.prod.outlook.com (2603:10b6:910:76::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3348.19; Mon, 7 Sep 2020 21:49:14 +0000 Received: from CY4PR11MB1702.namprd11.prod.outlook.com ([fe80::ddb:33e0:ba2a:e390]) by CY4PR11MB1702.namprd11.prod.outlook.com ([fe80::ddb:33e0:ba2a:e390%4]) with mapi id 15.20.3348.019; Mon, 7 Sep 2020 21:49:13 +0000 From: "Dumitrescu, Cristian" To: Stephen Hemminger CC: "dev@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH 40/40] examples/pipeline: add VXLAN encap example Thread-Index: AQHWe70WUjoVjhK4o0iBvS3otiVbI6lKnrcAgBMqvBA= Date: Mon, 7 Sep 2020 21:49:13 +0000 Message-ID: References: <20200826151445.51500-1-cristian.dumitrescu@intel.com> <20200826151445.51500-41-cristian.dumitrescu@intel.com> <20200826100528.7ba5d77b@hermes.lan> In-Reply-To: <20200826100528.7ba5d77b@hermes.lan> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-version: 11.5.1.3 dlp-reaction: no-action dlp-product: dlpe-windows authentication-results: networkplumber.org; dkim=none (message not signed) header.d=none;networkplumber.org; dmarc=none action=none header.from=intel.com; x-originating-ip: [51.37.29.187] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 0d7a951d-974a-45f9-d204-08d85377dc88 x-ms-traffictypediagnostic: CY4PR11MB0039: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7219; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: o/8PgQ/hXkVYrKDaA5pD02l17q+4oYn1u9GcLsekEWNzizSuKx49lopywJca6BCnt8IUdO5mPAmTtLJZufcEoBi5bDQHUy2Mlse+VLPFYgSSvQFkXCrSc6GUz5JbhGPP3qB2zsos/F8zxJnJ40O5hbMDWr4rsdO+ibyo7Kfww7+SjZWxL+PGN4gQ6v31MejB9fKgLQd7K296SapIKFflB3y9aNg0TuNh5nhPFWCCKG8X1LKpYryTt+pwLvzk4zSNy8fGlRlCaZEzv+7Areo4PDng0Q/dcV8XX+Lu7pIhzZ2w8mNZfQEqciV5ch3v9YzwksLpESqsEzdCWCPTZD5DxA== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CY4PR11MB1702.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(346002)(39860400002)(396003)(376002)(366004)(136003)(6506007)(8936002)(6916009)(4326008)(71200400001)(316002)(66446008)(52536014)(66946007)(66476007)(4744005)(64756008)(76116006)(66556008)(5660300002)(26005)(186003)(7696005)(53546011)(33656002)(8676002)(478600001)(86362001)(55016002)(2906002)(9686003)(83380400001); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: YXG58n5vDfdJkpWFm7LRKJgHPQDtCZ0UQ+l0X1gxvwODGib3c+nj1KL8soqkYGMjeFUX6aCtsBvCntFP9QdN8wRrSic2RCeKNBczpmlJ7XEpkDek5rnAQ04aVU89Uqp03kpM3hQK/LHxmnd1VqcLNOcotXcHn2DVlsTXgSoic+8IHlrngNEXbuWIimQE1XOYF6Z2hQmsRma/Ax4bw8OZIRTWdvxnqOhJ4F5vmp5AfAa53d/l9JX5YF77WZwRpLylbATA8lJQCdLj/LIYYsjC4tMD65t5Dw1HrKYmz42LGVSfs7XZUjaT9PAZVDsW15xF1QwNs9u1c1wXU2OJhvaXpJxLl29/swsOi27FJPRMsUoxJB8CkZV8M16LUuwFM4c4pAwZcPR1AfWn5mwsin2fR+0/l0qMoY9oPvV4FzumP4kOm1pJV/O6WCOCBaPcQNV4K1yj1SN2cS9UmuWr3oBtrD0M4PBfdDI1eNKu4C2qcRDA7XMrYdl4yFKElz5Pc7vJ5ZVbvKQ7kV3YD0q+FQuoun0l7aUK4jls78b6HnTqKdmG4GAW0b4XI9UnS24IU5iqTOIIYELGPGWvJaBL0ckP1vZDXndh+P7G2YBmmIo8uEGdmPeA/OnO4xbXgsf5z2muY6DKRE7AWoE+f40WHWGt3Q== x-ms-exchange-transport-forked: True 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: CY4PR11MB1702.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0d7a951d-974a-45f9-d204-08d85377dc88 X-MS-Exchange-CrossTenant-originalarrivaltime: 07 Sep 2020 21:49:13.6574 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: gHuSfVTMiuw71jGtEe8N3vUIlSVqH47LdRyQA8Vt4PQ/rxEuebtTLKpBYDZsBK0OdHaZCOHz2YvvkWmzDtA7NJh33doJvRSFuPnOV2DPklQ= X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR11MB0039 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH 40/40] examples/pipeline: add VXLAN encap example 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: Stephen Hemminger > Sent: Wednesday, August 26, 2020 6:05 PM > To: Dumitrescu, Cristian > Cc: dev@dpdk.org > Subject: Re: [dpdk-dev] [PATCH 40/40] examples/pipeline: add VXLAN encap > example >=20 > On Wed, 26 Aug 2020 16:14:45 +0100 > Cristian Dumitrescu wrote: >=20 > > +/* > > + * Packet headers. > > + */ > > +static struct rte_swx_field_params ethernet_h[] =3D { > > + {"dst_addr", 48}, > > + {"src_addr", 48}, > > + {"ether_type", 16}, > > +}; > > + >=20 > Could these tables be made const? Looks like read-only data. Thanks, Stephen, I just sent V2 where the examples have been completely rew= orked. The examples are now described in a pipeline specification file (clo= sely aligned with P4) parsed at initialization, as opposed of C code. Regards, Cristian