opnsense-src/sys/dev/cxgbe/tom
Navdeep Parhar 516fee5422 cxgbe(4): Block most access to the hardware as soon as the adapter stops.
Add a new hw_all_ok() routine and use it to avoid hardware access in the
public control interfaces (ifnet ioctls, ifmedia calls, etc.).  Continue
to use hw_off_limits() in the private ioctls/sysctls and other debug
code.  Retire adapter_stopped() as it's of no use by itself.

This fixes problems where ifnet slow-path operations would enter a
synch_op just before set_adapter_hwstatus(false) and touch the hardware
when it's not safe to do so.

Sponsored by:	Chelsio Communications

(cherry picked from commit e19d84979a183deb37ce6d7e385c3ccf02a3c8c7)
2025-04-22 04:12:46 -07:00
..
t4_connect.c cxgbe/t4_tom: bugfixes in stop/restart. 2024-10-21 10:05:39 -07:00
t4_cpl_io.c cxgbe tom: Make t4_push_frames static to t4_cpl_io.c 2025-02-27 12:17:51 -05:00
t4_ddp.c cxgbe tom: Restore support for zerocopy TCP receive for aio_read() 2024-12-27 10:52:55 -05:00
t4_listen.c cxgbe/t4_tom: Plug an stid leak. 2025-02-13 20:57:54 -08:00
t4_tls.c cxgbe(4): Consolidate all mk_set_tcb_field_ulp in one place. 2024-07-16 23:39:43 -07:00
t4_tls.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
t4_tom.c cxgbe(4): Allow t4_tom to be unloaded safely. 2024-10-21 10:15:11 -07:00
t4_tom.h cxgbe tom: Make t4_push_frames static to t4_cpl_io.c 2025-02-27 12:17:51 -05:00
t4_tom_l2t.c cxgbe(4): Block most access to the hardware as soon as the adapter stops. 2025-04-22 04:12:46 -07:00
t4_tom_l2t.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00