From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f180.google.com (mail-wi0-f180.google.com [209.85.212.180]) by dpdk.org (Postfix) with ESMTP id 445025A43 for ; Wed, 15 Jul 2015 12:19:20 +0200 (CEST) Received: by widjy10 with SMTP id jy10so124325072wid.1 for ; Wed, 15 Jul 2015 03:19:20 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=WzjBGUZgBZpe9WL7mkRmR9jrjyPT1/ZEE+J3jvvfwtI=; b=b8mErAFAxroIrqfBd7ZNaHnet8J4vDHe7h8bnN5Fgw1hwvROVSMipHyulECrbxnrOR jguDi1seT72vCBtt3Fb3Bb6pyaJyXMMKitMcfvp0dYp5K5zR1qNqD7BowJHpl98lwzr7 cCBiokp07vNOoyL+A8cgSMgwNamzkuudeJofmCdspMGtOEke9Eo+82ScXDIYyu2a/8Qp B/HMFtWAreaOPLM3K2/m976v4IuhTBJgXCi0BVev7nvZOIfHjYo5zq9INP/RE7OeHOg0 tD3Jrz8dxLrhgHtWWZYGvCRRwA3az8KfZzbcUINMwWSd6bYkjLOnS8ge0YHeTad+RoZw 3rXw== X-Gm-Message-State: ALoCoQnftoM1X57sgI4x7ms7TnFqq+q8ttqxIGYLb7CykCiCq1HPEqxs+IhpMt6BJ3WZCcbeGkKP X-Received: by 10.194.103.130 with SMTP id fw2mr7142050wjb.121.1436955560128; Wed, 15 Jul 2015 03:19:20 -0700 (PDT) Received: from [10.16.0.195] (6wind.net2.nerim.net. [213.41.151.210]) by smtp.gmail.com with ESMTPSA id ju2sm8360225wid.12.2015.07.15.03.19.18 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 15 Jul 2015 03:19:19 -0700 (PDT) Message-ID: <55A633A0.10203@6wind.com> Date: Wed, 15 Jul 2015 12:19:12 +0200 From: Olivier MATZ User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.7.0 MIME-Version: 1.0 To: Helin Zhang , dev@dpdk.org References: <1435912347-19499-1-git-send-email-helin.zhang@intel.com> <1436459501-14173-1-git-send-email-helin.zhang@intel.com> <1436459501-14173-3-git-send-email-helin.zhang@intel.com> In-Reply-To: <1436459501-14173-3-git-send-email-helin.zhang@intel.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH v10 02/19] mbuf: add definitions of unified packet types X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Jul 2015 10:19:20 -0000 On 07/09/2015 06:31 PM, Helin Zhang wrote: > As there are only 6 bit flags in ol_flags for indicating packet > types, which is not enough to describe all the possible packet > types hardware can recognize. For example, i40e hardware can > recognize more than 150 packet types. Unified packet type is > composed of L2 type, L3 type, L4 type, tunnel type, inner L2 type, > inner L3 type and inner L4 type fields, and can be stored in > 'struct rte_mbuf' of 32 bits field 'packet_type'. > To avoid breaking ABI compatibility, all the changes would be > enabled by RTE_NEXT_ABI, which is disabled by default. > > Signed-off-by: Helin Zhang Acked-by: Olivier Matz