]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
cxgb(4): Rework my commit 9dc7c250.
authorAlexander Motin <mav@FreeBSD.org>
Mon, 22 Feb 2021 22:21:05 +0000 (17:21 -0500)
committerAlexander Motin <mav@FreeBSD.org>
Thu, 25 Feb 2021 17:02:34 +0000 (12:02 -0500)
commitd6cb4c5669da4f5a904db15963766930ee92af6d
treed66d55c4076966bb9d8ada45b0129e106ecc61b2
parent3d66df70266822405db0f5eda235e0bca1ba05ec
cxgb(4): Rework my commit 9dc7c250.

The previous implementation was reported to try to coalesce packets
in situations when it should not, that resulted in assertion later.
This implementation better checks the first packet of the chain for
the coallescing elligibility.

Approved by: re (gjb@)

(cherry picked from commit d510bf133d045d6c83742aeda6949bec150f6cbf)
(cherry picked from commit 1f3cff343b451d9fc9c10f4f8c4b416ed5eae23f)
sys/dev/cxgb/cxgb_sge.c