CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2017/03/09 13:15:36
Modified files:
sys/dev/pv : if_xnf.c
Log message:
Fix an off by one when updating the TX consumer event index
The transmit completion notification is posted when the consumer index
becomes equal to the consumer event index. The code attempted to save
up on an update if the current value of the consumer index was below
its event index, but incorrectly handled the situation when they were
equal: the consumer event index wouldn't be advanced and the ring would
stall.
With help from Jan Schreiber who asked some good questions.