forked from Minki/linux
sunvnet: Reset LDC_EVENT_DATA_READY when napi completes.
When vnet_event_napi re-enables interrupts, it should reset LDC_EVENT_DATA_READY as an optimization. Signed-off-by: Sowmini Varadhan <sowmini.varadhan@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
cd2145358e
commit
7bd68bfd51
@ -760,6 +760,7 @@ static int vnet_poll(struct napi_struct *napi, int budget)
|
||||
|
||||
if (processed < budget) {
|
||||
napi_complete(napi);
|
||||
port->rx_event &= ~LDC_EVENT_DATA_READY;
|
||||
vio_set_intr(vio->vdev->rx_ino, HV_INTR_ENABLED);
|
||||
}
|
||||
return processed;
|
||||
|
Loading…
Reference in New Issue
Block a user