Received: by 2002:a25:ef43:0:0:0:0:0 with SMTP id w3csp1002212ybm; Fri, 29 May 2020 18:13:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxT5hnaG0fA5UByxLQbdMhT/lgITMR0JcD4S9s1qiHTqXQNM/iyAATwJPdEf71Vqnoesgeg X-Received: by 2002:a05:6402:1434:: with SMTP id c20mr10675265edx.27.1590801210038; Fri, 29 May 2020 18:13:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1590801210; cv=none; d=google.com; s=arc-20160816; b=El7XJ/W/T4/cYdDdgJ8zF/tRtqu4hwHFii6K00TdEMm9XxA2Gz3xd9io+HP/UPbKJp nqI3K8/SsWjb8wjPsS8lsupbj++5zOgYYfywLdx2Eru/pV7PB3KAhX4uXSUap+CxtkzE 9LuqWFPZ8mh+zhHG0g3JDZj6s/aBhPnN/7pMvDV1QPWHbp+ulYieLnAtKa3ztu3nK1xc mS8lpqqwCKpZ+9h9FFMzD92+ArOYA4BesohSRPTt/zxMldBeNp4GEdMkCr6XyehhnHz2 tZTOGYk3AK7Ytp++qZrUOP8KXjjWU/bPdOYgu+O6BIEz98CrfKen2RX3dqh6palXAeid nHfw== 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=MB/E5ntJUeGu1KTFUHWAJ4+aBHmse50fXFfMs/LGctM=; b=hbsAMypwddp13D4PHNmaNyLMLFsCAN1KGTz7DI8DdACS+IoIX4xDT0tUA+KTp0y3Za 2E0V1h1nmE6d+6tAtsvWDX5klkFEPBqb0SYcxvAzGDQakCC7Fh+P5EznCvjWHaaEAveK vI8E1uf1tgbp+DNv/DXDWuYVeRc6QbYFrYoa/b0uzgJi7fSaCJ7LMudYCbn3TU7e8f7a u3dZu+mPyKiuSS86M2hqLB52W2LCC5XDSGgpxC4Go2cCmKaY0jXvhjENnxQ3b3KRgC5X zaWv6llZFgd+QiX2qPQbrW/nwftFLJ7wF+gUF64RbijPSLCevrHzoBxLEgQAEdIhkruL h39g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x22si5976867eje.542.2020.05.29.18.13.07; Fri, 29 May 2020 18:13:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728770AbgE3BKi (ORCPT + 99 others); Fri, 29 May 2020 21:10:38 -0400 Received: from szxga07-in.huawei.com ([45.249.212.35]:50026 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728625AbgE3BKI (ORCPT ); Fri, 29 May 2020 21:10:08 -0400 Received: from DGGEMS401-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id C2CCBED27CA5CF58C2ED; Sat, 30 May 2020 09:10:06 +0800 (CST) Received: from localhost.localdomain (10.69.192.56) by DGGEMS401-HUB.china.huawei.com (10.3.19.201) with Microsoft SMTP Server id 14.3.487.0; Sat, 30 May 2020 09:09:59 +0800 From: Huazhong Tan To: CC: , , , , , , Huazhong Tan Subject: [PATCH net-next 4/6] net: hns3: fix an incorrect comment for num_tqps in struct hclgevf_dev Date: Sat, 30 May 2020 09:08:30 +0800 Message-ID: <1590800912-52467-5-git-send-email-tanhuazhong@huawei.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1590800912-52467-1-git-send-email-tanhuazhong@huawei.com> References: <1590800912-52467-1-git-send-email-tanhuazhong@huawei.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.69.192.56] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org struct hclgevf_dev stands for VF device, its field num_tqps indicates the number of VF's task queue pairs, so the comment is incorrect, replace 'PF' with 'VF'. Reported-by: Jian Shen Signed-off-by: Huazhong Tan --- drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.h b/drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.h index 738de12..c1fac89 100644 --- a/drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.h +++ b/drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.h @@ -278,7 +278,7 @@ struct hclgevf_dev { struct semaphore reset_sem; /* protect reset process */ u32 fw_version; - u16 num_tqps; /* num task queue pairs of this PF */ + u16 num_tqps; /* num task queue pairs of this VF */ u16 alloc_rss_size; /* allocated RSS task queue */ u16 rss_size_max; /* HW defined max RSS task queue */ -- 2.7.4