netmap overrun counters

Navdeep Parhar np at FreeBSD.org
Thu Apr 28 18:35:12 UTC 2016


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_overrun.
> 
> I would like to know if my application is not reading as fast, i.e., no
> frames are being dropped.

A NIC's hardware counters don't distinguish between netmap or normal
operation so you can monitor the existing sysctls for rx drops/overruns.

Regards,
Navdeep


More information about the freebsd-net mailing list