From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f66.google.com (mail-wm0-f66.google.com [74.125.82.66]) by dpdk.org (Postfix) with ESMTP id 9AAEF1B818 for ; Tue, 15 May 2018 15:49:23 +0200 (CEST) Received: by mail-wm0-f66.google.com with SMTP id o78-v6so1290923wmg.0 for ; Tue, 15 May 2018 06:49:23 -0700 (PDT) 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; bh=+L2IhlE8jRfp6r+SNnGecOTXmgybtmc4pIoTzWiNYwI=; b=KUQxc1hG6Zxpp1nOU+SkN6YzKin94C+gukEr8N7RiFVUVBzzGHr0Fa5V31xBtIXrMe HEXRMqYn9wPZRJK0meWQxeFWmrdXt4Q67RVMlqb1Xiz1aeslp1qZOLHiJPNf7Lxmzg0V OnHaHArZEFBAdsk/umWNrst0WVmIbaQu4zVoPrRfn9jWvYuFM4Kgi6pRW8BGHoX6oWC6 SEh19eo/PuaKo1By0YJDphweyNI3E/ZiPFuLRcZRi0M7cYqK4ND8CkCy+S/AFQscZziD wUucJvQgSMTEXb44zK6upYccqEEMTwo+n6/enr/6OT7qSmepA9tYqaRhtZLBdgWU5iJY omKQ== 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; bh=+L2IhlE8jRfp6r+SNnGecOTXmgybtmc4pIoTzWiNYwI=; b=aYkGN9Np0QU9jAM4EKGRAusO/QFTLJmwUqWOEQvpzNki3DxWMPcfpsbWaUWCBkY+h+ aHed+e+jXQ2F2+FrMDhbDClGrHkcbTgYZA2nLaxGja4GTMQHZgHkQPra06jGa9sLr+Qv zdA5INqD0x1DuZOdW7u4mq7X/RT5DZ5YZNevRhzDy6VZO4sHlmqensFK6+J7TSmvCVUb h9jO5L+1iWH5oTDN3yOyOp6KxwgHcopp/UoAOat0Z/7eegMa+XS/Bw2WYV83zVkJmYom QYebnHLzUXCuEOLcpeDI2kQRIL675DLgFumr/pg0HPGkbNKtcZ31jW6VvbJc7/nGa8Lv nSAg== X-Gm-Message-State: ALKqPwflg+04hN5EfP7vi6lbiWaOKauc9GBETgG6cQzEa2O4tr+e4du6 bdlU2E95VW9++dmIIVfHGS0= X-Google-Smtp-Source: AB8JxZprxNqu7E3EeO/YDhhIT5xPvsRpFDI3007UXf+vc5XIAMluRCe5K7NyEf4vWkjPXJjkMTFtKQ== X-Received: by 2002:a1c:e046:: with SMTP id x67-v6mr7540673wmg.154.1526392163325; Tue, 15 May 2018 06:49:23 -0700 (PDT) Received: from localhost (slip139-92-244-193.lon.uk.prserv.net. [139.92.244.193]) by smtp.gmail.com with ESMTPSA id p17-v6sm567503wmc.17.2018.05.15.06.49.22 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 15 May 2018 06:49:22 -0700 (PDT) From: luca.boccassi@gmail.com To: Beilei Xing Cc: dpdk stable Date: Tue, 15 May 2018 14:47:12 +0100 Message-Id: <20180515134731.9337-61-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.14.2 In-Reply-To: <20180515134731.9337-1-luca.boccassi@gmail.com> References: <20180503110612.12146-2-luca.boccassi@gmail.com> <20180515134731.9337-1-luca.boccassi@gmail.com> Subject: [dpdk-stable] patch 'net/i40e: print global register change info' has been queued to stable release 18.02.2 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: , X-List-Received-Date: Tue, 15 May 2018 13:49:23 -0000 Hi, FYI, your patch has been queued to stable release 18.02.2 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 05/16/18. So please shout if anyone has objections. Thanks. Luca Boccassi --- >>From 7d39632c52b278b90853e8165b04c8a54e0a44b7 Mon Sep 17 00:00:00 2001 From: Beilei Xing Date: Fri, 11 May 2018 06:48:38 +0800 Subject: [PATCH] net/i40e: print global register change info [ upstream commit 9153411e447d300793148c986f9d9d0e8f6d4220 ] Global register change info during enabling flexible payload is not printed. This patch changes macro to print the global register change info. Fixes: d2f9fe8ae309 ("net/i40e: turn off flexible payload on driver init") Signed-off-by: Beilei Xing --- drivers/net/i40e/i40e_fdir.c | 2 +- drivers/net/i40e/i40e_flow.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/i40e/i40e_fdir.c b/drivers/net/i40e/i40e_fdir.c index b83a0cff9..a4a61d1c3 100644 --- a/drivers/net/i40e/i40e_fdir.c +++ b/drivers/net/i40e/i40e_fdir.c @@ -525,7 +525,7 @@ i40e_set_flx_pld_cfg(struct i40e_pf *pf, flx_ort = (1 << I40E_GLQF_ORT_FLX_PAYLOAD_SHIFT) | (num << I40E_GLQF_ORT_FIELD_CNT_SHIFT) | (layer_idx * I40E_MAX_FLXPLD_FIED); - I40E_WRITE_REG(hw, I40E_GLQF_ORT(33 + layer_idx), flx_ort); + I40E_WRITE_GLB_REG(hw, I40E_GLQF_ORT(33 + layer_idx), flx_ort); i40e_global_cfg_warning(I40E_WARNING_ENA_FLX_PLD); } diff --git a/drivers/net/i40e/i40e_flow.c b/drivers/net/i40e/i40e_flow.c index f1c492a18..a30e071a8 100644 --- a/drivers/net/i40e/i40e_flow.c +++ b/drivers/net/i40e/i40e_flow.c @@ -2259,7 +2259,7 @@ i40e_flow_set_fdir_flex_pit(struct i40e_pf *pf, flx_ort = (1 << I40E_GLQF_ORT_FLX_PAYLOAD_SHIFT) | (raw_id << I40E_GLQF_ORT_FIELD_CNT_SHIFT) | (layer_idx * I40E_MAX_FLXPLD_FIED); - I40E_WRITE_REG(hw, I40E_GLQF_ORT(33 + layer_idx), flx_ort); + I40E_WRITE_GLB_REG(hw, I40E_GLQF_ORT(33 + layer_idx), flx_ort); i40e_global_cfg_warning(I40E_WARNING_ENA_FLX_PLD); } -- 2.14.2