Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp2007443imm; Thu, 24 May 2018 04:25:26 -0700 (PDT) X-Google-Smtp-Source: AB8JxZoNaIEMJc0YTYgrN1nZLMb84rhOg3HPSXeJx+IHfOU13ANZXjJmSu90VIg2H+NDWTf/FDXk X-Received: by 2002:a17:902:3181:: with SMTP id x1-v6mr7050082plb.198.1527161126068; Thu, 24 May 2018 04:25:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527161126; cv=none; d=google.com; s=arc-20160816; b=tTy98EItNc83XcK2bur43oaIGsxDpldwbUHrpNsgavNYPUPmQbjia6kcsAooAHASkA Cukq4mSVbZ6aktzQ/nsphFltalieru9aPumksCYf/pUi8lZWO2ZJVLVFiEQiBCEMAZOd vXphjG7lPObDlBQ62w+LygB/aZQDrdQ1Z1yK+zC8MbAV/yGytTnI32Y9Ki0GmiT466ce o/x8c8ZUfWtL5+8IgNXhFTZHJB74x+P0p69az68cKuekAk0OxivvPp+KPx0cl3cJu4tJ B99XKaHiPK6wUmCZPMkF4H9/D+fwSKJ7Uj2/KyPBJVeNBuPs5IWYDDagz2M8uguv+EWP /lrA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:message-id:date:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=VkUnHwBRRCSw7Z+c20EkhM/KRcKMC3VBmHXGmNjmCnY=; b=qxZjJt9bIHqrXzo9a3c9odWx8H8QWFFZBWAj/d4uMs5c++zWaCmU4K+J/08Pm3q+OQ 9GBrQoNCfR9Tt6f26fcGo5bhjPeWjOoqLcym+VWN3AOYNWzDqRkAGhmNqGEqOcoHqBTn u+Cx7n5mUz7hYl4HUEp272vyJnY9CcCyx+oigFjGVoz6DClbGZPKGAy49d6SCU4c20F8 rSrpIakypWMeo6hcgThwmC9S6DGqRyI3gqZmSmAZFFR/HF1cJHV1BMEtfiLGeqQkpeW5 8r6OUIQDSHxSOOZsptoK5Ksp4AA0rejAqvLFhSGbdTQCVvDUpA5wXe7xkI71zFqc1cw0 aqjg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=YI9CwqGQ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a4-v6si20771207plp.219.2018.05.24.04.25.11; Thu, 24 May 2018 04:25:26 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=YI9CwqGQ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S967789AbeEXJvy (ORCPT + 99 others); Thu, 24 May 2018 05:51:54 -0400 Received: from mail.kernel.org ([198.145.29.99]:48002 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S967380AbeEXJvq (ORCPT ); Thu, 24 May 2018 05:51:46 -0400 Received: from localhost (LFbn-1-12247-202.w90-92.abo.wanadoo.fr [90.92.61.202]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id DD9F620847; Thu, 24 May 2018 09:51:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1527155506; bh=4oiZ+gZBolM73MGYLaBzvgWF7NTUWcFClhzCha61KIA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=YI9CwqGQyb0uFTvCjTnb9hSahSPREhEbGBarTktrc0qE0IDrVOQYNJtgeQAR/3SEI njX908u8MgYRlllX0hZbclbrxZ+aQMSOGHjLC62nY7e9ytSNhr78EAe0xXxkLhrh8v YDSdeMikjdx1SSLWioUAf9y0AOzgKDXllO/BWAws= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Haiyang Zhang , "David S. Miller" Subject: [PATCH 4.14 014/165] hv_netvsc: Rename tx_send_table to tx_table Date: Thu, 24 May 2018 11:37:00 +0200 Message-Id: <20180524093622.562075743@linuxfoundation.org> X-Mailer: git-send-email 2.17.0 In-Reply-To: <20180524093621.979359379@linuxfoundation.org> References: <20180524093621.979359379@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.14-stable review patch. If anyone has any objections, please let me know. ------------------ From: Haiyang Zhang [ Commit 39e91cfbf6f5fb26ba64cc2e8874372baf1671e7 upstream. ] Simplify the variable name: tx_send_table Signed-off-by: Haiyang Zhang Signed-off-by: David S. Miller Signed-off-by: Greg Kroah-Hartman --- drivers/net/hyperv/hyperv_net.h | 2 +- drivers/net/hyperv/netvsc.c | 2 +- drivers/net/hyperv/netvsc_drv.c | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) --- a/drivers/net/hyperv/hyperv_net.h +++ b/drivers/net/hyperv/hyperv_net.h @@ -734,7 +734,7 @@ struct net_device_context { u32 tx_checksum_mask; - u32 tx_send_table[VRSS_SEND_TAB_SIZE]; + u32 tx_table[VRSS_SEND_TAB_SIZE]; /* Ethtool settings */ bool udp4_l4_hash; --- a/drivers/net/hyperv/netvsc.c +++ b/drivers/net/hyperv/netvsc.c @@ -1107,7 +1107,7 @@ static void netvsc_send_table(struct hv_ nvmsg->msg.v5_msg.send_table.offset); for (i = 0; i < count; i++) - net_device_ctx->tx_send_table[i] = tab[i]; + net_device_ctx->tx_table[i] = tab[i]; } static void netvsc_send_vf(struct net_device_context *net_device_ctx, --- a/drivers/net/hyperv/netvsc_drv.c +++ b/drivers/net/hyperv/netvsc_drv.c @@ -234,8 +234,8 @@ static inline int netvsc_get_tx_queue(st struct sock *sk = skb->sk; int q_idx; - q_idx = ndc->tx_send_table[netvsc_get_hash(skb, ndc) & - (VRSS_SEND_TAB_SIZE - 1)]; + q_idx = ndc->tx_table[netvsc_get_hash(skb, ndc) & + (VRSS_SEND_TAB_SIZE - 1)]; /* If queue index changed record the new value */ if (q_idx != old_idx &&