]> git.baikalelectronics.ru Git - kernel.git/commit
be2net: Fix INTx processing for Lancer
authorPadmanabh Ratnakar <padmanabh.ratnakar@emulex.com>
Mon, 19 Dec 2011 01:53:35 +0000 (01:53 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 19 Dec 2011 20:46:00 +0000 (15:46 -0500)
commit68c0a35c7722228bff195ae7da0ea48886a5c24f
tree14db254590270957d20e54afea0753b57a618a0e
parent02554e256830292785c8056b269a957392abca3f
be2net: Fix INTx processing for Lancer

Lancer does not have HW registers to indicate the EQ causing the INTx
interrupt. As a result EQE entries of one EQ may be consumed when interrupt
is caused by another EQ. Fix this by arming CQs at the end of NAPI poll
routine to regenerate the EQEs.

Signed-off-by: Padmanabh Ratnakar <padmanabh.ratnakar@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/emulex/benet/be_main.c