numam-dpdk/examples/multi_process
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
..
client_server_mp examples/multi_process: fix Rx packets distribution 2021-11-16 16:22:26 +01:00
hotplug_mp examples: fix pkg-config override 2021-05-05 22:20:24 +02:00
simple_mp examples: remove unneeded atomic header include 2021-10-19 17:16:57 +02:00
symmetric_mp ethdev: add namespace 2021-10-22 18:15:38 +02:00
Makefile examples/multi_process: add SPDX license tag to makefiles 2020-11-20 17:32:23 +01:00