[dpdk-dev] [PATCH] fm10K: fix interrupt fault handling

Chen, Jing D jing.d.chen at intel.com
Tue Jul 21 09:15:21 CEST 2015


Hi, Stephen,

> -----Original Message-----
> From: Stephen Hemminger [mailto:stephen at networkplumber.org]
> Sent: Friday, July 17, 2015 8:33 AM
> To: Qiu, Michael; Chen, Jing D
> Cc: dev at dpdk.org; Stephen Hemminger
> Subject: [PATCH] fm10K: fix interrupt fault handling
> 
> The fm10k driver was reading the interrupt cause register but then
> using the interrupt mask register defines to look at the bits.
> The result is that if a fault happens, the driver would never clear
> the fault and would get into an infinite cycle of interrupts.
> 
> Note: I don't work for Intel or have the hardware manuals (probably
> requires NDA anyway), but this looks logical and matches how the
> known working Linux driver handles these bits.
> 
> Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>

Good catch! Thanks!

Acked-by: Jing Chen <jing.d.chen at intel.com>



More information about the dev mailing list