Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1250imm; Fri, 21 Sep 2018 08:43:52 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZlSCWvLxZHvcurU2qbpEaHK4hliXV6T3zTU6IF96O4tpSAtFIqeehYM8PB+Kc68O3DmYYm X-Received: by 2002:a62:198e:: with SMTP id 136-v6mr47198008pfz.103.1537544632030; Fri, 21 Sep 2018 08:43:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537544632; cv=none; d=google.com; s=arc-20160816; b=kiRPLlLEATrDtb2LaDSBVEoQy+SKJP2BnV/fBF+9EljslsKqPPEDGyiTsvF5zexC65 8YdY04NIiKkMH+f5MB3Zc5M50m6EUqQn1eihB/9gFnNavMrWqY/fNVb3arQ3gIGOsZvp mg8x8dpR1KdyUQjT1fhz4CMpAQoJgb7WY5tc/RQgoqdCZ0vbQUfHHNRbLmzpdo0XinBw cxRsB6nu/qH3N0QjsRmN2Q5RajZYJ0xyETADqUbd1TNLSuFhT+MWKNg33muUvHyURTpv Slv/pS1TaL5NzS9JBYeVCF2NI9q9RCi+WvnlrgZWqKKV2YHYaK9VSfxMvECeKuxKlzAI ZsKg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from; bh=4MQTxjQqicfgYJRm6gLNirqmJ/IqkWxhGDqRVu0bgYU=; b=lBXX2tDAh9Gv/NiH/ug6ZqkF2/K3qzrphP+rH2xjIlB5JxtqqliLDPP41CHAH0NPnU GcxbJAtPOsefOd4cy85Ce33234l0FznrUjEjv6jKlXmva5UYMPyN5HmOQDNydEXlmbC8 BoAujdalTr43XgrDDGWUPP/XNbRhFQDGHAjWcPFK9sgg5ZQBGacwjWcmJZ/lcGC4te67 1jtLQQBPdr8afdCjtwywWQCOiFZS81G8lRwUeYFvqJOABULHdjhGzGgAcXwHmkyqM6Ac VEcv4DNLVmUdVELx1MPMWcV4U6Fqv6Z95k4NvMIkHP2Gu9AvZm8+vThQCjpbBG2/c2pl Alsw== ARC-Authentication-Results: i=1; mx.google.com; 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 i33-v6si28639541pld.306.2018.09.21.08.43.32; Fri, 21 Sep 2018 08:43:51 -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; 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 S2390669AbeIUVce (ORCPT + 99 others); Fri, 21 Sep 2018 17:32:34 -0400 Received: from szxga07-in.huawei.com ([45.249.212.35]:43003 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S2390560AbeIUVcd (ORCPT ); Fri, 21 Sep 2018 17:32:33 -0400 Received: from DGGEMS401-HUB.china.huawei.com (unknown [172.30.72.60]) by Forcepoint Email with ESMTP id 052A86CC555C; Fri, 21 Sep 2018 23:43:03 +0800 (CST) Received: from S00293818-DELL1.china.huawei.com (10.202.226.54) by DGGEMS401-HUB.china.huawei.com (10.3.19.201) with Microsoft SMTP Server id 14.3.399.0; Fri, 21 Sep 2018 23:42:54 +0800 From: Salil Mehta To: CC: , , , , , , , Jian Shen Subject: [PATCH net-next 05/12] net: hns3: Unify the prefix of vf functions Date: Fri, 21 Sep 2018 16:41:41 +0100 Message-ID: <20180921154148.26756-6-salil.mehta@huawei.com> X-Mailer: git-send-email 2.8.3 In-Reply-To: <20180921154148.26756-1-salil.mehta@huawei.com> References: <20180921154148.26756-1-salil.mehta@huawei.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.202.226.54] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Jian Shen The prefix of most functions for vf are hclgevf. This patch renames the function with inconsistent prefix. Signed-off-by: Jian Shen Signed-off-by: Peng Li Signed-off-by: Salil Mehta --- drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c b/drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c index f7ab2eb..84129c5 100644 --- a/drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c +++ b/drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c @@ -180,7 +180,7 @@ static int hclgevf_get_tc_info(struct hclgevf_dev *hdev) return 0; } -static int hclge_get_queue_info(struct hclgevf_dev *hdev) +static int hclgevf_get_queue_info(struct hclgevf_dev *hdev) { #define HCLGEVF_TQPS_RSS_INFO_LEN 8 u8 resp_msg[HCLGEVF_TQPS_RSS_INFO_LEN]; @@ -1341,7 +1341,7 @@ static int hclgevf_configure(struct hclgevf_dev *hdev) int ret; /* get queue configuration from PF */ - ret = hclge_get_queue_info(hdev); + ret = hclgevf_get_queue_info(hdev); if (ret) return ret; /* get tc configuration from PF */ -- 2.7.4