HomeFreeBSD

mlx5en: Add race protection for SQ remap

Description

mlx5en: Add race protection for SQ remap

Add a refcount for posted WQEs to avoid a race between
post WQE and FW command flows.

Sponsored by: NVIDIA Networking

(cherry picked from commit a8e715d21b963251e449187c98292fff77dc7576)

Details

Provenance
hselaskyAuthored on Feb 8 2022, 3:08 PM
Parents
rG75312cafe79f: mlx5en: Properly account for no-checksum on tunneled packets.
Branches
Unknown
Tags
Unknown