From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id D1F50A0542 for ; Fri, 7 Feb 2020 16:14:10 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id C203E1C02E; Fri, 7 Feb 2020 16:14:10 +0100 (CET) Received: from us-smtp-1.mimecast.com (us-smtp-1.mimecast.com [207.211.31.81]) by dpdk.org (Postfix) with ESMTP id 168171BF9A for ; Fri, 7 Feb 2020 16:14:08 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1581088448; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=vV4zgFtHvcAFPfsBocvOjHhTXnhbuCc/kJdLpCuCxX8=; b=YIBV0ZlowHGn9O0EiKqr4WxlTP7YbCpKSMfDaXbz0/G8FPTQxLdn0+M3MQVE71Ig2bRV86 mrL04CE/edgKRao62h82GowjQrgB47H88lW0Q59lLErvGph/B2q/2EEy7KZsgSVcQ/TP0q 9cGyQJ5maBYaAsftLctkLJu9qaR8kDc= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-19-m1FFh9eYMp2fYRAACgaG7A-1; Fri, 07 Feb 2020 10:14:00 -0500 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 41420800D54; Fri, 7 Feb 2020 15:13:59 +0000 (UTC) Received: from rh.redhat.com (unknown [10.33.36.76]) by smtp.corp.redhat.com (Postfix) with ESMTP id 928AB10016DA; Fri, 7 Feb 2020 15:13:57 +0000 (UTC) From: Kevin Traynor To: Xiaolong Ye Cc: Doug Dziggel , Dariusz Chaberski , Qi Zhang , Beilei Xing , dpdk stable Date: Fri, 7 Feb 2020 15:12:42 +0000 Message-Id: <20200207151248.29804-30-ktraynor@redhat.com> In-Reply-To: <20200207151248.29804-1-ktraynor@redhat.com> References: <20200207151248.29804-1-ktraynor@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 X-MC-Unique: m1FFh9eYMp2fYRAACgaG7A-1 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Subject: [dpdk-stable] patch 'net/i40e/base: fix Tx descriptors number' has been queued to LTS release 18.11.7 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" Hi, FYI, your patch has been queued to LTS release 18.11.7 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 02/13/20. So please shout if anyone has objections. Also note that after the patch there's a diff of the upstream commit vs the patch applied to the branch. This will indicate if there was any rebasing needed to apply to the stable branch. If there were code changes for rebasi= ng (ie: not only metadata diffs), please double check that the rebase was correctly done. Queued patches are on a temporary branch at: https://github.com/kevintraynor/dpdk-stable-queue This queued commit can be viewed at: https://github.com/kevintraynor/dpdk-stable-queue/commit/5244701b5c68f2eaf1= b2cd6e9ead06109b80b12b Thanks. Kevin. --- >From 5244701b5c68f2eaf1b2cd6e9ead06109b80b12b Mon Sep 17 00:00:00 2001 From: Xiaolong Ye Date: Mon, 13 Jan 2020 10:39:30 +0800 Subject: [PATCH] net/i40e/base: fix Tx descriptors number [ upstream commit 79bfe7808788c8a9fb7be87cb864dba2bcbab80d ] The existing driver allows setting the number of TX descriptors to the value that is indivisible by 32. This is not properly supported by x710 hardware. The patch limits the number of TX descriptors to the whole value of 32. Fixes: 8db9e2a1b232 ("i40e: base driver") Signed-off-by: Doug Dziggel Signed-off-by: Dariusz Chaberski Signed-off-by: Xiaolong Ye Acked-by: Qi Zhang Acked-by: Beilei Xing --- drivers/net/i40e/base/i40e_type.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/i40e/base/i40e_type.h b/drivers/net/i40e/base/i40e= _type.h index 7ba62cc121..1a637e40e8 100644 --- a/drivers/net/i40e/base/i40e_type.h +++ b/drivers/net/i40e/base/i40e_type.h @@ -80,6 +80,6 @@ typedef void (*I40E_ADMINQ_CALLBACK)(struct i40e_hw *, st= ruct i40e_aq_desc *); #define I40E_LO_BYTE(x)=09=09((u8)((x) & 0xFF)) =20 -/* Number of Transmit Descriptors must be a multiple of 8. */ -#define I40E_REQ_TX_DESCRIPTOR_MULTIPLE=098 +/* Number of Transmit Descriptors must be a multiple of 32. */ +#define I40E_REQ_TX_DESCRIPTOR_MULTIPLE=0932 /* Number of Receive Descriptors must be a multiple of 32 if * the number of descriptors is greater than 32. --=20 2.21.1 --- Diff of the applied patch vs upstream commit (please double-check if non-= empty: --- --- -=092020-02-07 15:08:19.084382128 +0000 +++ 0030-net-i40e-base-fix-Tx-descriptors-number.patch=092020-02-07 15:08:1= 7.556062392 +0000 @@ -1 +1 @@ -From 79bfe7808788c8a9fb7be87cb864dba2bcbab80d Mon Sep 17 00:00:00 2001 +From 5244701b5c68f2eaf1b2cd6e9ead06109b80b12b Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit 79bfe7808788c8a9fb7be87cb864dba2bcbab80d ] + @@ -12 +13,0 @@ -Cc: stable@dpdk.org @@ -24 +25 @@ -index 8d257e00af..f0e4b667aa 100644 +index 7ba62cc121..1a637e40e8 100644