commit | 5e01d2f91df62be4d6f282149bc2a8858992ceca | [log] [tgz] |
---|---|---|
author | Michael S. Tsirkin <mst@redhat.com> | Wed Apr 07 21:01:41 2010 -0700 |
committer | David S. Miller <davem@davemloft.net> | Wed Apr 07 21:01:41 2010 -0700 |
tree | 8124dc2ba305c27bc59c9bba3cb0810b77c14761 | |
parent | b681ee77f8ad248b0fdcec2e5e8c4df6e757eba3 [diff] |
virtio-net: move sg off stack 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>