Searched hist:301724 (Results 1 - 2 of 2) sorted by relevance

/freebsd-11.0-release/sys/dev/sfxge/
H A Dsfxge_ev.cdiff 301724 Thu Jun 09 12:35:34 MDT 2016 arybchik sfxge(4): handle negative ticks difference correctly

ticks are signed int and if statistics is not updated for a long time
(more than INT_MAX ticks, but less than UINT_MAX) difference becomes
negative and less than hz for a long time.

Other option to repeat is simply load driver (which initializes
timestamps to 0) when ticks are negative.

Sponsored by: Solarflare Communications, Inc.
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D6777
H A Dsfxge_port.cdiff 301724 Thu Jun 09 12:35:34 MDT 2016 arybchik sfxge(4): handle negative ticks difference correctly

ticks are signed int and if statistics is not updated for a long time
(more than INT_MAX ticks, but less than UINT_MAX) difference becomes
negative and less than hz for a long time.

Other option to repeat is simply load driver (which initializes
timestamps to 0) when ticks are negative.

Sponsored by: Solarflare Communications, Inc.
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D6777

Completed in 57 milliseconds