opnsense-src/sys/dev/cxgbe
Navdeep Parhar ada9196f35 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
Sponsored by:	Chelsio Communications
Differential Revision:	https://reviews.freebsd.org/D47042

(cherry picked from commit f48fb131c2523d4915d1ad4eba002251c64f5574)
2024-12-06 12:34:28 -08:00
..
common cxgbe(4): Consolidate all mk_set_tcb_field_ulp in one place. 2024-07-16 23:39:43 -07:00
crypto cxgbe(4): Rename rx_c_chan to rx_chan. 2024-07-16 23:38:40 -07:00
cudbg sys: Remove $FreeBSD$: one-line bare tag 2023-08-16 11:55:17 -06:00
cxgbei cxgbe(4): Changes to ULD list management. 2024-10-21 10:00:26 -07:00
firmware cxgbe(4): Update firmwares to 1.27.5.0 2024-01-10 21:22:31 -08:00
iw_cxgbe cxgbe/iw_cxgbe: Fail early in some callbacks when the RNIC is stopped. 2024-10-21 10:08:56 -07:00
tom cxgbe/t4_tom: Change stid allocation strategy to be more IPv6 friendly. 2024-12-06 12:34:28 -08:00
adapter.h cxgbe(4): Allow t4_tom to be unloaded safely. 2024-10-21 10:15:11 -07:00
if_cc.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
if_ccv.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
if_cxl.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
if_cxlv.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06:00
offload.h cxgbe/t4_tom: Change stid allocation strategy to be more IPv6 friendly. 2024-12-06 12:34:28 -08:00
osdep.h sys: Remove $FreeBSD$: two-line .h pattern 2023-08-16 11:54:11 -06: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-07-16 23:39:43 -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(4): Update the board names of the T6 OCP cards. 2024-12-06 10:22:36 -08:00
t4_l2t.c cxgbe(4): Stop and restart the L2T allocator with the LLD. 2024-10-21 10:02:17 -07:00
t4_l2t.h cxgbe(4): Stop and restart the L2T allocator with the LLD. 2024-10-21 10:02:17 -07:00
t4_main.c cxgbe(4): Fix the name of the 2 x 10/25 OCP card. 2024-12-06 10:23:10 -08:00
t4_mp_ring.c sys: Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:36 -06: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-08-08 15:55:48 +00:00
t4_sched.c cxgbe(4): sc->port is indexed by port_id and not tx_chan. 2024-07-16 23:39:32 -07:00
t4_sge.c cxgbe(4): Stop work request queues in a reliable manner. 2024-10-21 10:06:19 -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-07-12 20:03:37 +08:00
t4_vf.c cxgbe(4): Update the board names of the T6 OCP cards. 2024-12-06 10:22:36 -08:00