Page MenuHomeFreeBSD

Store the send tag type in the common send tag header.
ClosedPublic

Authored by jhb on Oct 5 2020, 9:16 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Mar 29, 2:18 AM
Unknown Object (File)
Dec 26 2023, 12:16 PM
Unknown Object (File)
Dec 20 2023, 3:06 AM
Unknown Object (File)
Dec 11 2023, 11:39 PM
Unknown Object (File)
Dec 10 2023, 2:47 PM
Unknown Object (File)
Dec 3 2023, 3:56 PM
Unknown Object (File)
Nov 3 2023, 4:33 PM
Unknown Object (File)
Nov 3 2023, 2:43 PM

Details

Summary

Both cxgbe(4) and mlx5(4) wrapped the existing send tag header with
their own identical headers that stored the type that the
type-specific tag structures inherited from, so in practice it seems
drivers need this in the tag anyway. This permits removing these
extra header indirections (struct cxgbe_snd_tag and struct
mlx5e_snd_tag).

In addition, this permits driver-independent code to query the type of
a tag, e.g. to know what type of tag is being queried via
if_snd_query.

Test Plan
  • tested NIC TLS on T6
  • Drew tested this as part of the TLS ratelimit patches

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable