From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <thomas.monjalon@6wind.com>
Received: from mail-wi0-f177.google.com (mail-wi0-f177.google.com
 [209.85.212.177]) by dpdk.org (Postfix) with ESMTP id EFF4B902
 for <dev@dpdk.org>; Thu, 16 Jul 2015 11:39:45 +0200 (CEST)
Received: by widic2 with SMTP id ic2so10260374wid.0
 for <dev@dpdk.org>; Thu, 16 Jul 2015 02:39: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:mime-version:content-transfer-encoding:content-type;
 bh=kt9KjPR2+3vfPbi3Nb4Rb2544BqUIUXIl2N1xfeGQ3Y=;
 b=a8p9I/e9TpaiZaZ4Y5ucLZdbzFPHDSTqBVdZTciimG8QXeY9W0va0gJpnlUh30hnu5
 eDfEcBMA2spj248wAoMMp6jJ8FHfVSTItMnVnSwR4U2dADdmf+HMuSAw63etQkXgR1xz
 PFCdZJKr46xsrYfaXLnvZzhP6xFWB4PluC4Jo41Pv+9ITf25Ffc81Bnt0DYET5mfI/70
 /IU96O/c5v/b228baEeqBuhGOAu3B2LUQ6PrWKCmaLtZPNY1A60Xv+kIp3PPpTp8LYd6
 cubV+TL4MCBG1/Q1aVnlbz9d3yaBnTht7xBs9IoIXm8ThkjkGB9fqy2J0ADPhDwldd8K
 pdHQ==
X-Gm-Message-State: ALoCoQnIUN3Cj8Jt874OuE2gGg6cDVRWrn5mDMM8os+HbNe5H2dYzeH0cyAXPFDf3za0+RMLaX/E
X-Received: by 10.194.104.98 with SMTP id gd2mr16044767wjb.35.1437039585802;
 Thu, 16 Jul 2015 02:39:45 -0700 (PDT)
Received: from xps13.localnet (6wind.net2.nerim.net. [213.41.151.210])
 by smtp.gmail.com with ESMTPSA id h9sm12040257wjq.10.2015.07.16.02.39.44
 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
 Thu, 16 Jul 2015 02:39:44 -0700 (PDT)
From: Thomas Monjalon <thomas.monjalon@6wind.com>
To: helin.zhang@intel.com
Date: Thu, 16 Jul 2015 11:38:34 +0200
Message-ID: <6168490.VZvRJEXbFC@xps13>
Organization: 6WIND
User-Agent: KMail/4.14.8 (Linux/4.0.4-2-ARCH; KDE/4.14.8; x86_64; ; )
MIME-Version: 1.0
Content-Transfer-Encoding: 7Bit
Content-Type: text/plain; charset="us-ascii"
Cc: dev@dpdk.org
Subject: [dpdk-dev] mbuf offload flags
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: patches and discussions about DPDK <dev.dpdk.org>
List-Unsubscribe: <http://dpdk.org/ml/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://dpdk.org/ml/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <http://dpdk.org/ml/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
X-List-Received-Date: Thu, 16 Jul 2015 09:39:46 -0000

Helin,

In commit http://dpdk.org/browse/dpdk/commit/?id=c22265f6fd4cdc, some fake flags
were added:

#define PKT_RX_EIP_CKSUM_BAD (0ULL << 0)  /**< External IP header checksum error. */                             
#define PKT_RX_OVERSIZE      (0ULL << 0)  /**< Num of desc of an RX pkt oversize. */
#define PKT_RX_HBUF_OVERFLOW (0ULL << 0)  /**< Header buffer overflow. */
#define PKT_RX_RECIP_ERR     (0ULL << 0)  /**< Hardware processing error. */
#define PKT_RX_MAC_ERR       (0ULL << 0)  /**< MAC error. */

Can we remove them?

In a tunnel case, what means PKT_RX_IP_CKSUM_BAD and PKT_RX_L4_CKSUM_BAD?
Inner or outer?
The API comment must be updated.