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 Jan 27 2017, 8:32 AM
Parents
rGe831795b8a02: Remove nested #ifdef that can't possibly be false.
Branches
Unknown
Tags
Unknown

Event Timeline