From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53811) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aaIX0-00033q-DP for qemu-devel@nongnu.org; Mon, 29 Feb 2016 02:46:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aaIWx-0007xc-2t for qemu-devel@nongnu.org; Mon, 29 Feb 2016 02:46:14 -0500 Received: from mx1.redhat.com ([209.132.183.28]:60349) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aaIWw-0007xL-Tv for qemu-devel@nongnu.org; Mon, 29 Feb 2016 02:46:11 -0500 References: <3771b88a644a11d152238d5a7063b9da217679b7.1456309481.git.v.maffione@gmail.com> From: Jason Wang Message-ID: <56D3F734.1010604@redhat.com> Date: Mon, 29 Feb 2016 15:45:56 +0800 MIME-Version: 1.0 In-Reply-To: <3771b88a644a11d152238d5a7063b9da217679b7.1456309481.git.v.maffione@gmail.com> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v3] net: netmap: probe netmap interface for virtio-net header List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Vincenzo Maffione , qemu-devel@nongnu.org Cc: g.lettieri@iet.unipi.it, rizzo@iet.unipi.it On 02/24/2016 06:30 PM, Vincenzo Maffione wrote: > Previous implementation of has_ufo, has_vnet_hdr, has_vnet_hdr_len, etc. > did not really probe for virtio-net header support for the netmap > interface attached to the backend. These callbacks were correct for > VALE ports, but incorrect for hardware NICs, pipes, monitors, etc. > > This patch fixes the implementation to work properly with all kinds > of netmap ports. > > Signed-off-by: Vincenzo Maffione > --- > net/netmap.c | 59 ++++++++++++++++++++++++++++++++++++++--------------------- > 1 file changed, 38 insertions(+), 21 deletions(-) > Applied to -net. Thanks