From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f172.google.com (mail-wi0-f172.google.com [209.85.212.172]) by dpdk.org (Postfix) with ESMTP id C55A2C398 for ; Mon, 3 Aug 2015 21:42:55 +0200 (CEST) Received: by wibxm9 with SMTP id xm9so128256082wib.1 for ; Mon, 03 Aug 2015 12:42:55 -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=uBhBB88yamLu9YUl0qzd/WEdvRvJW5XaBSjtOIdpT84=; b=Loh93WhQDat6f9Ww+RTKIia7xd6z6Osvw5jXSI0dZ5tnW8G/reIiq6IDa5ln+wVyy/ sXdCPwZKv23ETV8GOfiauAUv6Clfs1IweiMMtjsbnpKIdmwexq8DU1b2DaOLw/B89XAV En1Wuqgluc8GbNJnDh5Q/0MiQKjQKxOubplLgj8mBt/YBTVGu6TqBsg8CScMwE7e2bh9 +yUSj6lTfgkaRkwndizEEWNJSug8Uua1sLV64NjIhDNpIOZuhUNJulwITgOHMI/pnJBz GrB/KZGzGvrELf81iVEnx8mH9A1rXLbSPCA5fG+Jui4L5XQNUsTEmkJcNv5r3vvLoK/b 93OA== X-Gm-Message-State: ALoCoQl6u7GqZFXgua3dSZ+jo3XZXvozP9i5MuQV4ePNuFhZfjM5GrdmoYcDK2yuZuHK/4CzbgmV X-Received: by 10.194.201.71 with SMTP id jy7mr38499366wjc.93.1438630975611; Mon, 03 Aug 2015 12:42:55 -0700 (PDT) Received: from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by smtp.gmail.com with ESMTPSA id ny7sm15081901wic.11.2015.08.03.12.42.53 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 03 Aug 2015 12:42:54 -0700 (PDT) From: Thomas Monjalon To: Konstantin Ananyev Date: Mon, 03 Aug 2015 21:41:39 +0200 Message-ID: <1654946.GBBfK7fVZs@xps13> Organization: 6WIND User-Agent: KMail/4.14.8 (Linux/4.0.4-2-ARCH; KDE/4.14.8; x86_64; ; ) In-Reply-To: <1438624781-28184-1-git-send-email-konstantin.ananyev@intel.com> References: <1438624781-28184-1-git-send-email-konstantin.ananyev@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] ixgbe: fix RX is not working properly when buffer address is not word aligned 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, 03 Aug 2015 19:42:56 -0000 2015-08-03 18:59, Konstantin Ananyev: > Niantic HW expects Header Buffer Address in the RXD to be word aligned. > So, if mbuf's buf_physaddr is not word aligned then > RX path will not work properly. > Right now, in ixgbe PMD we always setup Packet Buffer Address(PBA) and > Header Buffer Address (HBA) to the same value: > buf_physaddr + RTE_PKTMBUF_HEADROOM. > As ixgbe PMD doesn't support split header feature anyway, > the issue can be fixied just by always setting HBA in the RXD to zero. > > Signed-off-by: Konstantin Ananyev Applied, thanks