qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH v3 3/5] net: TAP uses NetClientInfo offloading c


From: Vincenzo Maffione
Subject: Re: [Qemu-devel] [PATCH v3 3/5] net: TAP uses NetClientInfo offloading callbacks
Date: Thu, 6 Feb 2014 15:31:27 +0100

Ok, It could go as patch 5/6.

Thanks


2014-02-06 Stefan Hajnoczi <address@hidden>:
On Mon, Jan 20, 2014 at 06:07:03PM +0100, Vincenzo Maffione wrote:
> The TAP NetClientInfo structure is inizialized with the TAP-specific
> functions that manipulates offloading features.
>
> Signed-off-by: Vincenzo Maffione <address@hidden>
> ---
>  net/tap.c | 6 ++++++
>  1 file changed, 6 insertions(+)
>
> diff --git a/net/tap.c b/net/tap.c
> index c805f3c..d34ec88 100644
> --- a/net/tap.c
> +++ b/net/tap.c
> @@ -314,6 +314,12 @@ static NetClientInfo net_tap_info = {
>      .receive_iov = tap_receive_iov,
>      .poll = tap_poll,
>      .cleanup = tap_cleanup,
> +    .has_ufo = tap_has_ufo,
> +    .has_vnet_hdr = tap_has_vnet_hdr,
> +    .has_vnet_hdr_len = tap_has_vnet_hdr_len,
> +    .using_vnet_hdr = tap_using_vnet_hdr,
> +    .set_offload = tap_set_offload,
> +    .set_vnet_hdr_len = tap_set_vnet_hdr_len,
>  };

Regarding making functions static: that has to be done after the next
patch since vhost-net is still calling tap_*() directly here.  It can be
a new patch later in this series.



--
Vincenzo Maffione

reply via email to

[Prev in Thread] Current Thread [Next in Thread]