On Wed, 2018-09-19 at 11:48 -0400, Chas Williams wrote:
> From: Chas Williams <[email protected]>
> 
> 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 should also provide some additional fairness in processing in
> bond_ethdev_rx_burst as well.
> 
> Fixes: 2efb58cbab6e ("bond: new link bonding library")
> Cc: [email protected]
> 
> Signed-off-by: Chas Williams <[email protected]>
> ---
>  drivers/net/bonding/rte_eth_bond_pmd.c | 50 ++++++++++++++++++++++
> ------------
>  1 file changed, 32 insertions(+), 18 deletions(-)

Acked-by: Luca Boccassi <[email protected]>

-- 
Kind regards,
Luca Boccassi

Reply via email to