From: Paul Durrant Subject: [PATCH v4 2/5] public/io/netif.h: add definition of gso_prefix flag Date: Mon, 19 Oct 2015 14:53:37 +0100 Message-ID: <1445262820-23681-3-git-send-email-paul.durrant@citrix.com> References: <1445262820-23681-1-git-send-email-paul.durrant@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1ZoAt2-0003V6-OF for xen-devel@lists.xenproject.org; Mon, 19 Oct 2015 13:54:04 +0000 In-Reply-To: <1445262820-23681-1-git-send-email-paul.durrant@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xenproject.org Cc: Keir Fraser , Ian Campbell , Tim Deegan , Ian Jackson , Paul Durrant , Jan Beulich List-Id: xen-devel@lists.xenproject.org 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 Cc: Ian Campbell Cc: Ian Jackson Cc: Jan Beulich Cc: Keir Fraser Cc: Tim Deegan --- xen/include/public/io/netif.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/xen/include/public/io/netif.h b/xen/include/public/io/netif.h index 7ea9ea7..ffd11f9 100644 --- a/xen/include/public/io/netif.h +++ b/xen/include/public/io/netif.h @@ -404,6 +404,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 */ -- 2.1.4