From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.8 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, HK_RANDOM_FROM,MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2F3E2C2BB1D for ; Fri, 13 Mar 2020 14:11:33 +0000 (UTC) Received: from dpdk.org (dpdk.org [92.243.14.124]) by mail.kernel.org (Postfix) with ESMTP id CC8DF20746 for ; Fri, 13 Mar 2020 14:11:32 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org CC8DF20746 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=intel.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=dev-bounces@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id AEC871BFA5; Fri, 13 Mar 2020 15:11:31 +0100 (CET) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id 3FC6E1AFF for ; Fri, 13 Mar 2020 15:11:30 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 13 Mar 2020 07:11:29 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,548,1574150400"; d="scan'208";a="235338963" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by fmsmga007.fm.intel.com with ESMTP; 13 Mar 2020 07:11:29 -0700 Received: from shsmsx605.ccr.corp.intel.com (10.109.6.215) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.439.0; Fri, 13 Mar 2020 07:11:28 -0700 Received: from shsmsx603.ccr.corp.intel.com (10.109.6.143) by SHSMSX605.ccr.corp.intel.com (10.109.6.215) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Fri, 13 Mar 2020 22:11:26 +0800 Received: from shsmsx603.ccr.corp.intel.com ([10.109.6.143]) by SHSMSX603.ccr.corp.intel.com ([10.109.6.143]) with mapi id 15.01.1713.004; Fri, 13 Mar 2020 22:11:26 +0800 From: "Wang, Haiyue" To: "Ye, Xiaolong" CC: "dev@dpdk.org" , "Zhang, Qi Z" , "Yang, Qiming" , "Xing, Beilei" , "Zhao1, Wei" Thread-Topic: [PATCH v2 6/7] net/ice: handle the PF initialization by DCF Thread-Index: AQHV9qlWDm6OeMNETEaOBw+KJU8oq6hGDcKAgACHOuA= Date: Fri, 13 Mar 2020 14:11:26 +0000 Message-ID: References: <20200309141437.11800-1-haiyue.wang@intel.com> <20200310065029.40966-1-haiyue.wang@intel.com> <20200310065029.40966-7-haiyue.wang@intel.com> <20200313140631.GA53957@intel.com> In-Reply-To: <20200313140631.GA53957@intel.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-reaction: no-action dlp-version: 11.2.0.6 x-originating-ip: [10.239.127.36] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-dev] [PATCH v2 6/7] net/ice: handle the PF initialization by DCF X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" > -----Original Message----- > From: Ye, Xiaolong > Sent: Friday, March 13, 2020 22:07 > To: Wang, Haiyue > Cc: dev@dpdk.org; Zhang, Qi Z ; Yang, Qiming ; Xing, > Beilei ; Zhao1, Wei > Subject: Re: [PATCH v2 6/7] net/ice: handle the PF initialization by DCF >=20 > On 03/10, Haiyue Wang wrote: > >The DCF (Device Config Function) works at the user PF level, it can't > >access the real PF hardware directly. So it will proxy the PF's AdminQ > >command through DCF's mailbox. >=20 > Proxy is a noun, so this sentence is a little bit confusing. > Do you mean DCF will rely on the mailbox to serve as the proxy to pass th= e > PF's AdminQ command? >=20 Yes, exactly, should be "pass through the PF's ..." > Thanks, > Xiaolong >=20 > > > >And the DCF is mainly used to control the flow setting of other VFs, so > >it only needs to initialize some core functions about the flow . > > > >Signed-off-by: Haiyue Wang > >--- > > drivers/net/ice/Makefile | 1 + > > drivers/net/ice/ice_dcf.c | 7 +- > > drivers/net/ice/ice_dcf.h | 3 + > > drivers/net/ice/ice_dcf_ethdev.c | 10 +- > > drivers/net/ice/ice_dcf_ethdev.h | 11 +- > > drivers/net/ice/ice_dcf_parent.c | 263 +++++++++++++++++++++++++++++++ > > drivers/net/ice/meson.build | 3 +- > > 7 files changed, 292 insertions(+), 6 deletions(-) > > create mode 100644 drivers/net/ice/ice_dcf_parent.c