Index | Thread | Search

From:
Kirill A. Korinsky <kirill@korins.ky>
Subject:
Re: iwx 64-bit dma
To:
Brad Smith <brad@comstyle.com>
Cc:
tech@openbsd.org, stsp@openbsd.org
Date:
Wed, 29 Jul 2026 20:51:25 +0200

Download raw body.

Thread
  • Brad Smith:

    iwx 64-bit dma

    • Kirill A. Korinsky:

      iwx 64-bit dma

    • Vitaliy Makkoveev:

      iwx 64-bit dma

On Wed, 29 Jul 2026 04:31:10 +0200,
Brad Smith <brad@comstyle.com> 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