]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
busdma_iommu: simplify split logic
authorDoug Moore <dougm@FreeBSD.org>
Thu, 2 Jun 2022 20:59:57 +0000 (15:59 -0500)
committerDoug Moore <dougm@FreeBSD.org>
Thu, 2 Jun 2022 20:59:57 +0000 (15:59 -0500)
commit04e86ae357b21fce238a90f31198b25975d0f479
tree0fe064d5bf318f02041309de8e6ad4311c8af0e5
parent9bcded6f5d6398596d65cf4e9e9f45fe58b92321
busdma_iommu: simplify split logic

iommu_bus_dmamap_load_something1 includes code for handling the
possibility of splitting a buffer that is needlessly complex.
Simplify it.

Reviewed by: alc, kib
MFC after: 3 weeks
Tested by: pho (previous revisions)
Differential Revision: https://reviews.freebsd.org/D35232
sys/dev/iommu/busdma_iommu.c