CVS: cvs.openbsd.org: src

Jan Klemkow <[email protected]> Wed, 22 Jul 2026 09:36:30 -0600 (MDT)
Newsgroups gmane.os.openbsd.cvs
Message-ID <[email protected]>
CVSROOT:	/cvs
Module name:	src
Changes by:	[email protected]	2026/07/22 09:36:30

Modified files:
	sys/dev/pci    : if_ice.c if_icevar.h 

Log message:
ice(4): enable use of 128 DMA segments for TSO packets again

This diff contains two fixes for the ice_tso_detect_sparse()
function to prevent the 'Too many data commands' error:

1. Replace wrong computation of nsegs with already
specified map->dm_nsegs from the DMA layer.

2. Reinstate ICE_MAX_TX_SEGS for max. No. of Segments
per MSS section.

Tested by bluhm

OK bluhm@, stsp@