Re: iwx 64-bit dma

Kirill A. Korinsky <[email protected]> Wed, 29 Jul 2026 20:51:25 +0200
Newsgroups gmane.os.openbsd.tech
Message-ID <[email protected]>
On Wed, 29 Jul 2026 04:31:10 +0200,
Brad Smith <[email protected]> wrote:
> 
> iwx(4) works with 64-bit DMA.
> 
> Tested with
> 
> iwx0 at pci0 dev 20 function 3 "Intel Wi-Fi 6 AX201" rev 0x00
>

Works with my iwx as expected

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

-- 
wbr, Kirill