From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf0-f179.google.com (mail-pf0-f179.google.com [209.85.192.179]) by dpdk.org (Postfix) with ESMTP id 5040E5A08 for ; Thu, 21 Jul 2016 23:21:53 +0200 (CEST) Received: by mail-pf0-f179.google.com with SMTP id p64so33987612pfb.1 for ; Thu, 21 Jul 2016 14:21:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=f8Qz0/qynAlhSXTCu42+yd/+fXeEvKwlwsjY1mmkNfk=; b=tvryHMRVY/9alhKdI5+rAHjqAjaF/hKPyUTzlsxObLgy1KbucrxNRjTlMuk3SUyPhb J+rp0MOIIya9KEjm4zyFzBzzlmPTru/BedN/2S11ltD17GHcMf1G0fHAamCBzUiuwRzi ONYyO+5Z1ejslwL4tVKHsPFT+Y2YCuwMvZFTRRbIso4gM5QbHJS10TF1Nzr2ewrEiwVb AcyGEvRXxOmgjlYmacQmrTvzgQU9p+aXisiYfAhT/ECuZYlZnQr2cIO780MQ1mIM5ssj XeNIQTGL4nLy7YQql7Z2DT9zBaISjguOWWOBBuRuPgK9tWRivanB3dNzfuYEURUTSTbN GqVw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=f8Qz0/qynAlhSXTCu42+yd/+fXeEvKwlwsjY1mmkNfk=; b=eUpzXGtK75KRhWIfVUuPvHNJlwE5qmO8T4pT/wK23tFiX74k3v1F7QmAoGur6zZvqr y/b2EL9VleaDlVAf41A9z6K5/3lE2x00Xis+N9VTi9W8GBr8kv8l/C9BP1mLuakPaWd4 vc5QSgG6n/Klc8OCIeaLN2Gzyxlzc9OdiXCKep//D2uIQLcsH8DVoXRwFGSflqNGQ52H AKhjkt2AT2dvQqlXJn/EbajpzzOap+u5ZvQny/5V/T9lTSN4XRQPcEssORcv5a/0q3/D BFiGapJ4MWc4KLZX4++7BBKeEfv10GOeiut2nngcVKMbVrLGX+X6Mc9oZUafGW0RucjG fmig== X-Gm-Message-State: AEkoouvekAYJynLMh5x8sUrQ044HeSE6UfBbQLccRxMSpuUZDZv9MnYPurm1w5F3POMB2w== X-Received: by 10.98.46.70 with SMTP id u67mr546672pfu.134.1469136112683; Thu, 21 Jul 2016 14:21:52 -0700 (PDT) Received: from xeon-e3 (static-50-53-69-251.bvtn.or.frontiernet.net. [50.53.69.251]) by smtp.gmail.com with ESMTPSA id t1sm14428914pfa.86.2016.07.21.14.21.52 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 21 Jul 2016 14:21:52 -0700 (PDT) Date: Thu, 21 Jul 2016 14:22:08 -0700 From: Stephen Hemminger To: Olivier Matz Cc: dev@dpdk.org, yuanhan.liu@linux.intel.com, konstantin.ananyev@intel.com, sugesh.chandran@intel.com, bruce.richardson@intel.com, jianfeng.tan@intel.com, helin.zhang@intel.com, adrien.mazarguil@6wind.com Message-ID: <20160721142208.0cf399e3@xeon-e3> In-Reply-To: <1469088510-7552-6-git-send-email-olivier.matz@6wind.com> References: <1469088510-7552-1-git-send-email-olivier.matz@6wind.com> <1469088510-7552-6-git-send-email-olivier.matz@6wind.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH 05/12] mbuf: add new Rx checksum mbuf 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: Thu, 21 Jul 2016 21:21:53 -0000 On Thu, 21 Jul 2016 10:08:23 +0200 Olivier Matz wrote: > +/** > + * Deprecated. > + * Checking this flag alone is deprecated: check the 2 bits of > + * PKT_RX_L4_CKSUM_MASK. > + * This flag was set when the L4 checksum of a packet was detected as > + * wrong by the hardware. > + */ > +#define PKT_RX_L4_CKSUM_BAD (1ULL << 3) > + > +/** > + * Deprecated. > + * Checking this flag alone is deprecated: check the 2 bits of > + * PKT_RX_IP_CKSUM_MASK. > + * This flag was set when the IP checksum of a packet was detected as > + * wrong by the hardware. > + */ > +#define PKT_RX_IP_CKSUM_BAD (1ULL << 4) I think you should use the GCC deprecated attribute, not sure how though