]> 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)
commit104c2ff0f727f7badf7b6ef4e0abe0386a7b160b
tree14db254590270957d20e54afea0753b57a618a0e
parentb060cc57c000893cc2f6d6cff18253ab8439d4c1
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