Re: [ovs-discuss] disable datapath

2016-08-08 Thread Fischetti, Antonio
Hi Amrane, that’s the expected behavior. The 1st packet of a flow goes up to userspace – and there’s a context switch for that. After classification 1 cache entry will be added in the megaflow table and another cache entry into the microflow table, both these 2 caches are into the kernel. So

Re: [ovs-discuss] pci_map_resource(): cannot mmap(..): Invalid argument (0xffffffffffffffff)

2016-06-29 Thread Fischetti, Antonio
coming from DPDK code – and especially if you still have the same issue with a DPDK app without OVS - it could be a good idea to post also to the DPDK Mailing-list. Antonio From: Charlie Li [mailto:charlie...@gmail.com] Sent: Tuesday, June 28, 2016 8:36 PM To: Fischetti, Antonio <antonio.fis

Re: [ovs-discuss] pci_map_resource(): cannot mmap(..): Invalid argument (0xffffffffffffffff)

2016-06-28 Thread Fischetti, Antonio
[mailto:charlie...@gmail.com] Sent: Tuesday, June 28, 2016 4:41 PM To: Fischetti, Antonio <antonio.fische...@intel.com> Cc: discuss@openvswitch.org Subject: Re: [ovs-discuss] pci_map_resource(): cannot mmap(..): Invalid argument (0x) Hi Antonio, Please see the dumps in the attache

Re: [ovs-discuss] pci_map_resource(): cannot mmap(..): Invalid argument (0xffffffffffffffff)

2016-06-28 Thread Fischetti, Antonio
Hi Charlie, while this issue is happening with Fed23 can you check what are the 2 outputs of 1. sudo $DPDK_DIR/tools/dpdk_nic_bind.py --status and also 2. lspci | grep 02:00 ? Antonio From: discuss [mailto:discuss-boun...@openvswitch.org] On Behalf Of Charlie Li Sent: Friday,

Re: [ovs-discuss] which API handle add-flow finally to configure ASIC

2016-06-03 Thread Fischetti, Antonio
nfo/discuss > >or, via email, send a message with subject or body 'help' to > > discuss-requ...@openvswitch.org > > > >You can reach the person managing the list at > > discuss-ow...@

Re: [ovs-discuss] Packet-in event

2016-06-03 Thread Fischetti, Antonio
Referring to OVS in userspace, the function dp_netdev_process_rxq_port() calls netdev_rxq_recv() which, depending on the type of interface, will call the specific function, eg for a dpdk IF it will call dp_netdev_process_rxq_port() for an internal interface it calls netdev_linux_rxq_recv(). Then

Re: [ovs-discuss] DPDK-OvS Cache Architecture

2016-04-29 Thread Fischetti, Antonio
Hi Volkan replies inline. Regards, Antonio > -Original Message- > From: discuss [mailto:discuss-boun...@openvswitch.org] On Behalf Of > Ali Volkan Atli > Sent: Friday, April 29, 2016 2:16 PM > To: discuss@openvswitch.org > Subject: [ovs-discuss] DPDK-OvS Cache Architecture > > Hi > > I

Re: [ovs-discuss] IP on bridge / internal iface

2016-04-26 Thread Fischetti, Antonio
Hi Petr, below my replies inline. Regards, Antonio From: discuss [mailto:discuss-boun...@openvswitch.org] On Behalf Of Petr Horacek Sent: Tuesday, April 26, 2016 1:10 PM To: discuss@openvswitch.org ML Cc: Edward Haas ; Dan Kenigsberg

Re: [ovs-discuss] ovs function structure

2016-03-02 Thread Fischetti, Antonio
Hi Andrea, are your referring to standard OVS or OVS+DPDK? From: discuss [mailto:discuss-boun...@openvswitch.org] On Behalf Of Andrea Benfatti Sent: Sunday, February 28, 2016 3:49 PM To: discuss@openvswitch.org Subject: [ovs-discuss] ovs function structure Hi, i'm trying to modify ovs to add a

Re: [ovs-discuss] Issue while using Firewall/conntrack with OVS 2.5 + DPDK 2.2.0 in user mode

2016-02-01 Thread Fischetti, Antonio
Hi All, I ran some tests by using the source code at https://github.com/ddiproietto/ovs/tree/userconntrack_20151115 I could use the add-flow commands, the only thing was to remember the " " like in the following sudo $OVS_DIR/utilities/ovs-ofctl add-flow br0 "table=0,in_port=1,tcp,

[ovs-discuss] ConnTracker: any Performance figures?

2016-01-18 Thread Fischetti, Antonio
Hi All, I'm having a look at the ConnTracker implementation, especially the one in user-space. Are there any performance figures for OVS and/or OVS-DPDK with this feature? Or any test results? Thanks, Antonio ___ discuss mailing list

Re: [ovs-discuss] Can OVS forward packets on the basis of IPV4 address

2016-01-07 Thread Fischetti, Antonio
Should you instead use "output:2" in your 3rd command, like: ovs-ofctl add-flow br2 "priority=3,dl_type=0x0800,nw_src=10.0.1.10,tun_src=172.26.192.128,tun_id=5001,action=output:2" ? Antonio From: discuss [mailto:discuss-boun...@openvswitch.org] On Behalf Of Prerna Pandit Sent: Thursday,

Re: [ovs-discuss] userspace datapath FreeBSD functionality

2015-11-20 Thread Fischetti, Antonio
Hi Samii, Broadly speaking ‘in-band control’ means that the Control-Plane and Data-Plane share the same transmission ‘channel’. A typical example can be Rs-232 with XON/XOFF control bytes, which are sent with data bytes over the same wire. Or SMTP where the Control messages like ‘HELO’,etc are

Re: [ovs-discuss] find the goto table instruction in the code

2015-11-12 Thread Fischetti, Antonio
Hi, You may want to have a look at 'OVS/lib/dpif-netdev.c' file. You can start with the 'dp_netdev_process_rxq_port()' function and follow the calls. You can see for ex. dp_netdev_input() which at first calls emc_processing() and in case a match is not found in the EMC it will call

Re: [ovs-discuss] Open vSwitch running on DPDK

2015-11-10 Thread Fischetti, Antonio
Hi, Please find below my replies inline. > -Original Message- > From: discuss [mailto:discuss-boun...@openvswitch.org] On Behalf Of ??? > Sent: Tuesday, November 10, 2015 6:06 AM > To: discuss@openvswitch.org > Subject: [ovs-discuss] Open vSwitch running on DPDK > > When Open vSwitch is