From mboxrd@z Thu Jan 1 00:00:00 1970 From: Remy Horton Subject: Re: [PATCH v2 4/6] net/representor: Implement port representor PMD Date: Mon, 11 Dec 2017 10:08:15 +0000 Message-ID: References: <1510929733-7225-1-git-send-email-mohammad.abdul.awal@intel.com> <1510929733-7225-4-git-send-email-mohammad.abdul.awal@intel.com> <3098fb7d-02d5-e959-13ae-e9d93cdee0de@intel.com> <67194c45-6cba-6706-ab63-c9dfbf9eed0c@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Cc: Declan Doherty To: Mohammad Abdul Awal , Ferruh Yigit , dev@dpdk.org Return-path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by dpdk.org (Postfix) with ESMTP id 42D852C66 for ; Mon, 11 Dec 2017 11:08:18 +0100 (CET) In-Reply-To: <67194c45-6cba-6706-ab63-c9dfbf9eed0c@intel.com> 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 08/12/2017 16:56, Mohammad Abdul Awal wrote: > On 08/12/2017 15:02, Remy Horton wrote: [..] > I think it possible to create the representor without pulling in driver > codes. We probably can avoid using the rte_eth_vdev_allocate by calling > the rte_eth_dev_allocate() directly. This is my general thinking. > int > rte_representor_port_register(const char *devargs); Question is where this *devargs comes from - I don't think there is currently any commandline option to specify a parameter string for PFs. Could go down the zero-conf route of always creating representors for all available VFs, but in that case may as well strip out the parsing code.