]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commit75b2945988274078bccf4c0b84e90c77b4fcaf96
tree3dbae8169193509604a9e5cd1896fd7fa4ac3298
parent8f20aa575c0a69ccbdce325818f2b3878bfed61c
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