aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/netmap/netmap_mbq.c
diff options
context:
space:
mode:
authorJaeyoon Choi <jaeyoon@FreeBSD.org>2026-09-15 01:37:30 +0000
committerJaeyoon Choi <jaeyoon@FreeBSD.org>2026-09-15 01:44:32 +0000
commitd3e5082ce4dcb154cbf50cba05d8f1dbbd55a5fc (patch)
tree8160ef62e4d969481f8f5be21289f5eb14158a09 /sys/dev/netmap/netmap_mbq.c
parent274b0d6b113bba84a049aac3d324a10b98e52f32 (diff)
ufshci: tell the controller how long the EHS is
The transfer request descriptor has a field for the total Extra Header Segment length. The driver left it at zero. A request that carried an EHS went out as the bare command UPIU, and the device answered a request it had only seen part of. Fill the field from the request UPIU header, which already carries the same length. Every other path sets it to zero, so nothing else changes. An EHS is the first thing that makes a request vary in size, so assert that the request and the response still fit in the command descriptor. Reviewed by: imp (mentor) Sponsored by: Samsung Electronics Differential Revision: https://reviews.freebsd.org/D59557
Diffstat (limited to 'sys/dev/netmap/netmap_mbq.c')
0 files changed, 0 insertions, 0 deletions