aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/xen-netback/common.h
diff options
context:
space:
mode:
authorJulien Grall <julien.grall@citrix.com>2015-04-10 14:42:21 +0100
committerDavid Vrabel <david.vrabel@citrix.com>2015-10-23 14:20:40 +0100
commit30c5d7f0da82f55c86c0a09bf21c0623474bb17f (patch)
tree8c7f72b86814e9ced1da12c285dd80de2793384a /drivers/net/xen-netback/common.h
parentblock/xen-blkback: Make it running on 64KB page granularity (diff)
downloadlinux-dev-30c5d7f0da82f55c86c0a09bf21c0623474bb17f.tar.xz
linux-dev-30c5d7f0da82f55c86c0a09bf21c0623474bb17f.zip
net/xen-netfront: 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 using network device 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. Note that we allocate a Linux page for each rx skb but only the first 4KB is used. We may improve the memory usage by extending the size of the rx skb. Signed-off-by: Julien Grall <julien.grall@citrix.com> Reviewed-by: David Vrabel <david.vrabel@citrix.com> Signed-off-by: David Vrabel <david.vrabel@citrix.com>
Diffstat (limited to 'drivers/net/xen-netback/common.h')
0 files changed, 0 insertions, 0 deletions