Re: [PATCH 06/15] PCI: endpoint: pci-epf-vntb: Fold MW runtime state into a struct
Frank Li <[email protected]> Thu, 12 Mar 2026 16:35:11 -0400
| Newsgroups | dev.linux.lists.ntb,org.kernel.vger.dmaengine,org.kernel.vger.linux-doc,org.kernel.vger.linux-kernel,org.kernel.vger.linux-pci |
|---|---|
| Message-ID | <abMjf6Y9o5kahSsm@lizhi-Precision-Tower-5810> |
On Fri, Mar 13, 2026 at 01:49:56AM +0900, Koichiro Den wrote: > The next patches add per-memory-window offsets, shared BAR placement, > and optional DMA export state. Keeping per-window state in parallel > arrays would make that work noisy and error-prone. > > Group the runtime memory-window state into struct epf_ntb_mw so > follow-up changes can extend a single object instead of touching > multiple arrays. Simple said PCI: endpoint: pci-epf-vntb: collect MW information into a struct Group the runtime memory window state into struct epf_ntb_mw to improve readability and make the code easier to extend. No functional change intended. Reviewed-by: Frank Li <[email protected]> >