yanet icon indicating copy to clipboard operation
yanet copied to clipboard

Add a wrapper to encapsulate DPDK burst

Open TheRandomCharacter opened this issue 1 year ago • 2 comments

TheRandomCharacter avatar Apr 15 '24 16:04 TheRandomCharacter

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.

TheRandomCharacter avatar Apr 18 '24 12:04 TheRandomCharacter

Could you add this description to the commit message, please?

ol-imorozko avatar Apr 18 '24 13:04 ol-imorozko

With moving to new pipeline this is no longer relevant

TheRandomCharacter avatar Sep 20 '24 13:09 TheRandomCharacter