virtio-net: move sg off stack
authorMichael S. Tsirkin <mst@redhat.com>
Thu, 8 Apr 2010 04:01:41 +0000 (21:01 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 8 Apr 2010 04:01:41 +0000 (21:01 -0700)
Move sg structure off stack and into virtnet_info structure.
This helps remove extra sg_init_table calls as well as reduce
stack usage.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Tested-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found