From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f171.google.com (mail-wi0-f171.google.com [209.85.212.171]) by dpdk.org (Postfix) with ESMTP id 74033C41C for ; Sun, 2 Aug 2015 23:58:23 +0200 (CEST) Received: by wibud3 with SMTP id ud3so113940706wib.1 for ; Sun, 02 Aug 2015 14:58:23 -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=78GPTMFs916xFX2AeeqIPldr/8+w94R9y2eaCYZDnIY=; b=hj/xGKMdee7GYiLL5W/FhejT+1PO2bXV5bnqS5469LqiQbxa/5TvW/oai/vjzHptBl hnOt0UvtgAiUs+BT4grC4mDjPySbWa2TxSjZUPgykCWzR5tKnpEkmmgbrdcTpofG3UuZ ys8jYrJ5ONbbDoibng/vkK89l2ColvN4Ha0V7l0Aps7LViwaf8LUFngkUDgfE1LqgMBM SMkXE1eem1QsziMZj8e2twAxHFsQdsUJ58J68i7dwmBRKRFnLGqGUI1a9b1fXX3SVC2C f7vOJNTce9tLufxJ8gAs11hHzm06qnrnJ1dk+MG6XeheLoFvJa5CQgKw7zqcaERMVAnc 0qfA== X-Gm-Message-State: ALoCoQmEurdkeI5pVJRbFUFcLCAdgODJWWAhiWnXDdLCUr8WXzlEfjr18H4gdBUuIK6xFQZpCiXn X-Received: by 10.180.94.7 with SMTP id cy7mr26038373wib.79.1438552703300; Sun, 02 Aug 2015 14:58:23 -0700 (PDT) Received: from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by smtp.gmail.com with ESMTPSA id bu12sm19474951wjb.44.2015.08.02.14.58.21 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 02 Aug 2015 14:58:22 -0700 (PDT) From: Thomas Monjalon To: Helin Zhang Date: Sun, 02 Aug 2015 23:57:08 +0200 Message-ID: <1767019.fJcHX0QXRP@xps13> Organization: 6WIND User-Agent: KMail/4.14.8 (Linux/4.0.4-2-ARCH; KDE/4.14.8; x86_64; ; ) In-Reply-To: <1438207699-11848-1-git-send-email-helin.zhang@intel.com> References: <1438207699-11848-1-git-send-email-helin.zhang@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH] i40e: fix the issue of wrongly reporting descriptor done 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: Sun, 02 Aug 2015 21:58:23 -0000 2015-07-30 06:08, Helin Zhang: > Header buffer address for header split will be filled with the > physical address for DMA, which is actually not needed at all, > as header split hasn't been supported. Hardware requires the > least bit of header address which is 'Descriptor Done' bit when > write back should be set to 0 by driver. > The issue is that if the user wants to reserve an odd number of > bytes between the mbuf header and data buffer, the physical address > to be filled in the descriptor would happen to be odd. That means > the DD bit would be set to non-zero by driver. That will result in > reporting descriptor done wrongly. > > Signed-off-by: Helin Zhang Applied, thanks