~ubuntu-branches/debian/experimental/linux-tools/experimental

« back to all changes in this revision

Viewing changes to include/xen/interface/io/netif.h

  • Committer: Package Import Robot
  • Author(s): Ben Hutchings
  • Date: 2014-02-02 16:57:49 UTC
  • mfrom: (1.1.10) (0.1.21 sid)
  • Revision ID: package-import@ubuntu.com-20140202165749-tw94o9t1t0a8txk6
Tags: 3.13-1~exp2
Merge changes from sid up to 3.12.6-3

Show diffs side-by-side

added added

removed removed

Lines of Context:
51
51
 */
52
52
 
53
53
/*
 
54
 * "feature-no-csum-offload" should be used to turn IPv4 TCP/UDP checksum
 
55
 * offload off or on. If it is missing then the feature is assumed to be on.
 
56
 * "feature-ipv6-csum-offload" should be used to turn IPv6 TCP/UDP checksum
 
57
 * offload on or off. If it is missing then the feature is assumed to be off.
 
58
 */
 
59
 
 
60
/*
 
61
 * "feature-gso-tcpv4" and "feature-gso-tcpv6" advertise the capability to
 
62
 * handle large TCP packets (in IPv4 or IPv6 form respectively). Neither
 
63
 * frontends nor backends are assumed to be capable unless the flags are
 
64
 * present.
 
65
 */
 
66
 
 
67
/*
54
68
 * This is the 'wire' format for packets:
55
69
 *  Request 1: xen_netif_tx_request  -- XEN_NETTXF_* (any flags)
56
70
 * [Request 2: xen_netif_extra_info]    (only if request 1 has XEN_NETTXF_extra_info)
95
109
#define _XEN_NETIF_EXTRA_FLAG_MORE      (0)
96
110
#define  XEN_NETIF_EXTRA_FLAG_MORE      (1U<<_XEN_NETIF_EXTRA_FLAG_MORE)
97
111
 
98
 
/* GSO types - only TCPv4 currently supported. */
 
112
/* GSO types */
 
113
#define XEN_NETIF_GSO_TYPE_NONE         (0)
99
114
#define XEN_NETIF_GSO_TYPE_TCPV4        (1)
 
115
#define XEN_NETIF_GSO_TYPE_TCPV6        (2)
100
116
 
101
117
/*
102
118
 * This structure needs to fit within both netif_tx_request and