From: Paul Durrant Subject: [PATCH v5 2/5] public/io/netif.h: add definition of gso_prefix flag Date: Tue, 20 Oct 2015 13:35:07 +0100 Message-ID: <1445344510-22507-3-git-send-email-paul.durrant@citrix.com> References: <1445344510-22507-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.bemta14.messagelabs.com ([193.109.254.103]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1ZoW8e-0001IL-QP for xen-devel@lists.xenproject.org; Tue, 20 Oct 2015 12:35:36 +0000 In-Reply-To: <1445344510-22507-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 4d2a300..46b85b8 100644 --- a/xen/include/public/io/netif.h +++ b/xen/include/public/io/netif.h @@ -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 */ -- 2.1.4