Re: netmap: understanding pkg-gen.c

2013-10-03 Thread Ryan Stone
On Thu, Oct 3, 2013 at 2:51 AM, hiren panchasara wrote: > What/where is the exact logic/code of how card determines what traffic goes > to what queue? > Is it based on DST-MAC always? RSS is based off of a hash of the 4-tuple (src/dst ip, src/dst port). Note that this is very dependent on the har

Re: netmap: understanding pkg-gen.c

2013-10-03 Thread Luigi Rizzo
On Thu, Oct 3, 2013 at 8:51 AM, hiren panchasara wrote: > > But you will still see traffic only to one queue, because >> pkt-gen by default uses the same DST-MAC address so the >> way you configure RSS is irrelevant. >> > What/where is the exact logic/code of how card determines what traffic > go

Re: netmap: understanding pkg-gen.c

2013-10-02 Thread hiren panchasara
On Wed, Oct 2, 2013 at 11:05 PM, Luigi Rizzo wrote: > > > > On Thu, Oct 3, 2013 at 6:34 AM, hiren panchasara < > hiren.panchas...@gmail.com> wrote: > >> >> Thanks Luigi. >> >> Coming back to this thread to actually understand what's going on. >> >> >> On Tue, Sep 24, 2013 at

Re: netmap: understanding pkg-gen.c

2013-10-02 Thread Luigi Rizzo
On Thu, Oct 3, 2013 at 6:34 AM, hiren panchasara wrote: > > Thanks Luigi. > > Coming back to this thread to actually understand what's going on. > > > On Tue, Sep 24, 2013 at 8:37 PM, Luigi Rizzo wrote: > >> > >> > On this box, I have 2 interfaces igb0 (10.73.149.2

Re: netmap: understanding pkg-gen.c

2013-10-02 Thread hiren panchasara
On Wed, Oct 2, 2013 at 4:39 PM, hiren panchasara wrote: > > > > On Wed, Oct 2, 2013 at 4:15 PM, hiren panchasara < > hiren.panchas...@gmail.com> wrote: > >> >> >> >> On Wed, Oct 2, 2013 at 3:11 PM, hiren panchasara < >> hiren.panchas...@gmail.com> wrote: >> >>> >>> >>> >>> On Wed, Oct 2, 2013 at

Re: netmap: understanding pkg-gen.c

2013-10-02 Thread hiren panchasara
On Wed, Oct 2, 2013 at 4:15 PM, hiren panchasara wrote: > > > > On Wed, Oct 2, 2013 at 3:11 PM, hiren panchasara < > hiren.panchas...@gmail.com> wrote: > >> >> >> >> On Wed, Oct 2, 2013 at 1:18 PM, hiren panchasara < >> hiren.panchas...@gmail.com> wrote: >> >>> >>> Thanks Luigi. >>> >>> Coming ba

Re: netmap: understanding pkg-gen.c

2013-10-02 Thread hiren panchasara
On Wed, Oct 2, 2013 at 3:11 PM, hiren panchasara wrote: > > > > On Wed, Oct 2, 2013 at 1:18 PM, hiren panchasara < > hiren.panchas...@gmail.com> wrote: > >> >> Thanks Luigi. >> >> Coming back to this thread to actually understand what's going on. >> >> >> On Tue, Sep 24, 2013 at 8:37 PM, Luigi Ri

Re: netmap: understanding pkg-gen.c

2013-10-02 Thread hiren panchasara
On Wed, Oct 2, 2013 at 1:18 PM, hiren panchasara wrote: > > Thanks Luigi. > > Coming back to this thread to actually understand what's going on. > > > On Tue, Sep 24, 2013 at 8:37 PM, Luigi Rizzo wrote: > >> > >> > On this box, I have 2 interfaces igb0 (10.73.149.28) and ix1 >> (10.73.149.17) >>

Re: netmap: understanding pkg-gen.c

2013-10-02 Thread hiren panchasara
Thanks Luigi. Coming back to this thread to actually understand what's going on. On Tue, Sep 24, 2013 at 8:37 PM, Luigi Rizzo wrote: > > > > On this box, I have 2 interfaces igb0 (10.73.149.28) and ix1 > (10.73.149.17) > > and this is how I am using this binary: > > > > -bash-4.2$ sudo ./pkt-ge

Re: netmap: understanding pkg-gen.c

2013-09-24 Thread Luigi Rizzo
On Wed, Sep 25, 2013 at 5:32 AM, hiren panchasara wrote: > I am new to netmap so thought of confirming my understanding. > ... > > On this box, I have 2 interfaces igb0 (10.73.149.28) and ix1 (10.73.149.17) > and this is how I am using this binary: > > -bash-4.2$ sudo ./pkt-gen -i ix1 -f tx -n 100

netmap: understanding pkg-gen.c

2013-09-24 Thread hiren panchasara
I am new to netmap so thought of confirming my understanding. I was trying to associate ixgbe interface with netmap and blast pkts to it using tools/tools/netmap/pkg-gen.c My setup looks like this: FreeBSD 10.0-ALPHA1 #2: Sun Sep 22 18:08:18 UTC 2013 -bash-4.2$ sysctl hw.physmem hw.physmem: 5150