HomeFreeBSD

mlx5en: Improve RX- and TX- TLS refcounting.

Description

mlx5en: Improve RX- and TX- TLS refcounting.

Use the send tag refcounting mechanism to refcount the RX- and TX- TLS
send tags. Then it is no longer needed to wait for refcounts to reach
zero when destroying RX- and TX- TLS send tags as a result of pending
data or WQE commands.

This also ensures that when TX-TLS and rate limiting is used at the same
time, the underlying SQ is not prematurely destroyed.

MFC after: 1 week
Sponsored by: NVIDIA Networking

Details

Provenance
hselaskyAuthored on Feb 17 2022, 11:47 AM
Parents
rGd2a788a522f7: mlx5en: Add missing refcount decrement on link-down.
Branches
Unknown
Tags
Unknown