From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH] vhost: don't stall if guest is slow Date: Tue, 08 Dec 2015 03:30:43 +0100 Message-ID: <3746283.SiKfvnY0NL@xps13> References: <1449535821-12384-1-git-send-email-stephen@networkplumber.org> <20151208022311.GI29571@yliu-dev.sh.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, nlaw@brocade.com To: Yuanhan Liu Return-path: Received: from mail-wm0-f48.google.com (mail-wm0-f48.google.com [74.125.82.48]) by dpdk.org (Postfix) with ESMTP id A3ECA12A8 for ; Tue, 8 Dec 2015 03:31:55 +0100 (CET) Received: by wmec201 with SMTP id c201so192871781wme.0 for ; Mon, 07 Dec 2015 18:31:55 -0800 (PST) In-Reply-To: <20151208022311.GI29571@yliu-dev.sh.intel.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 2015-12-08 10:23, Yuanhan Liu: > On Mon, Dec 07, 2015 at 04:50:21PM -0800, Stephen Hemminger wrote: > > When guest is booting (or any othertime guest is busy) it is possible > > for the small receive ring (256) to get full. If this happens the > > vhost library should just return normally. It's current behavior > > of logging just creates massive log spew/overflow which could even > > act as a DoS attack against host. > > > > Reported-by: Nathan Law > > Signed-off-by: Stephen Hemminger > > Acked-by: Yuanhan Liu Yuanhan, please what is your opinion about the balance benefit/risk of this patch for 2.2?