diff options
author | Sowmini Varadhan <sowmini.varadhan@oracle.com> | 2014-10-30 12:45:58 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-10-30 19:56:22 -0400 |
commit | 7bd68bfd51f611ba61b3afdbd23ea9580c312bf5 (patch) | |
tree | 9501a4317de63002416c6a7d7552cae89d9c6e83 /drivers/net/ethernet/sun | |
parent | cd2145358e7a5bb1798a185e5ef199ea49c69dd7 (diff) |
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>
Diffstat (limited to 'drivers/net/ethernet/sun')
-rw-r--r-- | drivers/net/ethernet/sun/sunvnet.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/sun/sunvnet.c b/drivers/net/ethernet/sun/sunvnet.c index c390a278454..7ada479f960 100644 --- a/drivers/net/ethernet/sun/sunvnet.c +++ b/drivers/net/ethernet/sun/sunvnet.c @@ -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; |