From mboxrd@z Thu Jan 1 00:00:00 1970 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) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga102.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 11 Dec 2017 02:08:17 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.45,391,1508828400"; d="scan'208";a="1494670" Received: from rhorton-mobl1.ger.corp.intel.com (HELO [10.252.19.29]) ([10.252.19.29]) by fmsmga007.fm.intel.com with ESMTP; 11 Dec 2017 02:08:16 -0800 To: Mohammad Abdul Awal , Ferruh Yigit , dev@dpdk.org 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> Cc: Declan Doherty From: Remy Horton Organization: Intel Shannon Limited Message-ID: Date: Mon, 11 Dec 2017 10:08:15 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.7.1 MIME-Version: 1.0 In-Reply-To: <67194c45-6cba-6706-ab63-c9dfbf9eed0c@intel.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH v2 4/6] net/representor: Implement port representor PMD 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: , X-List-Received-Date: Mon, 11 Dec 2017 10:08:19 -0000 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.