Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Apr 2016 11:13:45 -0700
From:      bazzoola <bazzoola@gmail.com>
To:        freebsd-net@freebsd.org
Subject:   netmap overrun counters
Message-ID:  <cd306a81-3a4b-6386-a059-73d455d3c931@gmail.com>

next in thread | raw e-mail | index | archive | help
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_POLL? I do see the buffers being
updated when I set this flag but 'tail' is not advancing unless I read.

Bazz



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?cd306a81-3a4b-6386-a059-73d455d3c931>