Regards
_Sugesh

From: Advith Nagappa [mailto:advith.naga...@gmail.com]
Sent: Wednesday, October 19, 2016 1:02 AM
To: Chandran, Sugesh <sugesh.chand...@intel.com>
Cc: discuss@openvswitch.org
Subject: Re: [ovs-discuss] OVS - Userspace packet processing

Hello Sugesh,

Thank you for the response.

I am using userspace OVS without DPDK. I do plan to use DPDK at a future point, 
but currently am trying to understand the behavior of a pure userspace ovs 
switch.

I have put in custom DBG messages in /lib/dpif_netdev. (specifically 
dp_netdev_process_rxq_port) but this dbg message doesn't get triggered when I 
ping between two hosts connected by a OVS capable switch.

I do see that in this case, the netdev_linux.c module is called, but I don't 
know who is calling this module (i.e the entry point to the ovs code base)
[Sugesh]It looks to me you are using kernel interfaces  in your setup, which is 
not ‘pure’ userspace openvswitch. Can you share the setup details? What type of 
interface you used to connect hosts to OVS?

Any input is appreciated.

Best Regards
Advith


On Tue, Oct 18, 2016 at 10:37 AM, Chandran, Sugesh 
<sugesh.chand...@intel.com<mailto:sugesh.chand...@intel.com>> wrote:


Regards
_Sugesh

From: discuss 
[mailto:discuss-boun...@openvswitch.org<mailto:discuss-boun...@openvswitch.org>]
 On Behalf Of Advith Nagappa
Sent: Sunday, October 16, 2016 1:33 AM
To: discuss@openvswitch.org<mailto:discuss@openvswitch.org>
Subject: [ovs-discuss] OVS - Userspace packet processing


Hello,

I am running OVS in  userspace (rmmod openvswitch.ko).

I wanted to the entry point for a packet within the OVS code base. I.e which 
module first 'sees' the packet in pure userspace OVS.

[Sugesh] [Sugesh] Look at the INSTALL.DPDK.md<http://INSTALL.DPDK.md> and 
INSTALL.DPDK-advanced.md<http://INSTALL.DPDK-advanced.md> for the set up guide.

You can start looking at the lib/dpif-netdev.c. mainly the functions such as 
dp_netdev_process_rxq_port, dp_netdev_input etc.



Best Regards
Advith

_______________________________________________
discuss mailing list
discuss@openvswitch.org
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to