[ovs-dev] [PATCH v3] netdev-dpdk: Create separate memory pool for each port

2017-04-07 Thread Robert Wojciechowicz
Since it's possible to delete memory pool in DPDK we can try to estimate better required memory size when port is reconfigured, e.g. with different number of rx queues. Signed-off-by: Robert Wojciechowicz <robertx.wojciechow...@intel.com> Acked-by: Ian Stokes <ian.sto...@intel.co

Re: [ovs-dev] [PATCH v2] netdev-dpdk: Create separate memory pool for each port

2017-04-06 Thread Robert Wojciechowicz
On Wed, Apr 05, 2017 at 05:12:44PM +0100, Kevin Traynor wrote: > On 02/24/2017 11:27 AM, Robert Wojciechowicz wrote: > > Since it's possible to delete memory pool in DPDK > > we can try to estimate better required memory size > > when port is reconfigured, e.g. with diffe

Re: [ovs-dev] [PATCH v2] ovsdb: Expose openvswitch run directory through ovsdb

2017-04-05 Thread Robert Wojciechowicz
On Thu, Mar 09, 2017 at 01:59:51PM +, Robert Wojciechowicz wrote: > When using vhost-user client or server mode with openstack, > neutron needs to be able to construct the fully qualified socket path > and pass it to nova. > While the relative vhost-user socket directory is

Re: [ovs-dev] [PATCH v2] netdev-dpdk: Create separate memory pool for each port

2017-04-04 Thread Robert Wojciechowicz
On Fri, Feb 24, 2017 at 11:27:12AM +, Robert Wojciechowicz wrote: > Since it's possible to delete memory pool in DPDK > we can try to estimate better required memory size > when port is reconfigured, e.g. with different number > of rx queues. > > Signed-off-by: Ro

Re: [ovs-dev] [PATCH] ovsdb: Expose openvswitch run directory through ovsdb

2017-03-09 Thread Robert Wojciechowicz
On Wed, Mar 08, 2017 at 09:31:22PM -0800, Ben Pfaff wrote: > On Thu, Mar 02, 2017 at 02:40:19PM +0000, Robert Wojciechowicz wrote: > > When using vhost-user client or server mode with openstack, > > neutron needs to be able to construct the fully qualified socket path > >

[ovs-dev] [PATCH] ovsdb: Expose openvswitch run directory through ovsdb

2017-03-02 Thread Robert Wojciechowicz
that integrate with Open vSwitch it is a perfect place for exposing OVS run directory. So this patch adds to the `Open_vSwitch` table `external_ids` column this key: 1. ovs-run-dir- OVS run directory Signed-off-by: Robert Wojciechowicz <robertx.wojciechow...@intel.com> Acked-by: Sean K

[ovs-dev] [PATCH v2] sflow: Expose ethernet stats via sFlow

2017-02-24 Thread Robert Wojciechowicz
Expose existing netdev stats via sFlow. Export sFlow ETHERNET structure with available counters. Map existing stats to counters in the GENERIC INTERFACE sFlow structure. Adjust unit test to accommodate these new counters. Signed-off-by: Robert Wojciechowicz <robertx.wojciechow...@intel.com>

[ovs-dev] [PATCH v2] netdev-dpdk: Create separate memory pool for each port

2017-02-24 Thread Robert Wojciechowicz
Since it's possible to delete memory pool in DPDK we can try to estimate better required memory size when port is reconfigured, e.g. with different number of rx queues. Signed-off-by: Robert Wojciechowicz <robertx.wojciechow...@intel.com> Acked-by: Ian Stokes <ian.sto...@intel.co

[ovs-dev] [PATCH v2] netdev-dpdk: Create separate memory pool for each port

2017-02-06 Thread Robert Wojciechowicz
Since it's possible to delete memory pool in DPDK we can try to estimate better required memory size when port is reconfigured, e.g. with different number of rx queues. Signed-off-by: Robert Wojciechowicz <robertx.wojciechow...@intel.com> Acked-by: Ian Stokes <ian.sto...@intel.com&

Re: [ovs-dev] [PATCH v2] sflow: Expose ethernet stats via sFlow

2017-02-06 Thread Robert Wojciechowicz
On Fri, Feb 03, 2017 at 08:53:32AM +, Stokes, Ian wrote: > > Looks OK to me, tested without issue. > > Acked-by: Ian Stokes Many thanks Ian for testing this patch. Br, Robert ___ dev mailing list d...@openvswitch.org

Re: [ovs-dev] [PATCH v2] sflow: Expose ethernet stats via sFlow

2017-02-06 Thread Robert Wojciechowicz
On Thu, Feb 02, 2017 at 10:00:12AM -0800, Neil McKee wrote: > Robert, > > It's great to get the multicast and broadcast counters in there. > > I do wonder if it's worth including the whole ethernet stats block just to > distinguish alignment / FCS / frame-too-long errors, given that total >

Re: [ovs-dev] [PATCH] netdev-dpdk: Create separate memory pool for each port

2017-01-17 Thread Robert Wojciechowicz
with having 64 queues for dpdk physical ports > which causes ovs to crash. Thanks for testing > > A few other comments below. > > > > Signed-off-by: Robert Wojciechowicz <robertx.wojciechow...@intel.com> > > --- > > lib/netdev-dpdk.c | 85 ++

Re: [ovs-dev] [PATCH] netdev-dpdk: Create separate memory pool for each port

2016-12-13 Thread Robert Wojciechowicz
On Wed, Nov 09, 2016 at 08:02:49AM -0500, Robert Wojciechowicz wrote: > > Hi, > > I started working on this patch after this discussion: > https://mail.openvswitch.org/pipermail/ovs-discuss/2016-September/042643.html > > It turned out that it is not possible in OVS to

[ovs-dev] [PATCH v2] sflow: Expose ethernet stats via sFlow

2016-12-08 Thread Robert Wojciechowicz
Expose existing netdev stats via sFlow. Export sFlow ETHERNET structure with available counters. Map existing stats to counters in the GENERIC INTERFACE sFlow structure. Adjust unit test to accommodate these new counters. Signed-off-by: Robert Wojciechowicz <robertx.wojciechow...@intel.

Re: [ovs-dev] [PATCH] sflow: Expose ethernet and vlan stats via sFlow

2016-11-21 Thread Robert Wojciechowicz
On Fri, Nov 18, 2016 at 12:35:13PM -0700, Neil McKee wrote: > That sounds like a robust way to do it, yes. Does it have the desired > effect? Does it eliminate this structure for all the virtual ethernet > ports? I believe there should only be <= 1 physical ethernet port on each It

Re: [ovs-dev] [PATCH] sflow: Expose ethernet and vlan stats via sFlow

2016-11-18 Thread Robert Wojciechowicz
On Thu, Nov 17, 2016 at 10:21:23AM -0800, Neil McKee wrote: > I'm wondering if the ethernet stats block is going to mean anything for > virtual interfaces. What if we only export it for physical interfaces? > That might reduce the overhead significantly. (Maybe your patch already > does this -

Re: [ovs-dev] [PATCH] sflow: Expose ethernet and vlan stats via sFlow

2016-11-16 Thread Robert Wojciechowicz
On Tue, Nov 15, 2016 at 11:13:10PM -0700, Neil McKee wrote: > Hi Robert, > > (3) adding vlan counters for every vlan that an interface belongs to -- I > not sure about this one. What if an interface is on a whole set of vlans? > This vlan counters structure has hardly ever been used.

[ovs-dev] [PATCH] sflow: Expose ethernet and vlan stats via sFlow

2016-11-15 Thread Robert Wojciechowicz
Expose existing netdev stats via sFlow. Export sFlow ETHERNET structure with available counters. Map existing stats to counters in the GENERIC INTERFACE sFlow structure. Export sFlow VLAN structure with available counters. Adjust unit test to accommodate these new counters. Signed-off-by: Robert