numam-dpdk/examples/multi_process/client_server_mp
Gregory Etelson 69f9d8aa35 examples/multi_process: fix Rx packets distribution
MP servers distributes Rx packets between clients according to
round-robin scheme.

Current implementation always started packets distribution from
the first client. That procedure resulted in uniform distribution
in cases when Rx packets number was around clients number
multiplication. However, if RX burst repeatedly returned single
packet, round-robin scheme would not work because all packets
were assigned to the first client only.

The patch does not restart packets distribution from
the first client.
Packets distribution always continues to the next client.

Fixes: af75078fec ("first public release")
Cc: stable@dpdk.org

Signed-off-by: Gregory Etelson <getelson@nvidia.com>
Acked-by: Anatoly Burakov <anatoly.burakov@intel.com>
2021-11-16 16:22:26 +01:00
..
mp_client examples: remove unneeded atomic header include 2021-10-19 17:16:57 +02:00
mp_server examples/multi_process: fix Rx packets distribution 2021-11-16 16:22:26 +01:00
shared examples/multi_process: fix build on Ubuntu 20.04 2020-10-30 14:54:50 +01:00
Makefile examples/multi_process: add SPDX license tag to makefiles 2020-11-20 17:32:23 +01:00