opnsense-src/sys/dev/ena
Zbigniew Bodek b9252a8889 Move ENA's hw stats updating routine to separate task
Initially, stats were being updated each time OS was requesting for
the first statistic.
To read statistics from hw, condvar was used. cv_timedwait cannot be
called when unsleepable lock is held, and this happens when FreeBSD
is requesting statistic.
Seperate task is reading statistics from NIC each 1 second.

Submitted by:   Michal Krawczyk <mk@semihalf.com>
Obtained from:  Semihalf
Sponsored by:   Amazon.com Inc.
Differential revision: https://reviews.freebsd.org/D10926
2017-05-30 11:58:51 +00:00
..
ena.c Move ENA's hw stats updating routine to separate task 2017-05-30 11:58:51 +00:00
ena.h Move ENA's hw stats updating routine to separate task 2017-05-30 11:58:51 +00:00
ena_sysctl.c
ena_sysctl.h