2024-10-03 07:37 (UTC+0000), Mikael R Carlsson: > Hi! > > Thanks. > > According to chatgpt the descriptors are shared over all TX queues. > > So, in a 4 TX queue and 1024 descriptors scenario I would be able to get > maximum 256 descriptors per TX queue (If I want same amount on all queues). > But if I only used 1 TX queue, I would get all 1024 descriptors on that > single TX queue.
This is not so, ChatGPT errs. The number of advertised and configured descriptors is per queue (the latter is per the specific queue being configured, actually). You won't get more descriptors per queue if you use fewer queues. Note, however, that queues consume NIC resources and larger queues stress CPU cache, so it is not always the best to have many queues or large queues.