aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/bnx2x_hsi.h
diff options
context:
space:
mode:
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 {