Re: [ovs-discuss] How to reset counters of ovs-flows ?

2017-03-28 Thread Ben Pfaff
If you can do without the flows momentarily, you could delete all the flows and then replace them. On Wed, Mar 29, 2017 at 10:28:13AM +0530, f 62 wrote: > Getting this error with OpenFlow1.0 > > sudo ovs-ofctl -O OpenFlow10 --readd replace-flows br-int /tmp/br_int > > ovs-ofctl: switch does not

Re: [ovs-discuss] How to reset counters of ovs-flows ?

2017-03-28 Thread f 62
Getting this error with OpenFlow1.0 sudo ovs-ofctl -O OpenFlow10 --readd replace-flows br-int /tmp/br_int ovs-ofctl: switch does not support any of the usable flow formats (OXM,NXM+table_id) Is there any other way to achieve same ? On Tue, Mar 28, 2017 at 10:17 PM, Ben Pfaff

Re: [ovs-discuss] VM-VM-VM communication via OVS

2017-03-28 Thread Advith Nagappa
Hello, I meant VM1 - VM2(ovs) - VM3.. Yes, the host is Linux. The VMs are already connected without the OVS I want to create a topology such that communication goes via OVS in VM3. On Mar 29, 2017 01:03, "Yi Tseng" wrote: Hi You mean: VM1 -- VM2(with ovs) -- VM3 ?

Re: [ovs-discuss] Error attaching device to DPDK

2017-03-28 Thread Darrell Ball
From: on behalf of Brad Cowie Date: Tuesday, March 28, 2017 at 5:35 PM To: Shivaram Mysore Cc: "ovs-discuss@openvswitch.org" Subject: Re: [ovs-discuss] Error attaching device to DPDK

Re: [ovs-discuss] Error attaching device to DPDK

2017-03-28 Thread Shivaram Mysore
Once again thanks to Brad for helping me resolve this issue. One other thing that I could suggest is that to throw a WARN message in the logs if more than 1 CPU is found and memory is not set for all CPUs especially when using DPDK. My read on the situation was that memory was going to be

Re: [ovs-discuss] Error attaching device to DPDK

2017-03-28 Thread Brad Cowie
Hi folks, I have been helping Shivaram off-list with this problem and just wanted to update this thread with the solution. Basically the issue was with how hugepages were being preallocated by OVS for use with DPDK. I believe by default OVS sets other_config:dpdk-socket-mem to "1024,0". Which

Re: [ovs-discuss] Centralizing OVS-DPDK Blogs

2017-03-28 Thread Justin Pettit
> On Mar 28, 2017, at 4:15 AM, Stokes, Ian wrote: > > Hi All, > > There are a number of useful blogs maintained by Intel for OVS-DPDK. These > range from simple 'how-to' articles for specific feature to more technical > deep dives of how features work under the hood. >

Re: [ovs-discuss] VM-VM-VM communication via OVS

2017-03-28 Thread Yi Tseng
Hi You mean: VM1 -- VM2(with ovs) -- VM3 ? or VM1 -- ovs -- VM2 -- ovs -- VM3 I assume that your host system is Linux You can create veth pairs. And attach veth interfaces to VMs and ovs. -Yi 2017-03-28 14:21 GMT-07:00 Justin Pettit : > > > On Mar 28, 2017, at 3:48 AM,

Re: [ovs-discuss] VM-VM-VM communication via OVS

2017-03-28 Thread Justin Pettit
> On Mar 28, 2017, at 3:48 AM, Advith Nagappa wrote: > > Hello All, > > Is it possible to link 2 guest VMS, via another guest VM using OVS bridge? > > Is anyone aware of any resource/doc covering this scenario? I don't understand the deployment scenario that you're

Re: [ovs-discuss] Error attaching device to DPDK

2017-03-28 Thread Shivaram Mysore
Ok thanks. Will remember the same. Right now, I will not specify anything as I have to get this to work first! On Tue, Mar 28, 2017 at 2:00 PM, Bodireddy, Bhanuprakash < bhanuprakash.bodire...@intel.com> wrote: > >Question: > > > >I don't have any specific cpu cores associated with DPDK. Will

Re: [ovs-discuss] Error attaching device to DPDK

2017-03-28 Thread Bodireddy, Bhanuprakash
>Question: > >I don't have any specific cpu cores associated with DPDK.  Will this make any >difference?  I also did not see this requirement as a MUST have in the >documentation. I assume your question is on PMD threads. If you don’t specify any thing explicitly PMD pmd thread shall be created

Re: [ovs-discuss] in mininet

2017-03-28 Thread Guang Yang
Hi: How can I implement this if I want to create: oxm_type=example, oxm_hasmask=1, oxm_length=4, oxm_value=0x7060, oxm_mask=0xFF00 can I use ovs-ofctl add-flow? and how? Regards, Guang On 24 March 2017 at 19:03, Ben Pfaff wrote: > It sounds like you need the source code. > > On

Re: [ovs-discuss] Error attaching device to DPDK

2017-03-28 Thread Shivaram Mysore
Question: I don't have any specific cpu cores associated with DPDK. Will this make any difference? I also did not see this requirement as a MUST have in the documentation. #* cat /proc/cmdline* BOOT_IMAGE=/boot/vmlinuz-4.10.0-14-generic root=/dev/mapper/intelsdn--vg-root ro quiet

Re: [ovs-discuss] Error attaching device to DPDK

2017-03-28 Thread Shivaram Mysore
I was advised on this mailing list that VFIO drivers are better than IGB_UIO + more forgiving [1]. Hence switched to the same. [1] http://dpdk-guide.gitlab.io/dpdk-guide/setup/binding.html /Shivaram On Tue, Mar 28, 2017 at 1:12 PM, Bodireddy, Bhanuprakash < bhanuprakash.bodire...@intel.com>

Re: [ovs-discuss] Error attaching device to DPDK

2017-03-28 Thread Shivaram Mysore
any hints for me based on the info provided? Thanks On Tue, Mar 28, 2017 at 8:41 AM, Shivaram Mysore wrote: > Hi, > > # *dmesg | grep -e DMAR -e IOMMU* > [0.00] ACPI: DMAR 0x798AF340 000158 (v01 SUPERM SMCI--MB > 0001 INTL 20091013) > [

Re: [ovs-discuss] Userspace match+action Revalidation

2017-03-28 Thread Joe Stringer
On 28 March 2017 at 00:05, Advith Nagappa wrote: > I am sorry, I should have been more specific. > > I meany Userspace ovs without a Kernel module.. Yes, this is what the datapath does. It doesn't make a difference if using kernel or userspace datapath.

Re: [ovs-discuss] How to reset counters of ovs-flows ?

2017-03-28 Thread Ben Pfaff
On Tue, Mar 28, 2017 at 05:26:46PM +0530, f 62 wrote: > I am trying to reset the counter of ovs-flows. I followed following steps: > > a. ovs-ofctl -O Openflow13 dump-flows br-int > /tmp/br_int > > b. ovs-ofctl -O OpenFlow13 --readd replace-flows br-int /tmp/br_int > > > Its not working .

[ovs-discuss] Centralizing OVS-DPDK Blogs

2017-03-28 Thread Stokes, Ian
Hi All, There are a number of useful blogs maintained by Intel for OVS-DPDK. These range from simple 'how-to' articles for specific feature to more technical deep dives of how features work under the hood. Currently these blogs are hosted on the Intel Developer Zone (and will continue to be),

[ovs-discuss] VM-VM-VM communication via OVS

2017-03-28 Thread Advith Nagappa
Hello All, Is it possible to link 2 guest VMS, via another guest VM using OVS bridge? Is anyone aware of any resource/doc covering this scenario? Best Regards Advith Nagappa ___ discuss mailing list disc...@openvswitch.org

Re: [ovs-discuss] Error attaching device to DPDK

2017-03-28 Thread Bodireddy, Bhanuprakash
Hello shivaram, Darrell has already asked if VT-d is enabled? Your cmdline options are appropriate as you have iommu enabled(intel_iommu=on iommu=pt). can you also check the output of below mentioned command to see if VT-d is enabled in BIOS? $ dmesg | grep -e DMAR -e IOMMU Regards,

Re: [ovs-discuss] Userspace match+action Revalidation

2017-03-28 Thread Advith Nagappa
I am sorry, I should have been more specific. I meany Userspace ovs without a Kernel module.. Best Regards Advith On Mar 27, 2017 7:57 PM, "Joe Stringer" wrote: On 25 March 2017 at 03:05, Advith Nagappa wrote: > Hello, > > > Is there a mechanism in OVS