Re: [ovs-discuss] getting packets on ovs kernel module for testing/debugging

2015-02-25 Thread Ben Pfaff
I think you need to ask a more specific question, because so far my answer is just "Write some code to do that." On Thu, Feb 26, 2015 at 12:00:35PM +0500, david jhon wrote: > Thanks Ben, > > I want to test how ovs kernel module processes packets and update a > corresponding flow entry in flow_tab

Re: [ovs-discuss] getting packets on ovs kernel module for testing/debugging

2015-02-25 Thread david jhon
Thanks Ben, I want to test how ovs kernel module processes packets and update a corresponding flow entry in flow_table. Any suggestions please? On Thu, Feb 26, 2015 at 11:30 AM, Ben Pfaff wrote: > On Wed, Feb 25, 2015 at 04:09:59PM +0500, david jhon wrote: > > In order to debug ovs kernel modul

Re: [ovs-discuss] getting packets on ovs kernel module for testing/debugging

2015-02-25 Thread Ben Pfaff
On Wed, Feb 25, 2015 at 04:09:59PM +0500, david jhon wrote: > In order to debug ovs kernel module in gdb, I have set a breakpoint at > ovs_dp_process_packet() method in datapath/datapath.c, generating traffic > with ping command from one mininet host to other, but not able to debug it > at all beca

[ovs-discuss] getting packets on ovs kernel module for testing/debugging

2015-02-25 Thread david jhon
hi, In order to debug ovs kernel module in gdb, I have set a breakpoint at ovs_dp_process_packet() method in datapath/datapath.c, generating traffic with ping command from one mininet host to other, but not able to debug it at all because on running n in gdb, I get "The program is not being run."