Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp2007978imm; Thu, 24 May 2018 04:26:01 -0700 (PDT) X-Google-Smtp-Source: AB8JxZrOb3WDIrGRpr8PotKsBbK7lMGqgAvnQUB7oEgjAv266lgcCsoR6lGOz/P0c4FqN+do/zNt X-Received: by 2002:a63:3e83:: with SMTP id l125-v6mr14286pga.355.1527161161866; Thu, 24 May 2018 04:26:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527161161; cv=none; d=google.com; s=arc-20160816; b=cUcDCWy9ZcLgdMW5ozTYQwZuqgd9D+hXI+p6V53qeVRGJGIs3S8r8VuM0nx/r8pNsx ZPrbJVmbHyqQXGDdX7Yld8mQd0UsTmiB3kbui9xGrj6f3OLAuDwSnATwNAeDgdJOvaAE XYATjBWJLtdqjF5iJI5trkzY2KK7RSs379Wm5JziL98wOZpJgcT2rJfHIaCIfqCJs9Rv miYEGYorY3VkgG/YHoB+Psv3FYTpoAaM01OICFy5kCXQPCvtmR4iDxXQ6s1FmJD/XpXW jaZ53zomQXVxu4khL2OE5XrdVHtFHTVWxGUQlaC/+YQVvNA+49Sr1UM4qDn4nqjxEW9Z mMtA== 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=mHXxJ+sIKodz+nO70UmxvpBPy6BvlOF0efw9B8avJ2c=; b=quachLEFtC/2YJ9maIxhc4IlpSqOvOL52EkNcaNkTaOFg34ys/STbVk1XHrAkJAXWz kS6HpBUpLp1mI2p1FQZ7PCmxplZ0Sd8JW+lIpgD/Uj3XGT4truqui3DMFFD7eiwWOeVK jsXcEj0oiyErvqYwGMRS57NSU8riZ0Dqm0Juz5BHX6CWjOdTa7h+A6LSIdCDNOQdQ32C aSCqvqr9LO7bj/jrS7CSsKQwfW2633hDWI/GVORBexg8bhwVcoZSejNlLN6RyFngjBYh tU42OxECXFqq29+3SNDZy6y/+07kkjX1DrBmVBxISIpSZ5GQs8igkKeJfx3rGl3AxRve WPvA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=RGvLYnMi; 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 92-v6si20684772plc.452.2018.05.24.04.25.47; Thu, 24 May 2018 04:26:01 -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=RGvLYnMi; 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 S967773AbeEXJvu (ORCPT + 99 others); Thu, 24 May 2018 05:51:50 -0400 Received: from mail.kernel.org ([198.145.29.99]:47888 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S967760AbeEXJvo (ORCPT ); Thu, 24 May 2018 05:51:44 -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 4226620847; Thu, 24 May 2018 09:51:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1527155503; bh=MkhkOdj7PH+2mvIKVYunEWCiPjmHtgSCwPn7sMoCmto=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=RGvLYnMi0za5FcSm6J+1KcxyAJZ9dPmG4+2RfHTzEUdx7Y++OkRkdMnkIKmo5hQ1D 8FE/czLxW8ut+ehQhXrdflA4piEcbbNfnNn2s+jiivs1K2deztb63m6A/A/CTayf1/ SJsbh0k13tSuM9n3/0RlsmHoXULf+0ODnSdrSWyA= 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 013/165] hv_netvsc: Rename ind_table to rx_table Date: Thu, 24 May 2018 11:36:59 +0200 Message-Id: <20180524093622.513439108@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 47371300dfc269dd8d150e5b872bdbbda98ba809 upstream. ] Rename this variable because it is the Receive indirection 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_drv.c | 4 ++-- drivers/net/hyperv/rndis_filter.c | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) --- a/drivers/net/hyperv/hyperv_net.h +++ b/drivers/net/hyperv/hyperv_net.h @@ -179,7 +179,7 @@ struct rndis_device { u8 hw_mac_adr[ETH_ALEN]; u8 rss_key[NETVSC_HASH_KEYLEN]; - u16 ind_table[ITAB_NUM]; + u16 rx_table[ITAB_NUM]; }; --- a/drivers/net/hyperv/netvsc_drv.c +++ b/drivers/net/hyperv/netvsc_drv.c @@ -1378,7 +1378,7 @@ static int netvsc_get_rxfh(struct net_de rndis_dev = ndev->extension; if (indir) { for (i = 0; i < ITAB_NUM; i++) - indir[i] = rndis_dev->ind_table[i]; + indir[i] = rndis_dev->rx_table[i]; } if (key) @@ -1408,7 +1408,7 @@ static int netvsc_set_rxfh(struct net_de return -EINVAL; for (i = 0; i < ITAB_NUM; i++) - rndis_dev->ind_table[i] = indir[i]; + rndis_dev->rx_table[i] = indir[i]; } if (!key) { --- a/drivers/net/hyperv/rndis_filter.c +++ b/drivers/net/hyperv/rndis_filter.c @@ -759,7 +759,7 @@ int rndis_filter_set_rss_param(struct rn /* Set indirection table entries */ itab = (u32 *)(rssp + 1); for (i = 0; i < ITAB_NUM; i++) - itab[i] = rdev->ind_table[i]; + itab[i] = rdev->rx_table[i]; /* Set hask key values */ keyp = (u8 *)((unsigned long)rssp + rssp->kashkey_offset); @@ -1284,8 +1284,8 @@ struct netvsc_device *rndis_filter_devic net_device->num_chn = min(net_device->max_chn, device_info->num_chn); for (i = 0; i < ITAB_NUM; i++) - rndis_device->ind_table[i] = ethtool_rxfh_indir_default(i, - net_device->num_chn); + rndis_device->rx_table[i] = ethtool_rxfh_indir_default( + i, net_device->num_chn); atomic_set(&net_device->open_chn, 1); vmbus_set_sc_create_callback(dev->channel, netvsc_sc_open);