Re: [dpdk-dev] [PATCH v2 4/6] net/representor: Implement port representor PMD

2017-12-11 Thread Remy Horton
On 11/12/2017 15:11, Mohammad Abdul Awal wrote: [..] Remy, devargs will be passed by the application who uses the rte_representor_port_register API. We are not talking about the EAL args here. Ah ok - it hadn't quite clicked in that Port Representors were not going to be transparent to applica

Re: [dpdk-dev] [PATCH v2 4/6] net/representor: Implement port representor PMD

2017-12-11 Thread Mohammad Abdul Awal
On 11/12/2017 10:08, Remy Horton wrote: 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. Remy, devargs will be passed by the application who us

Re: [dpdk-dev] [PATCH v2 4/6] net/representor: Implement port representor PMD

2017-12-11 Thread Remy Horton
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

Re: [dpdk-dev] [PATCH v2 4/6] net/representor: Implement port representor PMD

2017-12-08 Thread Mohammad Abdul Awal
On 08/12/2017 15:02, Remy Horton wrote: On 20/11/2017 07:46, Ferruh Yigit wrote: [..] 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? Possi

Re: [dpdk-dev] [PATCH v2 4/6] net/representor: Implement port representor PMD

2017-12-08 Thread Remy Horton
On 20/11/2017 07:46, Ferruh Yigit wrote: [..] 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? Possible, but not sure it gains much in practice.

Re: [dpdk-dev] [PATCH v2 4/6] net/representor: Implement port representor PMD

2017-11-19 Thread Ferruh Yigit
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 moni

[dpdk-dev] [PATCH v2 4/6] net/representor: Implement port representor PMD

2017-11-17 Thread Mohammad Abdul Awal
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 contro