Re: netmap NETMAP_SW_RING or NETMAP_HW_RING

2012-10-17 Thread Ming Fu
After a second look at the netmap_open code, I believe the NETMAP_HW_RING is the choice. My next trouble to to receive packets. The program spins off 8 threads, each thread try to bind to one of the queue on an igb card. (queue 0-7). depending on how I call the netmap_open(). if I call ne

netmap NETMAP_SW_RING or NETMAP_HW_RING

2012-10-17 Thread Ming Fu
Hi, What is the difference between NETMAP_SW_RING and NETMAP_HW_RING. When using netmap_open() in the example code to create a netmap fdesc, one of these two need to be ORed to the queue ID, in order to bind only one RX queue. netmap code updated from FreeBSD RELENG_9. Regards, Ming __