Thread (40 messages) 40 messages, 4 authors, 2024-12-13

Re: [PATCH net-next 11/13] selftests: ncdevmem: Remove hard-coded queue numbers

From: Stanislav Fomichev <hidden>
Date: 2024-09-12 21:47:16

On 09/12, Mina Almasry wrote:
On Thu, Sep 12, 2024 at 10:13 AM Stanislav Fomichev [off-list ref] wrote:
quoted
Use single last queue of the device and probe it dynamically.
Can we use the last N queues, instead of 1? Or the last half of the queues?

Test coverage that we can bind multiple queues at once is important, I think.
Anything against doing this in the selftest/probe part?

if (probe) {
	if (start_queue > 1) {
		/* make sure can bind to multiple queues */
		start_queue -= 1;
		num_queues +=1;
	}
	run_devmem_tests();
	return 0;
}
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help