Re: [ovs-dev] [PATCH v5] netdev-dpdk: fix ifindex assignment for DPDK ports

2017-05-19 Thread Przemyslaw Lal
, Darrell Ball wrote: > > On 4/3/17, 5:27 AM, "ovs-dev-boun...@openvswitch.org on behalf of Przemyslaw Lal" wrote: > > In current implementation port_id is used as an ifindex for all netdev-dpdk > interfaces. > >

[ovs-dev] [PATCH v3] netdev-dpdk: fix ifindex assignment for DPDK ports

2017-03-28 Thread Przemyslaw Lal
lution to these issues is to calculate a hash of interface's name and use calculated value as an ifindex. This way interfaces keep their ifindexes during OVS-DPDK restarts, ports re-initialization events, etc., show up in sFlow collectors and meet RFC2863 specification regarding re-using ifindex

[ovs-dev] [PATCH v4] netdev-dpdk: fix ifindex assignment for DPDK ports

2017-03-28 Thread Przemyslaw Lal
lution to these issues is to calculate a hash of interface's name and use calculated value as an ifindex. This way interfaces keep their ifindexes during OVS-DPDK restarts, ports re-initialization events, etc., show up in sFlow collectors and meet RFC2863 specification regarding re-using ifindex

[ovs-dev] [PATCH v5] netdev-dpdk: fix ifindex assignment for DPDK ports

2017-04-03 Thread Przemyslaw Lal
findex values by the same virtual interfaces and maximum ifindex value. Signed-off-by: Przemyslaw Lal --- lib/netdev-dpdk.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/netdev-dpdk.c b/lib/netdev-dpdk.c index ddc651b..687b0a5 100644 --- a/lib/netdev-dpdk.c +++ b/lib/net

Re: [ovs-dev] [PATCH V2] netdev-dpdk: fix ifindex assignment for DPDK ports

2017-01-19 Thread Przemyslaw Lal
re-using ifindex values by the same virtual interfaces. Signed-off-by: Przemyslaw Lal --- Thanks for the patch. I'm not the most experienced with sflow but after looking into it its clear the need for a change to ifindex is required for DPDK devices. lib/netdev-dpdk.c | 8 +++- 1 file ch

[ovs-dev] [PATCH V2] netdev-dpdk: fix ifindex assignment for DPDK ports

2016-12-08 Thread Przemyslaw Lal
lution to these issues is to calculate a hash of interface's name and use calculated value as an ifindex. This way interfaces keep their ifindexes during OVS-DPDK restarts, ports re-initialization events, etc., show up in sFlow collectors and meet RFC2863 specification regarding re-using ifi