netmap NETMAP_SW_RING or NETMAP_HW_RING

Ming Fu ming.fu at netsweeper.com
Wed Oct 17 16:50:05 UTC 2012


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




More information about the freebsd-net mailing list