[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v3] net: netmap: probe netmap interface for virt
From: |
Jason Wang |
Subject: |
Re: [Qemu-devel] [PATCH v3] net: netmap: probe netmap interface for virtio-net header |
Date: |
Mon, 29 Feb 2016 15:45:56 +0800 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 |
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 <address@hidden>
> ---
> net/netmap.c | 59 ++++++++++++++++++++++++++++++++++++++---------------------
> 1 file changed, 38 insertions(+), 21 deletions(-)
>
Applied to -net.
Thanks