From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ferruh Yigit Subject: Re: [dpdk-stable] [PATCH v2] net/bonding: fix RX slave fairness Date: Fri, 21 Sep 2018 19:27:02 +0100 Message-ID: <3e28d3ab-13ed-63fe-be8e-e73d3467f04f@intel.com> References: <20180919154825.5183-1-3chas3@gmail.com> <20180920125226.11904-1-3chas3@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: declan.doherty@intel.com, matan@mellanox.com, ehkinzie@gmail.com, Chas Williams , stable@dpdk.org To: Chas Williams <3chas3@gmail.com>, dev@dpdk.org Return-path: In-Reply-To: <20180920125226.11904-1-3chas3@gmail.com> Content-Language: en-US List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 9/20/2018 1:52 PM, Chas Williams wrote: > From: Chas Williams > > 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@dpdk.org > > Signed-off-by: Chas Williams > Acked-by: Luca Boccassi > Acked-by: Matan Azrad Applied to dpdk-next-net/master, thanks.