HomeFreeBSD

LinuxKPI: PCI: add counter for linux_dma_map_phys_common() errors

Description

LinuxKPI: PCI: add counter for linux_dma_map_phys_common() errors

LinuxKPI is asking for single-segment mappings. Some (wireless) drivers
are using this to map multi-pages and our busdma framework is not very
friendly to that as single-segments [D31823]. Add a counter so we can
track when this happens to gather more information.

Sponsored by: The FreeBSD Foundation
Reviewed by: hselasky
Differential Revision: https://reviews.freebsd.org/D34715

(cherry picked from commit e86707418c8e84e1ebf8b4c5f35ff641c234d067)

Details

Provenance
bzAuthored on Mar 30 2022, 5:38 PM
Reviewer
hselasky
Differential Revision
D34715: LinuxKPI: PCI: add counter for linux_dma_map_phys_common() errors
Parents
rGd7365cc80c65: wpa: Correctly call pcap_next_ex()
Branches
Unknown
Tags
Unknown