From: dlg Date: Fri, 28 May 2021 04:39:54 +0000 (+0000) Subject: aplns needs some dmamem per queue for it's iommu. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=d7a6b8c340e0bceaa7fa258d11aae4f20faf1184;p=openbsd aplns needs some dmamem per queue for it's iommu. --- diff --git a/sys/dev/ic/nvmevar.h b/sys/dev/ic/nvmevar.h index dae2b07d1e7..262e203973c 100644 --- a/sys/dev/ic/nvmevar.h +++ b/sys/dev/ic/nvmevar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: nvmevar.h,v 1.26 2021/05/28 02:34:38 dlg Exp $ */ +/* $OpenBSD: nvmevar.h,v 1.27 2021/05/28 04:39:54 dlg Exp $ */ /* * Copyright (c) 2014 David Gwynne @@ -56,6 +56,7 @@ struct nvme_queue { struct mutex q_cq_mtx; struct nvme_dmamem *q_sq_dmamem; struct nvme_dmamem *q_cq_dmamem; + struct nvme_dmamem *q_nvmmu_dmamem; /* for aplns(4) */ bus_size_t q_sqtdbl; /* submission queue tail doorbell */ bus_size_t q_cqhdbl; /* completion queue head doorbell */ u_int16_t q_id;