On 31/01/2017 13:52, "Ben Pfaff" wrote:
>On Thu, Dec 08, 2016 at 01:16:22PM +0100, Przemyslaw Lal wrote:
>> diff --git a/lib/netdev-dpdk.c b/lib/netdev-dpdk.c
>> index de78ddd..ef99eb3 100644
>> --- a/lib/netdev-dpdk.c
>> +++ b/lib/netdev-dpdk.c
>> @@ -2075,7 +2075,13 @@
On Thu, Dec 08, 2016 at 01:16:22PM +0100, Przemyslaw Lal wrote:
> diff --git a/lib/netdev-dpdk.c b/lib/netdev-dpdk.c
> index de78ddd..ef99eb3 100644
> --- a/lib/netdev-dpdk.c
> +++ b/lib/netdev-dpdk.c
> @@ -2075,7 +2075,13 @@ netdev_dpdk_get_ifindex(const struct netdev *netdev)
> int ifindex;
In current implementation port_id is used as an ifindex for all netdev-
dpdk interfaces.
For physical DPDK interfaces using port_id as ifindex causes that '0' is
set as ifindex for 'dpdk0' interface, '1' for 'dpdk1' and so on. For the
DPDK vHost interfaces ifindexes are not even assigned (0 is
> In current implementation port_id is used as an ifindex for all netdev-
> dpdk interfaces.
>
> For physical DPDK interfaces using port_id as ifindex causes that '0' is
> set as ifindex for 'dpdk0' interface, '1' for 'dpdk1' and so on. For the
> DPDK vHost interfaces ifindexes are not even
In current implementation port_id is used as an ifindex for all netdev-dpdk
interfaces.
For physical DPDK interfaces using port_id as ifindex causes that '0' is set as
ifindex for 'dpdk0' interface, '1' for 'dpdk1' and so on. For the DPDK vHost
interfaces ifindexes are not even assigned (0 is