K 10 svn:author V 6 emaste K 8 svn:date V 27 2012-11-19T19:14:25.371659Z K 7 svn:log V 890 Sync netmap pkt-gen with HEAD. MFC r238081, r238165, r238170, r238175, r239139, r239145, r240103, r238081: r238165: Allow threads to finish up when terminated by user Set a flag and allow worker threads to finish upon ^C, instead of immediately cancelling them, so that final packet count and rate stats can be displayed. r238170: Also report tx bandwidth with Ethernet overhead r238175: Allow continuous packet transmission (via -t 0) Also add a missing check for the cancel flag while waiting for the first packet in receive mode. r239139: Round displayed pps (instead of truncating) r239145: Be more descriptive about poll error / timeout when transmitting. r240103: Failure to open netmap device is unrecoverable. There's no reason to "fail later" since there's nothing this tool can do in netmap mode without /dev/netmap open. Sponsored by: ADARA Networks END