From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id C48E2A0567; Fri, 13 Mar 2020 15:09:16 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id D7F6B1BFA5; Fri, 13 Mar 2020 15:09:15 +0100 (CET) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by dpdk.org (Postfix) with ESMTP id 79F0D2BE3 for ; Fri, 13 Mar 2020 15:09:13 +0100 (CET) X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 13 Mar 2020 07:09:11 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,548,1574150400"; d="scan'208";a="232429674" Received: from yexl-server.sh.intel.com (HELO localhost) ([10.67.117.17]) by orsmga007.jf.intel.com with ESMTP; 13 Mar 2020 07:09:09 -0700 Date: Fri, 13 Mar 2020 22:06:31 +0800 From: Ye Xiaolong To: Haiyue Wang Cc: dev@dpdk.org, qi.z.zhang@intel.com, qiming.yang@intel.com, beilei.xing@intel.com, wei.zhao1@intel.com Message-ID: <20200313140631.GA53957@intel.com> References: <20200309141437.11800-1-haiyue.wang@intel.com> <20200310065029.40966-1-haiyue.wang@intel.com> <20200310065029.40966-7-haiyue.wang@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200310065029.40966-7-haiyue.wang@intel.com> User-Agent: Mutt/1.9.4 (2018-02-28) 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" 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. 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 the PF's AdminQ command? Thanks, Xiaolong > >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