From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935109AbdACNQp (ORCPT ); Tue, 3 Jan 2017 08:16:45 -0500 Received: from mail-wj0-f196.google.com ([209.85.210.196]:34752 "EHLO mail-wj0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757596AbdACNQe (ORCPT ); Tue, 3 Jan 2017 08:16:34 -0500 Date: Tue, 3 Jan 2017 13:16:30 +0000 From: Stefan Hajnoczi To: Jason Wang Cc: mst@redhat.com, kvm@vger.kernel.org, virtualization@lists.linux-foundation.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH net-next V2 2/3] vhost_net: tx batching Message-ID: <20170103131630.GB14707@stefanha-x1.localdomain> References: <1482912571-3157-1-git-send-email-jasowang@redhat.com> <1482912571-3157-3-git-send-email-jasowang@redhat.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="LpQ9ahxlCli8rRTG" Content-Disposition: inline In-Reply-To: <1482912571-3157-3-git-send-email-jasowang@redhat.com> User-Agent: Mutt/1.7.1 (2016-10-04) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --LpQ9ahxlCli8rRTG Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Dec 28, 2016 at 04:09:30PM +0800, Jason Wang wrote: > This patch tries to utilize tuntap rx batching by peeking the tx > virtqueue during transmission, if there's more available buffers in > the virtqueue, set MSG_MORE flag for a hint for backend (e.g tuntap) > to batch the packets. >=20 > Signed-off-by: Jason Wang > --- > drivers/vhost/net.c | 23 ++++++++++++++++++++--- > 1 file changed, 20 insertions(+), 3 deletions(-) Reviewed-by: Stefan Hajnoczi --LpQ9ahxlCli8rRTG Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJYa6QuAAoJEJykq7OBq3PItbkH/jo+NKDhV0qrUx7lBvRPBveW 8ojg5zXdLHyP3ydXi3LDFcwGKoL5VhStwL4BAaqXUYTgiFC5BBwABnIyQ1Iod0Jj 3BNw3QmuFTpo2s2E4Th4ClBIsgDv4l80ukJTjiy35rdaZg1qtLiFhz7L6e8Bgbsz eT6dEzHWvb8iEq+CBFO589KBKxnQE17T0KNUTTzXtgUXKvwIVWZQlE+keDN9W8Kx 3eTr2QYUhkPCxVZysYjNTpX4EfxzRd1pgRDQQjHEfFdybMIHpym1nFzlKBRPOnoZ CecPpfoNwIHO6pST5Q9oyZtuqPKM8IIHQ0v09bFM1yo/OwA+4oW644gqxJXF1ig= =O5e4 -----END PGP SIGNATURE----- --LpQ9ahxlCli8rRTG--