From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: Removal of IP version from packet offload feature flags Date: Mon, 31 Aug 2015 10:56:36 +0200 Message-ID: <4354342.IqQZSKtSMX@xps13> References: <55E40A4F.3030406@ics.muni.cz> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Cc: dev@dpdk.org To: Martin =?utf-8?B?RHJhxaFhcg==?= Return-path: Received: from mail-wi0-f176.google.com (mail-wi0-f176.google.com [209.85.212.176]) by dpdk.org (Postfix) with ESMTP id E782A8E7B for ; Mon, 31 Aug 2015 10:57:45 +0200 (CEST) Received: by wicpl12 with SMTP id pl12so21037324wic.1 for ; Mon, 31 Aug 2015 01:57:45 -0700 (PDT) In-Reply-To: <55E40A4F.3030406@ics.muni.cz> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 2015-08-31 10:03, Martin Dra=C5=A1ar: > I just tried to upgrade to 2.1.0 and suddenly my code stopped compili= ng, > because of using PKT_RX_IPV4_HDR feature flag and the like. In the > rte_mbuf.h there is this code: >=20 > > #ifndef RTE_NEXT_ABI > > #define PKT_RX_IPV4_HDR (1ULL << 5) /**< RX packet with IPv4 = header. */ > > #define PKT_RX_IPV4_HDR_EXT (1ULL << 6) /**< RX packet with exten= ded IPv4 header. */ > > #define PKT_RX_IPV6_HDR (1ULL << 7) /**< RX packet with IPv6 = header. */ > > #define PKT_RX_IPV6_HDR_EXT (1ULL << 8) /**< RX packet with exten= ded IPv6 header. */ > > #endif /* RTE_NEXT_ABI */ In order to keep compatibility with your old code, you have to disable RTE_NEXT_ABI in your configuration file (.config). > So I guess that means the code got deprecated between 2.0.0 and 2.1.0= , > although I did not find relevant comment in the changelog. My questio= n > is, what should I use instead and even better - why was this change m= ade? See "Extended packet type support" in =09http://dpdk.org/doc/guides/rel_notes/release_2_1.html and =09http://dpdk.org/doc/guides/rel_notes/deprecation.html