Index | Thread | Search

From:
Brad Smith <brad@comstyle.com>
Subject:
iwx 64-bit dma
To:
tech@openbsd.org
Cc:
stsp@openbsd.org
Date:
Tue, 28 Jul 2026 22:31:10 -0400

Download raw body.

Thread
  • Brad Smith:

    iwx 64-bit dma

iwx(4) works with 64-bit DMA.

Tested with

iwx0 at pci0 dev 20 function 3 "Intel Wi-Fi 6 AX201" rev 0x00


Index: if_iwx.c
===================================================================
RCS file: /cvs/src/sys/dev/pci/if_iwx.c,v
retrieving revision 1.229
diff -u -p -u -p -r1.229 if_iwx.c
--- if_iwx.c	28 May 2026 10:51:52 -0000	1.229
+++ if_iwx.c	24 Jul 2026 03:10:09 -0000
@@ -12671,6 +12671,7 @@ iwx_attach(struct device *parent, struct
 
 	ifp->if_softc = sc;
 	ifp->if_flags = IFF_BROADCAST | IFF_SIMPLEX | IFF_MULTICAST;
+	ifp->if_xflags = IFXF_MBUF_64BIT;
 	ifp->if_ioctl = iwx_ioctl;
 	ifp->if_start = iwx_start;
 	ifp->if_watchdog = iwx_watchdog;