bmv2
Designing your own switch target with bmv2
|
Go to the source code of this file.
Classes | |
class | bm::QueueingLogic< T, FMap > |
class | bm::QueueingLogicRL< T, FMap > |
class | bm::QueueingLogicPriRL< T, FMap > |
This file contains convenience classes that can be useful for targets that wish to queue packets at some point during processing (for example, between an ingress pipeline and an egress pipeline, as is the case for the standard simple switch target). We realized that if one decided to use the bm::Queue class (in queue.h) to achieve this, quite a lot of work was required, even for the standard, basic case: one queue per egress port, with a limited number of threads processing all the queues.