Mapping from rtm_flags back to MIB IANAipRouteProtocol value

2012-07-24 Thread Philip Prindeville
Ok, dumb question... How do I map a routing entries rtm_flags back to a IANAipRouteProtocol value? ___ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscr...@fr

netmap bridge.c sample code assumes the same number of tx/rx queue.

2012-07-24 Thread Ming Fu
Hi Everybody, I just want to share some work I was doing last few days trying to make use the bridge code of netmap. My netmap device has 4 receive and 1 transmit queue. I found that a ping -s 5100 10.10.10.10 through the bridge will lost fragment of the ping when the transmit queue reaches

Generic queue's KPI to manipulate mbuf's queue

2012-07-24 Thread Arnaud Lacombe
Hi, AFAIK, there is no proper KPI for managing mbuf queue. All users have to re-implements the queue logic from scratch, which is less than optimal. From a preeminent FreeBSD developer at BSDCan 2009: "we do not need a new list implementation". There has been a few attempt of providing a queue API