From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?Q?Martin_Dra=c5=a1ar?= Subject: Removal of IP version from packet offload feature flags Date: Mon, 31 Aug 2015 10:03:27 +0200 Message-ID: <55E40A4F.3030406@ics.muni.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Transfer-Encoding: 7bit To: dev@dpdk.org 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 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" 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