HomeFreeBSD

Make hardware TLS send tag allocation synchronous in mlx5en(4).

Description

Make hardware TLS send tag allocation synchronous in mlx5en(4).

Previously the send tag was setup in the background, and all packets for
the given send tag were dropped until ready. Change this to be blocking
behaviour so that once the setsocketopt() for enabling TLS completes,
the socket is ready to send packets. Do this by simply flushing the
work request which does the needed firmware programming during send
tag allocation.

MFC after: 1 week
Sponsored by: Mellanox Technologies // Nvidia

Details

Provenance
hselaskyAuthored on
Parents
rS365035: MFC r363305:
Branches
Unknown
Tags
Unknown