freebsd-src/sys/dev/cxgbe
Navdeep Parhar 07f47e8850 cxgbe/t4_tom: completely avoid L2T entries during stop/suspend.
1. Mark the L2T entry valid only if t4_write_l2e succeeds, which won't
   happen if the adapter is stopped.  This prevents L2T entries from
   sometimes getting (re)promoted to VALID on Tx activity during stop.
2. Discard a work request immediately instead of enqueueing it to the
   arp queue if the adapter is stopped.

Fixes:	c1c524852f cxgbe/t4_tom: Implement uld_stop and uld_restart for ULD_TOM.
MFC after:	1 week
Sponsored by:	Chelsio Communications
2024-09-16 10:24:32 -07:00
..
common cxgbe: handle vlan PF restrictions 2024-06-17 23:42:08 +02:00
crypto newbus: globally replace device_add_child(..., -1) with DEVICE_UNIT_ANY 2024-07-24 22:22:58 -06:00
cudbg sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
cxgbei cxgbe(4): Stop checking for failures from malloc/mb_alloc_ext_pgs(M_WAITOK) 2024-09-03 18:25:26 +08:00
firmware cxgbe(4): Update firmwares to 1.27.5.0 2024-01-04 12:37:27 -08:00
iw_cxgbe cxgbe/iw_cxgbe: Fail early in some callbacks when the RNIC is stopped. 2024-08-30 08:31:45 -07:00
tom cxgbe/t4_tom: completely avoid L2T entries during stop/suspend. 2024-09-16 10:24:32 -07:00
adapter.h cxgbe(4): Export the core suspend/resume functionality to other modules. 2024-08-28 11:20:26 -07:00
if_cc.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
if_ccv.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
if_cxl.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
if_cxlv.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
offload.h cxgbe/t4_tom: Implement uld_stop and uld_restart for ULD_TOM. 2024-07-21 22:20:21 -07:00
osdep.h libkern: add ilog2 macro 2024-06-03 11:37:55 -05:00
t4_clip.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
t4_clip.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
t4_filter.c cxgbe(4): Consolidate all mk_set_tcb_field_ulp in one place. 2024-05-17 15:52:33 -07:00
t4_if.m sys: Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:54:58 -06:00
t4_ioctl.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
t4_iov.c cxgbe: handle vlan PF restrictions 2024-06-17 23:42:08 +02:00
t4_l2t.c cxgbe(4): Stop and restart the L2T allocator with the LLD. 2024-07-21 20:29:26 -07:00
t4_l2t.h cxgbe(4): Stop and restart the L2T allocator with the LLD. 2024-07-21 20:29:26 -07:00
t4_main.c cxgbe(4): Make sure that the tracing filters are usable after restart. 2024-09-11 12:12:32 -07:00
t4_mp_ring.c sys: Automated cleanup of cdefs and other formatting 2023-11-26 22:24:00 -07:00
t4_mp_ring.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
t4_netmap.c cxgbe: Flush transmitted packets more regularly in netmap mode 2024-07-15 11:26:59 -04:00
t4_sched.c cxgbe(4): sc->port is indexed by port_id and not tx_chan. 2024-05-17 15:42:23 -07:00
t4_sge.c cxgbe(4): Stop work request queues in a reliable manner. 2024-08-17 11:23:32 -07:00
t4_smt.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
t4_smt.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06:00
t4_tracer.c net: Remove unneeded NULL check for the allocated ifnet 2024-06-28 18:16:29 +08:00
t4_vf.c newbus: globally replace device_add_child(..., -1) with DEVICE_UNIT_ANY 2024-07-24 22:22:58 -06:00