[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen master] netif: define XEN_NETIF_MAX_TX_SIZE in public header
commit df76bf093ee29324b57267154232d0d792c8de43 Author: Wei Liu <wei.liu2@xxxxxxxxxx> AuthorDate: Tue May 7 16:54:44 2013 +0200 Commit: Jan Beulich <jbeulich@xxxxxxxx> CommitDate: Tue May 7 16:54:44 2013 +0200 netif: define XEN_NETIF_MAX_TX_SIZE in public header This is the maximum supported size of a packet. It comes from the size of netif_tx_request.size. Signed-off-by: Wei Liu <wei.liu2@xxxxxxxxxx> Acked-by: Ian Campbell <ian.campbell@xxxxxxxxxx> Acked-by: Keir Fraser <keir@xxxxxxx> --- xen/include/public/io/netif.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) 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 */ -- generated by git-patchbot for /home/xen/git/xen.git#master _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |