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 516A5A051C for ; Tue, 11 Feb 2020 12:28:10 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 4A1932B9C; Tue, 11 Feb 2020 12:28:10 +0100 (CET) Received: from mail-wr1-f68.google.com (mail-wr1-f68.google.com [209.85.221.68]) by dpdk.org (Postfix) with ESMTP id CBF3C1BF9C for ; Tue, 11 Feb 2020 12:28:08 +0100 (CET) Received: by mail-wr1-f68.google.com with SMTP id g3so10800428wrs.12 for ; Tue, 11 Feb 2020 03:28:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=dbnfQqgKfYcy+LmJKCRoR+We8wVMbQKe6aiDUooYo6U=; b=RURDuKZn64zf3pZTmmRDZrAA0lVK5XO0v2IcVGSz0HgrZ9jnAXFCYccL9iCpXY76wB VxWuKeVXUF+OXweGo/0VyvkI2RyMyI+FzkGeoFuVORjAsn8Fcrc+UX6O62t11/9brOP1 cUUqH/dqjThIV/NbOYYfaprKu8RvBGi89viu8IRTRLYbbufKkvWmeM0zBId8HqjDPGLE V5FA/KuCzSv97QpCsNm4CKQqQ+mCyR1NntdUbUwDWK3KW4L1TiuhW9ZU32qs6qHwXMuh otJPgZlei5Ls2qGNYEiVRhYD07okY7KO2mt7AvRhtYdHQVp2SeDFAq9+PCoKL3SiHOJs dNNw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=dbnfQqgKfYcy+LmJKCRoR+We8wVMbQKe6aiDUooYo6U=; b=fo2c9+lOdTKILoQRgBZuqUHElHAsOKr4czkHd1LL/Fc9h9fhwOGzTsfIlXHkv//LD8 w3zRbKopXRpY8pZ5JzMiAbncWpx5rL5amKvUp1CEjb9Nolt6o8fmmaPtu6s0ctz5N2Lv RKlOWA99Bzs8A3NMcaKKHXvioj7iuCF9W1wNZRhQRqHyeY/RfKEUWndzqTt0DJr1oe4Z Yd6GMyfyyomRD4sntDJ3oI+3y3IUVr4bqNRik1ueUR73oLRd+clMdfHusnXZnOH2irKx lJunU8knNqF1HLspLfzsr8VgpAuz2NgF0dToir4uDAbf73x55R8O1n0l8x28oUiZUsXo HY/g== X-Gm-Message-State: APjAAAULVjFUmiY7aa0FbqdrgwSnLUg985agTPd5tgd1sCR+M0lLmpll fpjLb7FFwup/z23E2VbPHug= X-Google-Smtp-Source: APXvYqzkejqml0mW2NjV3YvS977x2ibbBbTZP2wwbQdeD1IqRfFkgT1L3pygondYXii4sZIhPcwvHA== X-Received: by 2002:adf:aadb:: with SMTP id i27mr8591656wrc.105.1581420488578; Tue, 11 Feb 2020 03:28:08 -0800 (PST) Received: from localhost ([88.98.246.218]) by smtp.gmail.com with ESMTPSA id t5sm4812225wrr.35.2020.02.11.03.28.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Feb 2020 03:28:08 -0800 (PST) From: luca.boccassi@gmail.com To: Xiaolong Ye Cc: Piotr Azarewicz , Qi Zhang , Beilei Xing , dpdk stable Date: Tue, 11 Feb 2020 11:20:14 +0000 Message-Id: <20200211112216.3929-68-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200211112216.3929-1-luca.boccassi@gmail.com> References: <20200211112216.3929-1-luca.boccassi@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-stable] patch 'net/i40e/base: fix buffer address' has been queued to stable release 19.11.1 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 stable release 19.11.1 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 rebasing (ie: not only metadata diffs), please double check that the rebase was correctly done. Thanks. Luca Boccassi --- >From 3a6ea0b2ba066019b2978fe5466bdeedb2e3efc0 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/i40e_common.c index 37911a99e5..356c2da581 100644 --- a/drivers/net/i40e/base/i40e_common.c +++ b/drivers/net/i40e/base/i40e_common.c @@ -4300,7 +4300,7 @@ enum i40e_status_code i40e_aq_set_lldp_mib(struct i40e_hw *hw, cmd->type = mib_type; cmd->length = CPU_TO_LE16(buff_size); - cmd->address_high = CPU_TO_LE32(I40E_HI_WORD((u64)buff)); + cmd->address_high = CPU_TO_LE32(I40E_HI_DWORD((u64)buff)); cmd->address_low = CPU_TO_LE32(I40E_LO_DWORD((u64)buff)); status = i40e_asq_send_command(hw, &desc, buff, buff_size, cmd_details); -- 2.20.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2020-02-11 11:17:41.367233380 +0000 +++ 0068-net-i40e-base-fix-buffer-address.patch 2020-02-11 11:17:38.464002544 +0000 @@ -1,14 +1,15 @@ -From 8f33cbcfa17bd578c7c614981ef574b33e09af72 Mon Sep 17 00:00:00 2001 +From 3a6ea0b2ba066019b2978fe5466bdeedb2e3efc0 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") -Cc: stable@dpdk.org Signed-off-by: Piotr Azarewicz Signed-off-by: Xiaolong Ye @@ -19,10 +20,10 @@ 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/i40e/base/i40e_common.c b/drivers/net/i40e/base/i40e_common.c -index cee6de2a80..0b26f86c55 100644 +index 37911a99e5..356c2da581 100644 --- a/drivers/net/i40e/base/i40e_common.c +++ b/drivers/net/i40e/base/i40e_common.c -@@ -4311,7 +4311,7 @@ enum i40e_status_code i40e_aq_set_lldp_mib(struct i40e_hw *hw, +@@ -4300,7 +4300,7 @@ enum i40e_status_code i40e_aq_set_lldp_mib(struct i40e_hw *hw, cmd->type = mib_type; cmd->length = CPU_TO_LE16(buff_size);