From mboxrd@z Thu Jan 1 00:00:00 1970 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:organization:user-agent :in-reply-to:references:mime-version:content-transfer-encoding :content-type; bh=6w8ko8UsgHm70PyS6PqS26G4IoBHXAKQwmnTHrriFaI=; b=ru5dbWDO+WfX6wbs5Pj4iAekRgEmepX83HaxZrr/LnNdaJBe/quOi10GtG1wsNTi2v S1n2AIzZyKJiV5Fj7Kka6esu2/j01jwUpqP76U4yHXS+26JzZJHR8ffiELhhrBG0D7iz eDoTLIcbPJsIw67UJHj/lDtV5knVApM67qRlfZilVZTc5cqxBAFm/la/N1YaQ+SiVBgF oqd7R9VlHMUNUL+OPzeeNneXKsoeMVgliFv9UwpAEVibvAOC+SLt/uqs7oUrvzp8uWEP iLCsDPIkEuWurys1oweXGsfQW7PF/dzUG4ggEeFRPXXqk780eBHtsDdVrhdWUe5y/Tn9 DEXA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=6w8ko8UsgHm70PyS6PqS26G4IoBHXAKQwmnTHrriFaI=; b=M3r22GdqQZIkpsZ3wc4bjJSV7SaWE3Q/shWhulJIyhsIoIWiV8HSeCRDpCUHOZC0WV kpXColPeE6bszMXL9PYhP3o8f5jfboV+UayBqXi96Kr/KZ2AWF6yKCgeub3imwQDqZxj 23O888YHu6fJc0bI84C0OGpIl+d/Py2PSLkwcYW5z2iMtSpPY0kvuwajQaOzkT7a4zVC 2mTqgUNQSAzFwIGISENAwY2EnRUB+u7Fz0eXagsUDls0E+U+wSbHwH13Qub35H4+8G9h 48x2fRm5b/isQXnrs/8P5beNU2vGKbmoaMRO5Vjn9ZUIGEts81X1IjQLA5JDHYyAoEks Jr1w== X-Gm-Message-State: ALoCoQm49SEnyln3DAzaCbSHGvzngaiuvUpNwIJkeqOvnHGlzOFjwLJc6yYOamwwz5kn31Sk50dxnES96X7m40ZuGCzxsf4HEg== X-Received: by 10.28.35.66 with SMTP id j63mr1695251wmj.10.1449541915499; Mon, 07 Dec 2015 18:31:55 -0800 (PST) Received: from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by smtp.gmail.com with ESMTPSA id e83sm1233512wmc.23.2015.12.07.18.31.54 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 07 Dec 2015 18:31:54 -0800 (PST) From: Thomas Monjalon To: Yuanhan Liu Date: Tue, 08 Dec 2015 03:30:43 +0100 Message-ID: <3746283.SiKfvnY0NL@xps13> Organization: 6WIND User-Agent: KMail/4.14.10 (Linux/4.1.6-1-ARCH; KDE/4.14.11; x86_64; ; ) In-Reply-To: <20151208022311.GI29571@yliu-dev.sh.intel.com> References: <1449535821-12384-1-git-send-email-stephen@networkplumber.org> <20151208022311.GI29571@yliu-dev.sh.intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org, nlaw@brocade.com Subject: Re: [dpdk-dev] [PATCH] vhost: don't stall if guest is slow X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Dec 2015 02:31:55 -0000 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?