diff options
author | Andrew J. Bennieston <andrew.bennieston@citrix.com> | 2014-06-04 10:30:41 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-06-04 14:48:16 -0700 |
commit | a55d9766cecf2b1b9af4fcf93b2d41b71e599c76 (patch) | |
tree | d0900ed18437217a6270bed86af5e97c82b1e45e /drivers/net/xen-netback/netback.c | |
parent | Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/net-next (diff) | |
download | linux-dev-a55d9766cecf2b1b9af4fcf93b2d41b71e599c76.tar.xz linux-dev-a55d9766cecf2b1b9af4fcf93b2d41b71e599c76.zip |
xen-netback: Move grant_copy_op array back into struct xenvif.
This array was allocated separately in commit ac3d5ac2 ("xen-netback:
fix guest-receive-side array sizes") due to it being very large, and a
struct xenvif is allocated as the netdev_priv part of a struct
net_device, i.e. via kmalloc() but falling back to vmalloc() if the
initial alloc. fails.
In preparation for the multi-queue patches, where this array becomes
part of struct xenvif_queue and is always allocated through vzalloc(),
move this back into the struct xenvif.
Signed-off-by: Andrew J. Bennieston <andrew.bennieston@citrix.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions