]> git.baikalelectronics.ru Git - kernel.git/commit
net/xen-netback: Make it running on 64KB page granularity
authorJulien Grall <julien.grall@citrix.com>
Tue, 5 May 2015 12:15:29 +0000 (13:15 +0100)
committerDavid Vrabel <david.vrabel@citrix.com>
Fri, 23 Oct 2015 13:20:41 +0000 (14:20 +0100)
commit586398cfa6ee58895d2d5d7d01a2bb3c6af08e85
treea183a66197f3400504934c8e29c6b04a5c240622
parentf38fdccd8ce7b2af6d776d5987c4fae4de84d774
net/xen-netback: Make it running on 64KB page granularity

The PV network protocol is using 4KB page granularity. The goal of this
patch is to allow a Linux using 64KB page granularity working as a
network backend on a non-modified Xen.

It's only necessary to adapt the ring size and break skb data in small
chunk of 4KB. The rest of the code is relying on the grant table code.

Signed-off-by: Julien Grall <julien.grall@citrix.com>
Reviewed-by: Wei Liu <wei.liu2@citrix.com>
Signed-off-by: David Vrabel <david.vrabel@citrix.com>
drivers/net/xen-netback/common.h
drivers/net/xen-netback/netback.c