We want to implement multi-queue scheduling based on the Queue() module(core/modules/queue.cc), so we created multiple llring(core/kmod/llring.h) type queues. We want a specific number of packets from the queue to be dequeued and added to processbatch. Doing the following in runtask() will throw an error:
We want to implement multi-queue scheduling based on the Queue() module(core/modules/queue.cc), so we created multiple llring(core/kmod/llring.h) type queues. We want a specific number of packets from the queue to be dequeued and added to processbatch. Doing the following in runtask() will throw an error:
The places I modified are marked
Modified as follows
The error displayed by bessed.ERROR is as follows:
My test demo is:
How can I solve this problem, looking forward to your reply :)