Re: Using netmap on Windows

2018-05-31 Thread Vincenzo Maffione
Hi, Unfortunately the support for Windows is still very experimental, and the developer that did it (a couple years ago) is not working on that anymore. Also, in that first prototype there was no support for "native" drivers, i.e. patched drivers for Intel or other NICs. Only VALE, netmap pipes

Re: using netmap

2013-04-28 Thread Sami Halabi
Thank you. I've started using pkt-gen in virtualbox, 2 machines singlwe core-i7 3612QM core, with em cards internal. I see that the sender send about 950 kpps but the receiver is far less (around 200kpps max). Any suggestions why this? Sami On Apr 26, 2013 11:23 AM, "Luigi Rizzo" wrote: > On Fri

Re: using netmap

2013-04-26 Thread Luigi Rizzo
On Fri, Apr 26, 2013 at 09:23:35AM +0300, Sami Halabi wrote: > Hi Eitan, > Thank your for your response. > the ioctl is the example was in Luigi netmap page... maybe Luigi can help > here??? the thing i suggest is take the pkt-gen source from the FreeBSD tree tools/tools/netmap/ and

Re: using netmap

2013-04-26 Thread Steve Read
On 26.04.2013 08:23, Sami Halabi wrote: Hi Eitan, Thank your for your response. the ioctl is the example was in Luigi netmap page... maybe Luigi can help here??? can you say why the print's are wrong? They print the addresses of the variables, not their values. int i = 1234; printf("i=%d\

Re: using netmap

2013-04-25 Thread Sami Halabi
Hi Eitan, Thank your for your response. the ioctl is the example was in Luigi netmap page... maybe Luigi can help here??? can you say why the print's are wrong? i fetched wrking headers from other tools without too much checking, maybe some are irrelevant but for my tests i didn't worry abou

Re: using netmap

2013-04-25 Thread Eitan Adler
[ please bottom post or reply inline ] On 25 April 2013 17:48, Sami Halabi wrote: > Okay, > i figured out the includes, now it runs and seg faults: Don't forget to show the working headers ;) > any ideas? > > here is the new code: > int main() { > > struct netmap_if *nifp = NULL; > struct nmreq

Re: using netmap

2013-04-25 Thread Sami Halabi
Okay, i figured out the includes, now it runs and seg faults: root@fbsd1:~/netmap # ./n Starting... em0 registered... sysctl passed mem mapped... nifp mapped...32766 rx ring def... rx ring start... Segmentation fault (core dumped) root@fbsd1:~/netmap # so apparently it faults at the initializatio

Re: using netmap

2013-04-15 Thread Andreas Nilsson
On Mon, Apr 15, 2013 at 7:52 PM, Sami Halabi wrote: > Hi, > I would like to start using netmap. > > as a start i copied the example from netmap > page: > #include > #include > #include > #include > > int main() { > > struct netmap_if *nifp; > struct nm