]> git.baikalelectronics.ru Git - kernel.git/commit
bnx2x: replace mechanism to check for next available packet
authorDmitry Kravkov <dmitry@broadcom.com>
Tue, 18 Jun 2013 22:36:05 +0000 (01:36 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 20 Jun 2013 01:32:17 +0000 (18:32 -0700)
commitcd3307f6f79a3694d36f59c6ae27d274f3fb4fe6
tree3dbae8169193509604a9e5cd1896fd7fa4ac3298
parente4ebd49f8cca5c8f30350a2df9f5377fd6650d7a
bnx2x: replace mechanism to check for next available packet

Check next packet availability by validating that HW has finished CQE
placement. This saves latency of another dma transaction performed to update
SB indexes.

Signed-off-by: Dmitry Kravkov <dmitry@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c
drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.h
drivers/net/ethernet/broadcom/bnx2x/bnx2x_hsi.h
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c