From mboxrd@z Thu Jan 1 00:00:00 1970 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) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=H9028RoJHwhEdWpKfQzX4soDGsJEa0PJP62W1olSubg=; b=CsHlujwJpZoxpZb14vxpC3d52HsYGW5w4o7ndjowEuimq/GJPuzfzXoZPNkZNsFE7Y a4heolgxIepn0zYEec4YWmVbgZdiLiUR+hf1XLphqnBFRDFTBu50g3eK9L+MBMZIyebV J99HWf0Ouy9e8lAO1iQ1daz4Bu10o0JrRg1u6Urz2mbnwT7lW9C/5U36lcFBG4ydyJ8v DFpoUL1ixxe7auRkvJy82o2EnFSihxZowFO7+EBZPWPU8Ovt/BMpAXVeUF42akHnEMUi R0FNuIC3SLd8cVfdRBeeaQ2kxdSViuEdgoE8VkdtZj0FNJYL3wcsrznHj1js9IMMWicB 7dpw== X-Gm-Message-State: ALoCoQnkqPWGCJlvvaqGuozmStJuNZLgHZ9v29xrcDXgkv/ueLSzf7KUG6lxLksPPAJ6JVp1QjkP X-Received: by 10.194.184.232 with SMTP id ex8mr26363968wjc.42.1441011465813; Mon, 31 Aug 2015 01:57:45 -0700 (PDT) Received: from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by smtp.gmail.com with ESMTPSA id kb1sm21162102wjc.24.2015.08.31.01.57.44 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 31 Aug 2015 01:57:45 -0700 (PDT) From: Thomas Monjalon To: Martin =?utf-8?B?RHJhxaFhcg==?= Date: Mon, 31 Aug 2015 10:56:36 +0200 Message-ID: <4354342.IqQZSKtSMX@xps13> Organization: 6WIND User-Agent: KMail/4.14.10 (Linux/4.1.6-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <55E40A4F.3030406@ics.muni.cz> References: <55E40A4F.3030406@ics.muni.cz> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Cc: dev@dpdk.org Subject: Re: [dpdk-dev] Removal of IP version from packet offload feature flags 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: Mon, 31 Aug 2015 08:57:46 -0000 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