On Wed, Oct 21, 2015 at 11:36:18AM +0100, Paul Durrant wrote: > 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 and new definitions and types to support packet hash > configuration. Subsequent patches in this series add support for packet > hash configuration in xen-netback so this patch re-imports the canonical > header in readiness. > > 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_RSP/XEN_NETIF_RSP/g > ,s/netif_tx/xen_netif_tx/g > ,s/netif_rx/xen_netif_rx/g > ,s/netif_extra_info/xen_netif_extra_info/g > w > EOF > > indent --linux-style netif.h -o include/xen/interface/io/netif.h > > Signed-off-by: Paul Durrant <paul.durr...@citrix.com> > Cc: Konrad Rzeszutek Wilk <konrad.w...@oracle.com> > Cc: Boris Ostrovsky <boris.ostrov...@oracle.com> > Cc: David Vrabel <david.vra...@citrix.com> > Cc: Wei Liu <wei.l...@citrix.com> > --- > > Whilst awaiting review of my patches to the canonical netif.h, import has > been done from my staging branch using: > > wget > http://xenbits.xen.org/gitweb/?p=people/pauldu/xen.git;a=blob_plain;f=xen/include/public/io/netif.h;hb=refs/heads/netif
There is on-going discussion on this so I'm going to skip this patch for now. Wei. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel