opnsense-src/sys/dev/cxgbe
Navdeep Parhar f48fb131c2 cxgbe/t4_tom: Change stid allocation strategy to be more IPv6 friendly.
A hardware IPv6 server needs 2 consecutive stids (server tids) starting
from a 2-aligned stid whereas an IPv4 server needs only 1 stid without
any constraint.  The allocator used to grab the first free stid(s) for
both but this can fragment the stid space leaving nothing suitable for
IPv6 even when lots of stids are available.  Change the allocator to
prefer stids for IPv4 from the ones that cannot be used for IPv6.

Reviewed by:	jhb
MFC after:	1 week
Sponsored by:	Chelsio Communications
Differential Revision:	https://reviews.freebsd.org/D47042
2024-10-17 10:40:38 -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: Change stid allocation strategy to be more IPv6 friendly. 2024-10-17 10:40:38 -07:00
adapter.h cxgbe(4): Allow t4_tom to be unloaded safely. 2024-09-29 17:38:11 -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: Change stid allocation strategy to be more IPv6 friendly. 2024-10-17 10:40:38 -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): Use correct synchronization when marking the adapter offline. 2024-10-07 10:25:53 -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