opnsense-src/sys/dev/mlx5/mlx5_en
Hans Petter Selasky b7ea0ff6a2 mlx5e: Make TLS tag zones unmanaged
These zones are cache zones used to allocate TLS offload contexts from
firmware.  Releasing items from the cache is a sleepable operation due
to the need to await a response from the firmware command freeing the
tag, so items cannot be reclaimed from the zone in non-sleepable
contexts.  Since the cache size is limited by firmware limits, avoid
this by setting UMA_ZONE_UNMANAGED to avoid reclamation by uma_timeout()
and the low memory handler.

Reviewed by:	hselasky, kib
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D34142

(cherry picked from commit 235ed6a486)
2022-02-24 10:59:38 +01:00
..
en.h mlx5en: Improve RX- and TX- TLS refcounting. 2022-02-24 10:59:07 +01:00
en_hw_tls.h mlx5en: Fix TLS worker thread race. 2022-02-24 10:59:14 +01:00
en_rl.h mlx5en: Add race protection for SQ remap 2022-02-08 16:08:53 +01:00
mlx5_en_dim.c mlx5en: idiomatic use of preprocessor, in particular paths 2022-02-08 08:42:07 +02:00
mlx5_en_ethtool.c mlx5: Add raw ethernet local loopback support. 2022-02-08 16:08:54 +01:00
mlx5_en_flow_table.c mlx5en: Make sure the NIC IP addresses are written to firmware on link up. 2022-02-11 11:15:00 +01:00
mlx5_en_hw_tls.c mlx5e: Make TLS tag zones unmanaged 2022-02-24 10:59:38 +01:00
mlx5_en_iq.c mlx5en: Add missing refcount decrement on link-down. 2022-02-24 10:59:01 +01:00
mlx5_en_main.c mlx5en: Improve RX- and TX- TLS refcounting. 2022-02-24 10:59:07 +01:00
mlx5_en_port_buffer.c mlx5en: idiomatic use of preprocessor, in particular paths 2022-02-08 08:42:07 +02:00
mlx5_en_rl.c mlx5en: Add race protection for SQ remap 2022-02-08 16:08:53 +01:00
mlx5_en_rx.c mlx5en: Improve CQE error debugging. 2022-02-24 10:58:54 +01:00
mlx5_en_tx.c mlx5en: Improve RX- and TX- TLS refcounting. 2022-02-24 10:59:07 +01:00
mlx5_en_txrx.c mlx5en: Improve CQE error debugging. 2022-02-24 10:58:54 +01:00
port_buffer.h mlx5en: idiomatic use of preprocessor, in particular paths 2022-02-08 08:42:07 +02:00