opnsense-src/sys/dev/hyperv/netvsc
Andrew Turner 62f9bcf2b4 Switch to contigmalloc in the Hyper-V code
In the Hyper-V drivers we need to allocate buffers shared between the
host and guest. This memory has been allocated with bus_dma, however
it doesn't use this correctly, e.g. it is missing calls to
bus_dmamap_sync. Along with this on arm64 we need this memory to be
mapped with the correct memory type that bus_dma may not use.

Switch to contigmalloc to allocate this memory as this will correctly
allocate cacheable memory.

Reviewed by:	Souradeep Chakrabarti <schakrabarti@microsoft.com>
Sponsored by:	Arm Ltd
Differential Revision:	https://reviews.freebsd.org/D40227
2023-06-06 10:50:59 +01:00
..
hn_nvs.c Switch to contigmalloc in the Hyper-V code 2023-06-06 10:50:59 +01:00
hn_nvs.h hyperv: Update copyright for the files changed in 2017 2017-08-14 06:00:50 +00:00
hn_rndis.c Switch to contigmalloc in the Hyper-V code 2023-06-06 10:50:59 +01:00
hn_rndis.h Hyper-V: hn: add switch to turn on and off RSC 2022-03-15 08:12:22 +00:00
if_hn.c Switch to contigmalloc in the Hyper-V code 2023-06-06 10:50:59 +01:00
if_hnreg.h Hyper-V: hn: Enable vSwitch RSC support in hn netvsc driver 2021-03-12 04:35:16 +00:00
if_hnvar.h Switch to contigmalloc in the Hyper-V code 2023-06-06 10:50:59 +01:00
ndis.h Hyper-V: hn: Enable vSwitch RSC support in hn netvsc driver 2021-03-12 04:35:16 +00:00