HomeFreeBSD

Enforce reading the consumer and producer counters once to ensure

Description

Enforce reading the consumer and producer counters once to ensure
consistent return values from the mlx5e_sq_has_room_for()
function. The two counters are incremented by different threads under
different locks.

MFC after: 1 week
Sponsored by: Mellanox Technologies

Details

Provenance
hselaskyAuthored on
Parents
rS312864: Remove nested #ifdef that can't possibly be false.
Branches
Unknown
Tags
Unknown