OpenCloudOS-Kernel/include/xen/interface
Paul Durrant 6b8abef5f8 xen-netback: re-import canonical netif header
The canonical netif header (in the Xen source repo) and the Linux variant
have diverged significantly. Recently much documentation has been added to
the canonical header which is highly useful for developers making
modifications to either xen-netfront or xen-netback. This patch therefore
re-imports the canonical header in its entirity.

To maintain compatibility and some style consistency with the old Linux
variant, the header was stripped of its emacs boilerplate, and
post-processed and copied into place with the following commands:

ed -s netif.h << EOF
H
,s/NETTXF_/XEN_NETTXF_/g
,s/NETRXF_/XEN_NETRXF_/g
,s/NETIF_/XEN_NETIF_/g
,s/XEN_XEN_/XEN_/g
,s/netif/xen_netif/g
,s/xen_xen_/xen_/g
,s/^typedef.*$//g
,s/^    /${TAB}/g
w
$
w
EOF

indent --line-length 80 --linux-style netif.h \
-o include/xen/interface/io/netif.h

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Cc: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Cc: David Vrabel <david.vrabel@citrix.com>
Cc: Wei Liu <wei.liu2@citrix.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-03-13 22:08:01 -04:00
..
hvm Feature: 2012-10-12 22:20:28 +09:00
io xen-netback: re-import canonical netif header 2016-03-13 22:08:01 -04:00
callback.h ia64/xen: Remove Xen support for ia64 2013-12-10 16:11:07 -08:00
elfnote.h xen: sync some headers with xen tree 2014-10-03 12:34:52 +01:00
event_channel.h xen/events: Add the hypervisor interface for the FIFO-based event channels 2014-01-06 10:07:52 -05:00
features.h xen/gntdev: mark userspace PTEs as special on x86 PV guests 2015-01-28 14:04:21 +00:00
grant_table.h xen/gntdev: mark userspace PTEs as special on x86 PV guests 2015-01-28 14:04:21 +00:00
memory.h xen: implement updated XENMEM_add_to_physmap_range ABI 2013-02-19 22:01:55 -05:00
nmi.h x86/xen: properly retrieve NMI reason 2015-01-13 09:39:50 +00:00
physdev.h xen: add support for MSI message groups 2014-03-18 14:40:09 +00:00
platform.h xen: introduce XENPF_settime64 2015-12-21 14:40:57 +00:00
sched.h x86/xen: Support kexec/kdump in HVM guests by doing a soft reset 2015-09-28 14:48:52 +01:00
vcpu.h xen: Support 64-bit PV guest receiving NMIs 2013-08-09 10:55:47 -04:00
version.h xen/acpi: Move the xen_running_on_version_or_later function. 2012-11-28 14:39:31 -05:00
xen-mca.h xen/mce: Add mcelog support for Xen platform 2012-07-19 15:51:36 -04:00
xen.h xen: rename dom0_op to platform_op 2015-12-21 14:40:55 +00:00
xenpmu.h xen/PMU: Intercept PMU-related MSR and APIC accesses 2015-08-20 12:25:25 +01:00