opnsense-src/sys/dev/cxgbe/tom
Navdeep Parhar e19d84979a 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.

MFC after:	1 week
Sponsored by:	Chelsio Communications
2025-02-25 11:33:40 -08:00
..
t4_connect.c cxgbe/t4_tom: bugfixes in stop/restart. 2024-08-05 05:56:22 -07:00
t4_cpl_io.c cxgbe tom: Make t4_push_frames static to t4_cpl_io.c 2025-01-14 10:34:45 -05:00
t4_ddp.c cxgbe tom: Restore support for zerocopy TCP receive for aio_read() 2024-12-10 21:23:47 -05:00
t4_listen.c cxgbe/t4_tom: Plug an stid leak. 2024-12-07 21:54:30 -08:00
t4_tls.c cxgbe(4): Consolidate all mk_set_tcb_field_ulp in one place. 2024-05-17 15:52:33 -07:00
t4_tls.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
t4_tom.c sockets: make pr_aio_queue the default method 2025-02-10 11:30:45 -08:00
t4_tom.h cxgbe tom: Make t4_push_frames static to t4_cpl_io.c 2025-01-14 10:34:45 -05:00
t4_tom_l2t.c cxgbe(4): Block most access to the hardware as soon as the adapter stops. 2025-02-25 11:33:40 -08:00
t4_tom_l2t.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00