From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <ferruh.yigit@intel.com>
Received: from mga07.intel.com (mga07.intel.com [134.134.136.100])
 by dpdk.org (Postfix) with ESMTP id D1FD62BEF
 for <dev@dpdk.org>; Mon, 20 Nov 2017 08:46:10 +0100 (CET)
Received: from fmsmga003.fm.intel.com ([10.253.24.29])
 by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;
 19 Nov 2017 23:46:09 -0800
X-ExtLoop1: 1
X-IronPort-AV: E=Sophos;i="5.44,425,1505804400"; 
   d="scan'208";a="3799053"
Received: from fyigit-mobl1.ger.corp.intel.com (HELO [10.255.228.253])
 ([10.255.228.253])
 by FMSMGA003.fm.intel.com with ESMTP; 19 Nov 2017 23:46:08 -0800
To: Mohammad Abdul Awal <mohammad.abdul.awal@intel.com>, dev@dpdk.org
Cc: Remy Horton <remy.horton@intel.com>,
 Declan Doherty <declan.doherty@intel.com>
References: <1510929733-7225-1-git-send-email-mohammad.abdul.awal@intel.com>
 <1510929733-7225-4-git-send-email-mohammad.abdul.awal@intel.com>
From: Ferruh Yigit <ferruh.yigit@intel.com>
Message-ID: <3098fb7d-02d5-e959-13ae-e9d93cdee0de@intel.com>
Date: Sun, 19 Nov 2017 23:46:08 -0800
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101
 Thunderbird/52.4.0
MIME-Version: 1.0
In-Reply-To: <1510929733-7225-4-git-send-email-mohammad.abdul.awal@intel.com>
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
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 <dev.dpdk.org>
List-Unsubscribe: <http://dpdk.org/ml/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://dpdk.org/ml/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <http://dpdk.org/ml/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
X-List-Received-Date: Mon, 20 Nov 2017 07:46:11 -0000

On 11/17/2017 6:42 AM, Mohammad Abdul Awal wrote:
> V2:
> Update rte_bus_vdev.h header file instead of rte_vdev.h file.
> 
> V1:
> Representor PMD is a virtual PMD which provides a logical representation
> in DPDK for ports of a multi port device. This supports configuration,
> management, and monitoring of VFs of a physical function bound to a
> userspace control plane application.

Why we need this PMD?
It looks like this has been used only for parameter parsing.

Can it be possible to rte_representor_broker_init() will allocate ethdevs and
fill brokers with this information?

> 
> Change-Id: I5a7834bbc05bc9037e3218f69f10c1bd1e787236
> Signed-off-by: Mohammad Abdul Awal <mohammad.abdul.awal@intel.com>
> Signed-off-by: Remy Horton <remy.horton@intel.com>
> Signed-off-by: Declan Doherty <declan.doherty@intel.com>

<...>