HomeFreeBSD

Clear RX completion queue state veriables in iflib_stop()

Description

Clear RX completion queue state veriables in iflib_stop()

iflib_stop() was not resetting the rxq completion queue state variables.
This meant that for any driver that has receive completion queues, after a
reinit, iflib would start asking what's available on the rx side starting at
whatever the completion queue index was prior to the stop, instead of at 0.

Submitted by: pkelsey
Reported by: pkelsey
MFC after: 3 days
Sponsored by: Limelight Networks

Details

Provenance
shurdAuthored on
Parents
rS340444: MFC S340428: Prepare move of ctm from base to a port (misc/ctm) by:
Branches
Unknown
Tags
Unknown