Re: [lng-odp] [PATCHv2 0/4] linux-generic: add pktio pcap type

2015-10-01 Thread Maxim Uvarov
Hi Stuart, looks like bug with inq fixed. Are going to send updated version? Thank you, Maxim. On 09/10/15 14:24, Stuart Haslam wrote: On Mon, Sep 07, 2015 at 10:55:21AM +0100, Stuart Haslam wrote: On Fri, Sep 04, 2015 at 02:50:47PM -0500, Bill Fischofer wrote: On Fri, Sep 4, 2015 at 8:20

Re: [lng-odp] [PATCHv2 0/4] linux-generic: add pktio pcap type

2015-09-10 Thread Stuart Haslam
On Mon, Sep 07, 2015 at 10:55:21AM +0100, Stuart Haslam wrote: > On Fri, Sep 04, 2015 at 02:50:47PM -0500, Bill Fischofer wrote: > > On Fri, Sep 4, 2015 at 8:20 AM, Stuart Haslam > > wrote: > > > > > This is pretty handy for testing, for example to test classifier rules

Re: [lng-odp] [PATCHv2 0/4] linux-generic: add pktio pcap type

2015-09-08 Thread Mike Holmes
On 7 September 2015 at 06:01, Stuart Haslam wrote: > On Mon, Sep 07, 2015 at 10:42:13AM +0300, Maxim Uvarov wrote: > > On 09/04/15 20:37, Bala Manoharan wrote: > > >This method of using pcap file to generate packets is fine. > > >But why should we use a dedicated

Re: [lng-odp] [PATCHv2 0/4] linux-generic: add pktio pcap type

2015-09-07 Thread Stuart Haslam
On Mon, Sep 07, 2015 at 10:42:13AM +0300, Maxim Uvarov wrote: > On 09/04/15 20:37, Bala Manoharan wrote: > >This method of using pcap file to generate packets is fine. > >But why should we use a dedicated interface with "pcap" as the name? > > > >I was imagining something like an ODP application

Re: [lng-odp] [PATCHv2 0/4] linux-generic: add pktio pcap type

2015-09-07 Thread Stuart Haslam
On Fri, Sep 04, 2015 at 02:50:47PM -0500, Bill Fischofer wrote: > On Fri, Sep 4, 2015 at 8:20 AM, Stuart Haslam > wrote: > > > This is pretty handy for testing, for example to test classifier rules > > using packets from a pcap; > > > > odp_classifier

[lng-odp] [PATCHv2 0/4] linux-generic: add pktio pcap type

2015-09-04 Thread Stuart Haslam
This is pretty handy for testing, for example to test classifier rules using packets from a pcap; odp_classifier -ipcap:in=test.pcap -p -m 0 "ODP_PMR_SIP_ADDR:192.168.111.2::queue1" -t 5 Use the l2fwd app send packets from a pcap out over a real interface; odp_l2fwd

Re: [lng-odp] [PATCHv2 0/4] linux-generic: add pktio pcap type

2015-09-04 Thread Bala Manoharan
This method of using pcap file to generate packets is fine. But why should we use a dedicated interface with "pcap" as the name? I was imagining something like an ODP application which reads from a given pcap file constructs the packet and sends the packet through an interface. The concern I

Re: [lng-odp] [PATCHv2 0/4] linux-generic: add pktio pcap type

2015-09-04 Thread Bill Fischofer
On Fri, Sep 4, 2015 at 8:20 AM, Stuart Haslam wrote: > This is pretty handy for testing, for example to test classifier rules > using packets from a pcap; > > odp_classifier -ipcap:in=test.pcap -p -m 0 > "ODP_PMR_SIP_ADDR:192.168.111.2::queue1" > -t 5 > > Use