Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
examples/multi_process: fix Rx packets distribution
[ upstream commit 69f9d8a ] 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: af75078 ("first public release") Signed-off-by: Gregory Etelson <getelson@nvidia.com> Acked-by: Anatoly Burakov <anatoly.burakov@intel.com>
- Loading branch information