Re: [PATCH 2/2] nvmet-pci: add KUnit coverage for endpoint queue IDs
Damien Le Moal <[email protected]>
| Newsgroups | org.infradead.lists.linux-nvme,org.kernel.vger.linux-kernel,org.kernel.vger.stable |
|---|---|
| Organization | Western Digital Research |
| Message-ID | <[email protected]> |
On 7/10/26 11:30, Michael Bommarito wrote: > Add KUnit coverage for the PCI endpoint target queue-id boundary. The tests > model the case where target-core max_qid is larger than the endpoint > transport's ctrl->nr_queues, confirm the common qid check accepts the > malformed id, and verify the endpoint callbacks reject out-of-range > Create/Delete SQ/CQ requests before indexing transport-private arrays. > > This covers the regression fixed by the preceding patch. > > Assisted-by: Codex:gpt-5-5-xhigh > Signed-off-by: Michael Bommarito <[email protected]> I am not very familiar with kunit tests, but looks OK. Reviewed-by: Damien Le Moal <[email protected]> -- Damien Le Moal Western Digital Research