Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp1520600ybk; Sun, 10 May 2020 19:49:31 -0700 (PDT) X-Google-Smtp-Source: APiQypJZccrcHAz6gyQ0Io8EyjBpsgJhAvmvKMj1ZjgKuf963IrzwgEoRKpfVEucKw80fNuipPSf X-Received: by 2002:aa7:d5d5:: with SMTP id d21mr11949584eds.160.1589165371559; Sun, 10 May 2020 19:49:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589165371; cv=none; d=google.com; s=arc-20160816; b=P02vSqrE2HfnBmTcRenFmrsx8lqTA63fjHyrWsEGUCTShxYA5tEZZfbA50bh48DNHV q9i2Qjbmxgq3Na1cq3ltpEQ3D3NyLSK9Er8EFe+R40gB6qOLB/8xSj9OpY2tlX+mT3aW b+ZBFdD5gJX4BvwBDi+zU66I2NxbuAGAskfDlzNb98uS+CQ2Xw+ci8b/g7BOt2rHMWj3 r/x54GHSxlpk8U8VigTRJBbWfdvWQyGF2UCCXTy6hhKo92kePbaRSDx9u9arVY8xO0mO JraDqqkYyGfGXF9hxyDtxgZWsZPbjbA17g01n/R5ARTwjkpRXwA7o2kIPo+xpcMJ6WFn gsCw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=C7OSLvJ8g3bsog54HiXLBfngWh87J8u8g3VYELG7fs8=; b=aMa9NO1UI/POz1BBXdkr6iPdsb/pYbJtSkaD7JsXN3vyI5x+ZR2a7e7Uzdltjm1eWQ 9eVZx/i4FpVPjXanASUCAdafwCLb/uukvlYD/3ltDxIeApNGpTKLXExZkJoWlsDpqYe1 S8bNN1kxlIwrS/RLwUOMEgjUdb1K/bqdB8gKgeVtqZMyl8UP/06s7YWX4keXP7a6gnG5 JQaRI5zx9a0UcSFP4J1ErJoJwLG+MjMY3+8oeTKKBtF8qvcSrbVD2VzdAt6O3nNL/SgU alx1qlQJNnt7UfOOXUnPiX5GlL6WBFWOCYG7vIVtD+Jz8RTVQcu3vrr5UccvItfCx7E8 UV2A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b="wKP/0Hpi"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f3si5175347edn.165.2020.05.10.19.49.03; Sun, 10 May 2020 19:49:31 -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; dkim=pass header.i=@kernel.org header.s=default header.b="wKP/0Hpi"; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728299AbgEKCrI (ORCPT + 99 others); Sun, 10 May 2020 22:47:08 -0400 Received: from mail.kernel.org ([198.145.29.99]:49586 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725830AbgEKCrI (ORCPT ); Sun, 10 May 2020 22:47:08 -0400 Received: from kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com (c-67-180-217-166.hsd1.ca.comcast.net [67.180.217.166]) (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 6434B2137B; Mon, 11 May 2020 02:47:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1589165227; bh=FDKtUnOQ3qIeGS0KtMK0l6lFpy1aHBPs2Ihinmou1Ak=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=wKP/0Hpi1SXbKWsvBIudbmbNfb2BoLIYPl0qlQICVmmlTalOfyCVLY0F/d2rqVMmr PdFooKWT90ikdzAPx5dneEc3vRUc7WpQVxVFRHkUltO0Ki08HJ9AMXA5Y6upU4T7oT /7g+gxPHvIi1unXv8TWmC67WvAaKovZ3kXdzbPOM= Date: Sun, 10 May 2020 19:47:05 -0700 From: Jakub Kicinski To: tanhuazhong Cc: , , , , , Subject: Re: [PATCH net-next 3/5] net: hns3: provide .get_cmdq_stat interface for the client Message-ID: <20200510194705.0082267b@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> In-Reply-To: <1b76cac7-b1cc-cbab-cef4-cefeaa25ac62@huawei.com> References: <1589016461-10130-1-git-send-email-tanhuazhong@huawei.com> <1589016461-10130-4-git-send-email-tanhuazhong@huawei.com> <20200509134816.534860ab@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> <1b76cac7-b1cc-cbab-cef4-cefeaa25ac62@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 11 May 2020 08:13:06 +0800 tanhuazhong wrote: > On 2020/5/10 4:48, Jakub Kicinski wrote: > > On Sat, 9 May 2020 17:27:39 +0800 Huazhong Tan wrote: > >> diff --git a/drivers/net/ethernet/hisilicon/hns3/hnae3.h b/drivers/net/ethernet/hisilicon/hns3/hnae3.h > >> index 5602bf2..7506cab 100644 > >> --- a/drivers/net/ethernet/hisilicon/hns3/hnae3.h > >> +++ b/drivers/net/ethernet/hisilicon/hns3/hnae3.h > >> @@ -552,6 +552,7 @@ struct hnae3_ae_ops { > >> int (*set_vf_mac)(struct hnae3_handle *handle, int vf, u8 *p); > >> int (*get_module_eeprom)(struct hnae3_handle *handle, u32 offset, > >> u32 len, u8 *data); > >> + bool (*get_cmdq_stat)(struct hnae3_handle *handle); > >> }; > > > > I don't see anything in this series using this new interface, why is it > > added now? > > This interface is needed by the roce client, whose patch will be > upstreamed to the rdma tree, it is other branch. So we provide this > interface previously, then the rdma guy will upstream their patch later, > maybe linux-5.8-rc*. Understood. Please make sure to include this kind of information in the cover letter in the future.