Re: if_ral regression

2007-12-29 Thread bazzoola
On Dec 29, 2007, at 7:33 AM, Dag-Erling Smørgrav wrote: I upgraded my router cum firewall cum access point (soekris net4801 with a cheap third-party ralink-based wlan adapter) from RELENG_6 to HEAD and noticed what seems to be a regression in if_ral. After a certain amount of use (i.e. a

Tracing dropped UDP packets

2016-04-15 Thread bazzoola
Greetings, I would like to know where (in the kernel) UDP packets are dropped. I looked at udp_usrreq.c but is overwhelming for the 1st time. Is it possible to use DTrace to locate where the packets are being dropped? or is there a tool similar to 'dropwatch' which can tell me where in the kernel

netmap overrun counters

2016-04-28 Thread bazzoola
Hi! Two questions: (1) Is there a way to know when netmap rx rings overrun? Most NIC drivers provide MPC (missed packet count) and sysctl for rx_overrun. I would like to know if my application is not reading as fast, i.e., no frames are being dropped. (2) What is the benefit of NETMAP_DO_RX_POL

Re: netmap overrun counters

2016-04-28 Thread bazzoola
On 04/28/2016 11:35 AM, Navdeep Parhar wrote: > On 04/28/2016 11:13, bazzoola wrote: >> Hi! >> >> Two questions: >> >> (1) Is there a way to know when netmap rx rings overrun? Most NIC >> drivers provide MPC (missed packet count) and sysctl for rx_ov

Re: netmap overrun counters

2016-04-28 Thread bazzoola
On 04/28/2016 12:06 PM, Luigi Rizzo wrote: > > > On Thursday, April 28, 2016, bazzoola <mailto:bazzo...@gmail.com>> wrote: > > > > On 04/28/2016 11:35 AM, Navdeep Parhar wrote: > > On 04/28/2016 11:13, bazzoola wrote: >

Re: netmap overrun counters

2016-04-28 Thread bazzoola
Thanks Adrian, and thanks Luigi for the explanation: On 04/28/2016 01:15 PM, Luigi Rizzo wrote: > > please re-read the relevant part of the manual page: > >RECEIVE RINGS > On receive rings, after a netmap system call, the slots in the range > head... tail-1 contain received packets