[Intel-wired-lan] [next PATCH S80-V3 04/11] i40e/i40evf: always set the CLEARPBA flag when re-enabling interrupts

Jesse Brandeburg jesse.brandeburg at intel.com
Thu Oct 5 23:01:29 UTC 2017


On Thu, 5 Oct 2017 22:24:19 +0000
"Keller, Jacob E" <jacob.e.keller at intel.com> wrote:

> > The original patch was more aggressive than it needed to be. For
> > example you could probably go ahead and clear the PBA in the
> > i40e_intr()q interrupt routine itself since all it is doing is
> > scheduling the polling routine which will run after the interrupt
> > routine has completed. You shouldn't be clearing the PBA at the end of
> > NAPI poll unless you know you are not going to be exiting polling.
> > 
> > I hope this helps to clarify things.
> > 
> > - Alex  
> 
> Ok so only clear it if we're continuing to poll. I'll cook up a patch for that.

Hi Jake, we may just need to cook up a better test for this instead of
generating further patches.  I believe based on updated understanding
of the hardware functionality that this patch is correct, but it is
difficult to prove and we should probably spend more time doing the
actual proof.

At least this patch follow the actual directions in the hardware
manual, so I think we should stick with it.

Jesse


More information about the Intel-wired-lan mailing list