diff options
author | Jon Mason <jon.mason@exar.com> | 2010-11-10 23:25:54 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-11-11 12:30:19 -0500 |
commit | 4d2a5b406c02b224bd3f50992c8b02450c65a730 (patch) | |
tree | 624d968e9ae73e1ff14dcfbc4a26e0fbbe069124 /virt/kvm/irq_comm.c | |
parent | 47f01db44b2470d9517848f6b73c75883ef5fda0 (diff) |
vxge: Wait for Rx to become idle before reseting or closing
Wait for the receive traffic to become idle before attempting to close
or reset the adapter. To enable the processing of packets while Receive
Idle, move the clearing of __VXGE_STATE_CARD_UP bit in vxge_close to
after it. Also, modify the return value of the ISR when the adapter is
down to IRQ_HANDLED. Otherwise there are unhandled interrupts for the
device.
Signed-off-by: Jon Mason <jon.mason@exar.com>
Signed-off-by: Ram Vepa <ram.vepa@exar.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'virt/kvm/irq_comm.c')
0 files changed, 0 insertions, 0 deletions