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 8273CA0542 for ; Fri, 7 Feb 2020 16:14:03 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 7A7241C02E; Fri, 7 Feb 2020 16:14:03 +0100 (CET) Received: from us-smtp-delivery-1.mimecast.com (us-smtp-2.mimecast.com [205.139.110.61]) by dpdk.org (Postfix) with ESMTP id CE8E71C02E for ; Fri, 7 Feb 2020 16:14:02 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1581088442; 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=owLKxotI8RH3cRw2DB9c32Pb8lk0G6KmwBjLobf4LDM=; b=Au88K/R/SoNqwQ805KX0duCJEf8MAtsE7RiyMyG2ddy9dLAQLfN8/M5y0XrqTF9AJcT68Z 6sfFebDtq8Pxqf6gCaG3ulbpAxdb6HMC6VgcwxBcVBskv/QV7PIoHwdiSNmLRWzuCDKMsm 1NxAQKLvSeDHIJGtkvaG0VbLBVRsqxs= 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-154-FnJHermCNe60xua50dpPSA-1; Fri, 07 Feb 2020 10:13:56 -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 3FDF595BA1; Fri, 7 Feb 2020 15:13:55 +0000 (UTC) Received: from rh.redhat.com (unknown [10.33.36.76]) by smtp.corp.redhat.com (Postfix) with ESMTP id C47581001B0B; Fri, 7 Feb 2020 15:13:53 +0000 (UTC) From: Kevin Traynor To: Xiaolong Ye Cc: Piotr Azarewicz , Qi Zhang , Beilei Xing , dpdk stable Date: Fri, 7 Feb 2020 15:12:40 +0000 Message-Id: <20200207151248.29804-28-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: FnJHermCNe60xua50dpPSA-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 buffer address' 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/d913587a43dfc92889= 1cdec5cc7ec5f83aff2157 Thanks. Kevin. --- >From d913587a43dfc928891cdec5cc7ec5f83aff2157 Mon Sep 17 00:00:00 2001 From: Xiaolong Ye Date: Mon, 13 Jan 2020 10:39:15 +0800 Subject: [PATCH] net/i40e/base: fix buffer address [ upstream commit 8f33cbcfa17bd578c7c614981ef574b33e09af72 ] The high 32-bits were being set incorrectly in the 'Set Local LLDP MIB' AQ command (0x0A08). Change it to use the right macro to get the correct bits. Fixes: 1fa6324ad30b ("i40e/base: add new interfaces") Signed-off-by: Piotr Azarewicz Signed-off-by: Xiaolong Ye Acked-by: Qi Zhang Acked-by: Beilei Xing --- drivers/net/i40e/base/i40e_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/i40e/base/i40e_common.c b/drivers/net/i40e/base/i4= 0e_common.c index 8a98afff12..87fa7e183f 100644 --- a/drivers/net/i40e/base/i40e_common.c +++ b/drivers/net/i40e/base/i40e_common.c @@ -4303,5 +4303,5 @@ enum i40e_status_code i40e_aq_set_lldp_mib(struct i40= e_hw *hw, =09cmd->type =3D mib_type; =09cmd->length =3D CPU_TO_LE16(buff_size); -=09cmd->address_high =3D CPU_TO_LE32(I40E_HI_WORD((u64)buff)); +=09cmd->address_high =3D CPU_TO_LE32(I40E_HI_DWORD((u64)buff)); =09cmd->address_low =3D CPU_TO_LE32(I40E_LO_DWORD((u64)buff)); =20 --=20 2.21.1 --- Diff of the applied patch vs upstream commit (please double-check if non-= empty: --- --- -=092020-02-07 15:08:18.976222654 +0000 +++ 0028-net-i40e-base-fix-buffer-address.patch=092020-02-07 15:08:17.55206= 2445 +0000 @@ -1 +1 @@ -From 8f33cbcfa17bd578c7c614981ef574b33e09af72 Mon Sep 17 00:00:00 2001 +From d913587a43dfc928891cdec5cc7ec5f83aff2157 Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit 8f33cbcfa17bd578c7c614981ef574b33e09af72 ] + @@ -11 +12,0 @@ -Cc: stable@dpdk.org @@ -22 +23 @@ -index cee6de2a80..0b26f86c55 100644 +index 8a98afff12..87fa7e183f 100644 @@ -25 +26 @@ -@@ -4312,5 +4312,5 @@ enum i40e_status_code i40e_aq_set_lldp_mib(struct i4= 0e_hw *hw, +@@ -4303,5 +4303,5 @@ enum i40e_status_code i40e_aq_set_lldp_mib(struct i4= 0e_hw *hw,