[dpdk-users] Dpdk multi core packet acquisition.
Stephen Hemminger
stephen at networkplumber.org
Wed Jul 14 17:15:30 CEST 2021
On Wed, 14 Jul 2021 10:32:56 +0200
Nirmal R <raja.nirmalraj at gmail.com> wrote:
> Hello All,
>
> I need to acquire packets from a source at more than 40Gbps. I was thinking
> to use rx_burst in a function with more than one core and load it into a
> ring. My question is, will the packets received will be in order between
> the cores say core 1 receives packet 1,2,3 and core 2 receives packet 4,5,6
> or will it be in out of order(Random). Also can we combine 2 cores to
> launch one function.
>
> Thank you,
>
> With Regards,
> Nirmalraj R
DPDK drivers assume a single core at a time is reading a single queue.
If you have multiple cores reading a single queue then you need to do
some form of mutual exclusion in your application.
This is in the documentation
More information about the users
mailing list