]> www.infradead.org Git - users/jedix/linux-maple.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)
committerJoao Martins <joao.m.martins@oracle.com>
Sun, 27 Mar 2016 01:01:14 +0000 (02:01 +0100)
commitccde706f0db01c4014b938851858924344d2a634
tree9d3741f2a9a576def15be9332f0dbaa6a15bb78d
parente3ac9c7137fb77dc5ecf7a3d3915e6c0b8717c65
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>
(cherry picked from commit d0089e8a0e4c9723d85b01713671358e3d6960df)
Signed-off-by: Joao Martins <joao.m.martins@oracle.com>
drivers/net/xen-netback/common.h
drivers/net/xen-netback/netback.c