From patchwork Fri Sep 21 15:41:41 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Salil Mehta X-Patchwork-Id: 147292 Delivered-To: patch@linaro.org Received: by 2002:a2e:1648:0:0:0:0:0 with SMTP id 8-v6csp970918ljw; Fri, 21 Sep 2018 08:43:11 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZRZdhBeQWg5xN8EV138pYbPNiz/OBL+Tv62mFDkkTHu02DRF7tYBJzg3FuwRePXIkbIZ5s X-Received: by 2002:a62:ed2:: with SMTP id 79-v6mr7824936pfo.198.1537544591142; Fri, 21 Sep 2018 08:43:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1537544591; cv=none; d=google.com; s=arc-20160816; b=iMHPsAI6RanzPWNiDN0LHNuB0Sw5g5OyHmpmLD9oD/9Z38o5r8gm28dPLdK4rEOCXa WOi5St265d8FB6wayTCrU0OjOoODpfSts2srvuNB1vCBSk9jR3N3Eq9p7WEXUymlmzfJ DAQwHaLn8gJzCBlp/oSMiPw8WrSh3vuxyRjXQQa+dJCjcuSyFcoaiSCtLQz29LqMzzMG vjU/x08j9rmj+pnYOcBzllSN1z4qHRA63sB5OjxtLMpjVrLrQzhi5CBbLyV5aGLSgIGL 2AeoSpBT2M7O0I+cZyOMRLm4l5dISLPUFvX8EBTrxpvFPL+CoBOgXdnlsWvHeEVCtE4d TQZw== 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 f2-v6si26951528plo.206.2018.09.21.08.43.10; Fri, 21 Sep 2018 08:43:11 -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 S2390676AbeIUVce (ORCPT + 32 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 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(-) -- 2.7.4 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 */