When working with dpdk bursts directly implies that burst length while being an integral part of burst is managed manually. This wrapper is intended to bundle together dpdk bursts cstyle array of pointers to packets with it's length and provide an interface that manages said length automatically.
This approach removes duplicate code of tracking number of packets that are currently in the burst and replaces it with a single implementation in the wrapper.
I would like us to use this wrapper as a preferred way of working with dpdk bursts. And intend to start using it while refactoring kni workload in controlplaneworker thread.
When working with dpdk bursts directly implies that burst length while being an integral part of burst is managed manually. This wrapper is intended to bundle together dpdk bursts cstyle array of pointers to packets with it's length and provide an interface that manages said length automatically.
This approach removes duplicate code of tracking number of packets that are currently in the burst and replaces it with a single implementation in the wrapper.
I would like us to use this wrapper as a preferred way of working with dpdk bursts. And intend to start using it while refactoring kni workload in controlplaneworker thread.