From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from minas.ics.muni.cz (minas.ics.muni.cz [147.251.4.46]) by dpdk.org (Postfix) with ESMTP id DE5C98D86 for ; Mon, 31 Aug 2015 10:03:34 +0200 (CEST) Received: from [147.251.17.24] (dhcp17-24.ics.muni.cz [147.251.17.24]) (authenticated user=98998@is.muni.cz bits=0) by minas.ics.muni.cz (8.14.4/8.14.4/Debian-4) with ESMTP id t7V83XoV049151 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Mon, 31 Aug 2015 10:03:34 +0200 To: dev@dpdk.org From: =?UTF-8?Q?Martin_Dra=c5=a1ar?= Message-ID: <55E40A4F.3030406@ics.muni.cz> Date: Mon, 31 Aug 2015 10:03:27 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Transfer-Encoding: 7bit X-Muni-Envelope-From: drasar@ics.muni.cz X-Muni-Spam-TestIP: 147.251.17.24 X-Muni-Local-IP: yes X-Muni-Local-Auth: yes X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.3.9 (minas.ics.muni.cz [147.251.4.35]); Mon, 31 Aug 2015 10:03:34 +0200 (CEST) X-Virus-Scanned: clamav-milter 0.98.7 at minas X-Virus-Status: Clean Subject: [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:03:35 -0000 Hi, I just tried to upgrade to 2.1.0 and suddenly my code stopped compiling, because of using PKT_RX_IPV4_HDR feature flag and the like. In the rte_mbuf.h there is this code: > #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 extended 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 extended IPv6 header. */ > #endif /* RTE_NEXT_ABI */ 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 question is, what should I use instead and even better - why was this change made? Thank you, Martin