[dpdk-stable] [PATCH v2] net/bonding: fix RX slave fairness

Ferruh Yigit ferruh.yigit at intel.com
Fri Sep 21 20:27:02 CEST 2018


On 9/20/2018 1:52 PM, Chas Williams wrote:
> From: Chas Williams <chas3 at att.com>
> 
> Some PMDs, especially ones with vector receives, require a minimum number
> of receive buffers in order to receive any packets.  If the first slave
> read leaves less than this number available, a read from the next slave
> may return 0 implying that the slave doesn't have any packets which
> results in skipping over that slave as the next active slave.
> 
> To fix this, implement round robin for the slaves during receive that
> is only advanced to the next slave at the end of each receive burst.
> This is also done to provide some additional fairness in processing in
> other bonding RX burst routines as well.
> 
> Fixes: 2efb58cbab6e ("bond: new link bonding library")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Chas Williams <chas3 at att.com>
> Acked-by: Luca Boccassi <bluca at debian.org>
> Acked-by: Matan Azrad <matan at mellanox.com>

Applied to dpdk-next-net/master, thanks.


More information about the stable mailing list