public/io/netif.h: add definition of gso_prefix flag
authorPaul Durrant <paul.durrant@citrix.com>
Wed, 25 Nov 2015 10:12:34 +0000 (11:12 +0100)
committerJan Beulich <jbeulich@suse.com>
Wed, 25 Nov 2015 10:12:34 +0000 (11:12 +0100)
This flag is defined here only for compatibility with the Linux variant of
this header. The feature has never been documented and should be
considered deprecated.

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
xen/include/public/io/netif.h

index 04d80263742353a7253433828c48c1fea2e654ab..f62a0c81d23c1f39e87820b08d2f5ed2808b625c 100644 (file)
@@ -409,6 +409,10 @@ typedef struct netif_rx_request netif_rx_request_t;
 #define _NETRXF_extra_info     (3)
 #define  NETRXF_extra_info     (1U<<_NETRXF_extra_info)
 
+/* Packet has GSO prefix. Deprecated but included for compatibility */
+#define _NETRXF_gso_prefix     (4)
+#define  NETRXF_gso_prefix     (1U<<_NETRXF_gso_prefix)
+
 struct netif_rx_response {
     uint16_t id;
     uint16_t offset;       /* Offset in page of start of received packet  */