Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1408765 > unrolled thread
| Started by | David Miller <davem@davemloft.net> |
|---|---|
| First post | 2016-05-30 07:40 +0200 |
| Last post | 2016-05-30 07:40 +0200 |
| Articles | 1 — 1 participant |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: [PATCH 1/1] net: nps_enet: Disable interrupts before napi reschedule David Miller <davem@davemloft.net> - 2016-05-30 07:40 +0200
| From | David Miller <davem@davemloft.net> |
|---|---|
| Date | 2016-05-30 07:40 +0200 |
| Subject | Re: [PATCH 1/1] net: nps_enet: Disable interrupts before napi reschedule |
| Message-ID | <rEo5I-8oo-1@gated-at.bofh.it> |
From: Elad Kanfi <eladkan@mellanox.com> Date: Thu, 26 May 2016 15:00:06 +0300 > From: Elad Kanfi <eladkan@mellanox.com> > > Since NAPI works by shutting down event interrupts when theres > work and turning them on when theres none, the net driver must > make sure that interrupts are disabled when it reschedules polling. > By calling napi_reschedule, the driver switches to polling mode, > therefor there should be no interrupt interference. > Any received packets will be handled in nps_enet_poll by polling the HW > indication of received packet until all packets are handled. > > Signed-off-by: Elad Kanfi <eladkan@mellanox.com> > Acked-by: Noam Camus <noamca@mellanox.com> Applied.
Back to top | Article view | linux.kernel
csiph-web