diff options
author | Sasha Levin <sasha.levin@oracle.com> | 2013-04-29 04:30:08 +0200 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2013-04-29 05:17:05 +0200 |
commit | 55257d72bd1c51f25106350f4983ec19f62ed1fa (patch) | |
tree | 5a8017d9fbebfe3f225a77bc2aabae2d4a6f859d /include/sound/ac97_codec.h | |
parent | lguest: map Switcher below fixmap. (diff) | |
download | linux-55257d72bd1c51f25106350f4983ec19f62ed1fa.tar.xz linux-55257d72bd1c51f25106350f4983ec19f62ed1fa.zip |
virtio-net: fill only rx queues which are being used
Due to MQ support we may allocate a whole bunch of rx queues but
never use them. With this patch we'll safe the space used by
the receive buffers until they are actually in use:
sh-4.2# free -h
total used free shared buffers cached
Mem: 490M 35M 455M 0B 0B 4.1M
-/+ buffers/cache: 31M 459M
Swap: 0B 0B 0B
sh-4.2# ethtool -L eth0 combined 8
sh-4.2# free -h
total used free shared buffers cached
Mem: 490M 162M 327M 0B 0B 4.1M
-/+ buffers/cache: 158M 331M
Swap: 0B 0B 0B
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'include/sound/ac97_codec.h')
0 files changed, 0 insertions, 0 deletions