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

Re: [Xen-devel] [PATCH 1/2] netif: define XEN_NETIF_MAX_TX_SIZE in public header



On Tue, 2013-04-30 at 18:06 +0100, Wei Liu wrote:
> This is the maximum supportted size of a packet.

Too many t's in supported.

Worth mentioning that this limit comes from the size of
netif_tx_request.size.

> Signed-off-by: Wei Liu <wei.liu2@xxxxxxxxxx>

Acked-by: Ian Campbell <ian.campbell@xxxxxxxxxx>

> ---
>  xen/include/public/io/netif.h |    1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/xen/include/public/io/netif.h b/xen/include/public/io/netif.h
> index b184e49..ccde53b 100644
> --- a/xen/include/public/io/netif.h
> +++ b/xen/include/public/io/netif.h
> @@ -65,6 +65,7 @@
>  #define _NETTXF_extra_info     (3)
>  #define  NETTXF_extra_info     (1U<<_NETTXF_extra_info)
>  
> +#define XEN_NETIF_MAX_TX_SIZE 0xFFFF
>  struct netif_tx_request {
>      grant_ref_t gref;      /* Reference to buffer page */
>      uint16_t offset;       /* Offset within buffer page */



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.