Index | Thread | Search

From:
Vitaliy Makkoveev <mvs@openbsd.org>
Subject:
Re: iwx 64-bit dma
To:
Brad Smith <brad@comstyle.com>
Cc:
tech@openbsd.org, stsp@openbsd.org
Date:
Wed, 29 Jul 2026 21:32:03 +0000

Download raw body.

Thread
On Tue, Jul 28, 2026 at 10:31:10PM -0400, Brad Smith wrote:
> iwx(4) works with 64-bit DMA.
> 
> Tested with
> 
> iwx0 at pci0 dev 20 function 3 "Intel Wi-Fi 6 AX201" rev 0x00
> 
> 

Yes, this flag is missing. ok mvs@

> 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;
>