diff options
author | Dmitry Kravkov <dmitry@broadcom.com> | 2013-06-18 22:36:05 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-06-20 01:32:17 (GMT) |
commit | 75b2945988274078bccf4c0b84e90c77b4fcaf96 (patch) | |
tree | 3dbae8169193509604a9e5cd1896fd7fa4ac3298 /drivers/net/ethernet/broadcom/bnx2x/bnx2x_hsi.h | |
parent | 8f20aa575c0a69ccbdce325818f2b3878bfed61c (diff) | |
download | linux-fsl-qoriq-75b2945988274078bccf4c0b84e90c77b4fcaf96.tar.xz |
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>
Diffstat (limited to 'drivers/net/ethernet/broadcom/bnx2x/bnx2x_hsi.h')
-rw-r--r-- | drivers/net/ethernet/broadcom/bnx2x/bnx2x_hsi.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_hsi.h b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_hsi.h index 5ef3f96..5018e52 100644 --- a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_hsi.h +++ b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_hsi.h @@ -3818,7 +3818,8 @@ struct eth_fast_path_rx_cqe { __le16 len_on_bd; struct parsing_flags pars_flags; union eth_sgl_or_raw_data sgl_or_raw_data; - __le32 reserved1[8]; + __le32 reserved1[7]; + u32 marker; }; |