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 333EAA04B1; Wed, 26 Aug 2020 19:05:40 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 567FA4C89; Wed, 26 Aug 2020 19:05:39 +0200 (CEST) Received: from mail-pg1-f195.google.com (mail-pg1-f195.google.com [209.85.215.195]) by dpdk.org (Postfix) with ESMTP id F1F5F2986 for ; Wed, 26 Aug 2020 19:05:37 +0200 (CEST) Received: by mail-pg1-f195.google.com with SMTP id d19so1346418pgl.10 for ; Wed, 26 Aug 2020 10:05:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=fB9sJAocpPQgHDIpZVP1aU1NV5Na02aCBEIHkB4ZSlA=; b=a4IlV69uqqTX2pUSBGcxiGv9UJQ6GimeSe6+I3AtKOooyf0XhIzBqjGMy30m8/K7Yh SWChLCENOt0Z7EfOZYiX/+uJ3EBc27ZxJjTOmif+o4dOBZYVaon8RBN4OdVC/QdyV5QQ zBggMFk7h+ydTE3NuMEan4HKW/k7QW6t0rc69io6V1cpsEE6BFAWDVi7jCMPsAvrWnOq PD7hFsmy8bJfIwoTkY5AKy2mRwMXrDyhw7OSLOzpXGB9zI1VWMICK6ZraHdx5zVyUMKa PQFW+XTIyA9ptZ+oHfnEsUEKvz+DtL0NVwGdkn7BnUiJKdalOarCbA1p5LAD/ykZlPMY Okbg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=fB9sJAocpPQgHDIpZVP1aU1NV5Na02aCBEIHkB4ZSlA=; b=ChW+xeT5upwG+tN1TfB/vJQOsXhec0e7GfDls3xCkEVFqGw0nf9CTaX2LlIXTLYxvK v2b1iEICdSOHl1Vm7DSQHN+EdF0xx0MH8H3wOENt8VcUlfetz3gt/sy0p2hTYrDLaXCW SC79YgW3rCxieyXB73aPd5Q/3hEje5boh3edZ7PQSsUSjgq+FVwMA5WkO0yQOCUrAOrA Bs3LfmsZYybU8tGLBff5faVy88zCYfRAYcmWT91ZV66//sZPvmD9Ut0UrxVrIaZ56aAO 7aBMXh9e2LaScy/Ix1Uk9d+QzgWdeyGw4vBpduiQKVJvWGBivM22+aqrNz2UnUDTc4Hm yD1A== X-Gm-Message-State: AOAM531T+cm/yxRKy7QfaLsX+K8f8j1zzCb5GnSd96UnrzXW0E78TBI3 bPpGcHd/PZMDPxn3jCMvl9i27Q== X-Google-Smtp-Source: ABdhPJwVn9RG2biiuGsw4Tkwfk6MDPSKoW4NxtUBsmFmBJCg+ThIbTrOtFEMhYwIXaHlZKV7ktZDOQ== X-Received: by 2002:a05:6a00:14ce:: with SMTP id w14mr12672954pfu.119.1598461536814; Wed, 26 Aug 2020 10:05:36 -0700 (PDT) Received: from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id d127sm3589863pfc.175.2020.08.26.10.05.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Aug 2020 10:05:36 -0700 (PDT) Date: Wed, 26 Aug 2020 10:05:28 -0700 From: Stephen Hemminger To: Cristian Dumitrescu Cc: dev@dpdk.org Message-ID: <20200826100528.7ba5d77b@hermes.lan> In-Reply-To: <20200826151445.51500-41-cristian.dumitrescu@intel.com> References: <20200826151445.51500-1-cristian.dumitrescu@intel.com> <20200826151445.51500-41-cristian.dumitrescu@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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" On Wed, 26 Aug 2020 16:14:45 +0100 Cristian Dumitrescu wrote: > +/* > + * Packet headers. > + */ > +static struct rte_swx_field_params ethernet_h[] = { > + {"dst_addr", 48}, > + {"src_addr", 48}, > + {"ether_type", 16}, > +}; > + Could these tables be made const? Looks like read-only data.