aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/bnx2x_hsi.h
diff options
context:
space:
mode:
authorEilon Greenstein <eilong@broadcom.com>2009-02-12 03:36:43 -0500
committerDavid S. Miller <davem@davemloft.net>2009-02-16 02:31:15 -0500
commit1c06328c0345638ea7532b45cadfe713c9e9781e (patch)
treef0bc6c0986f22802655b347367ff5222074870dc /drivers/net/bnx2x_hsi.h
parent8a1c38d17d88c8df3dcbea1c01a390ab2087f8ad (diff)
bnx2x: Flow control enhancement
Setting better HW thresholds and enabling FW capabilities for better enforcement. Also set the HW to more efficiently use the internal buffers if this is a single port design Signed-off-by: Eilon Greenstein <eilong@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bnx2x_hsi.h')
-rw-r--r--drivers/net/bnx2x_hsi.h35
1 files changed, 35 insertions, 0 deletions
diff --git a/drivers/net/bnx2x_hsi.h b/drivers/net/bnx2x_hsi.h
index a4a6039ef8cf..b0f41d1f9ab4 100644
--- a/drivers/net/bnx2x_hsi.h
+++ b/drivers/net/bnx2x_hsi.h
@@ -2615,6 +2615,41 @@ struct tstorm_eth_tpa_exist {
2615 2615
2616 2616
2617/* 2617/*
2618 * rx rings pause data for E1h only
2619 */
2620struct ustorm_eth_rx_pause_data_e1h {
2621#if defined(__BIG_ENDIAN)
2622 u16 bd_thr_low;
2623 u16 cqe_thr_low;
2624#elif defined(__LITTLE_ENDIAN)
2625 u16 cqe_thr_low;
2626 u16 bd_thr_low;
2627#endif
2628#if defined(__BIG_ENDIAN)
2629 u16 cos;
2630 u16 sge_thr_low;
2631#elif defined(__LITTLE_ENDIAN)
2632 u16 sge_thr_low;
2633 u16 cos;
2634#endif
2635#if defined(__BIG_ENDIAN)
2636 u16 bd_thr_high;
2637 u16 cqe_thr_high;
2638#elif defined(__LITTLE_ENDIAN)
2639 u16 cqe_thr_high;
2640 u16 bd_thr_high;
2641#endif
2642#if defined(__BIG_ENDIAN)
2643 u16 reserved0;
2644 u16 sge_thr_high;
2645#elif defined(__LITTLE_ENDIAN)
2646 u16 sge_thr_high;
2647 u16 reserved0;
2648#endif
2649};
2650
2651
2652/*
2618 * Three RX producers for ETH 2653 * Three RX producers for ETH
2619 */ 2654 */
2620struct ustorm_eth_rx_producers { 2655struct ustorm_eth_rx_producers {