diff options
author | Bruce Rogers <brogers@novell.com> | 2011-02-10 11:03:31 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-02-10 11:03:31 -0800 |
commit | 3e9d08ec0a68f6faf718d5a7e050fe5ca0ba004f (patch) | |
tree | 416d0b99bf6f85e46f2e97c2f57f9ea07cc4c54f /drivers/net/amd8111e.h | |
parent | 96642d42f076101ba98866363d908cab706d156c (diff) |
virtio_net: Add schedule check to napi_enable call
Under harsh testing conditions, including low memory, the guest would
stop receiving packets. With this patch applied we no longer see any
problems in the driver while performing these tests for extended periods
of time.
Make sure napi is scheduled subsequent to each napi_enable.
Signed-off-by: Bruce Rogers <brogers@novell.com>
Signed-off-by: Olaf Kirch <okir@suse.de>
Cc: stable@kernel.org
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/amd8111e.h')
0 files changed, 0 insertions, 0 deletions