mirror of
https://github.com/opnsense/src.git
synced 2026-04-01 15:35:10 -04:00
Move the type and function pointers for operations on existing send tags (modify, query, next, free) out of 'struct ifnet' and into a new 'struct if_snd_tag_sw'. A pointer to this structure is added to the generic part of send tags and is initialized by m_snd_tag_init() (which now accepts a switch structure as a new argument in place of the type). Previously, device driver ifnet methods switched on the type to call type-specific functions. Now, those type-specific functions are saved in the switch structure and invoked directly. In addition, this more gracefully permits multiple implementations of the same tag within a driver. In particular, NIC TLS for future Chelsio adapters will use a different implementation than the existing NIC TLS support for T6 adapters. Reviewed by: gallatin, hselasky, kib (older version) Sponsored by: Chelsio Communications Differential Revision: https://reviews.freebsd.org/D31572 |
||
|---|---|---|
| .. | ||
| en.h | ||
| en_hw_tls.h | ||
| en_rl.h | ||
| mlx5_en_dim.c | ||
| mlx5_en_ethtool.c | ||
| mlx5_en_flow_table.c | ||
| mlx5_en_hw_tls.c | ||
| mlx5_en_main.c | ||
| mlx5_en_port_buffer.c | ||
| mlx5_en_rl.c | ||
| mlx5_en_rx.c | ||
| mlx5_en_tx.c | ||
| mlx5_en_txrx.c | ||
| port_buffer.h | ||