Hello Freebsd-net, Is `pkt-gen' (for netmap) supported on FreeBSD?
${SRCTOP}/tools/tools/netmap/pkt-gen.c is very old and could not be built (I've checked stable/11, stable/12 and head). ${PORTS}/net/pkt-gen is not so old, but more than year old + patches pkt-gen from github could be built on CURRENT, but can not finish transmission: 236.545902 main_thread [2605] 0 pps (0 pkts 0 bps in 1031501 usec) 0.00 avg_batch 99999 min_space 237.000000 sender_body [1687] pending tx tail 446 head 448 on ring 0 237.000007 sender_body [1687] pending tx tail 446 head 448 on ring 0 237.000011 sender_body [1687] pending tx tail 446 head 448 on ring 0 237.000016 sender_body [1687] pending tx tail 446 head 448 on ring 0 237.000020 sender_body [1687] pending tx tail 446 head 448 on ring 0 237.607508 main_thread [2605] 0 pps (0 pkts 0 bps in 1061606 usec) 0.00 avg_batch 99999 min_space 238.000000 sender_body [1687] pending tx tail 446 head 448 on ring 0 238.000005 sender_body [1687] pending tx tail 446 head 448 on ring 0 238.000009 sender_body [1687] pending tx tail 446 head 448 on ring 0 238.000013 sender_body [1687] pending tx tail 446 head 448 on ring 0 238.000017 sender_body [1687] pending tx tail 446 head 448 on ring 0 (forever) and can not be used in benchmarking scripts... Which one should I use? How could I be sure that transmission of given number of packets will be finished in finite time no matter what? Is this problem with tx queue really driver problem or netmap problem? -- Best regards, Lev mailto:l...@freebsd.org _______________________________________________ freebsd-net@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"