Home
last modified time | relevance | path

Searched refs:sge_params (Results 1 – 11 of 11) sorted by relevance

/drivers/net/ethernet/chelsio/cxgb/
Dsge.h70 struct sge_params;
73 struct sge *t1_sge_create(struct adapter *, struct sge_params *);
74 int t1_sge_configure(struct sge *, struct sge_params *);
75 int t1_sge_set_coalesce_params(struct sge *, struct sge_params *);
Dcommon.h148 struct sge_params { struct
190 struct sge_params sge;
Dsge.c555 static int alloc_rx_resources(struct sge *sge, struct sge_params *p) in alloc_rx_resources()
675 static int alloc_tx_resources(struct sge *sge, struct sge_params *p) in alloc_tx_resources()
748 static void configure_sge(struct sge *sge, struct sge_params *p) in configure_sge()
1907 int t1_sge_set_coalesce_params(struct sge *sge, struct sge_params *p) in t1_sge_set_coalesce_params()
1919 int t1_sge_configure(struct sge *sge, struct sge_params *p) in t1_sge_configure()
2058 struct sge *t1_sge_create(struct adapter *adapter, struct sge_params *p) in t1_sge_create()
/drivers/net/ethernet/chelsio/cxgb4vf/
Dt4vf_hw.c850 struct sge_params *sge_params = &adapter->params.sge; in t4vf_get_sge_params() local
871 sge_params->sge_control = vals[0]; in t4vf_get_sge_params()
872 sge_params->sge_host_page_size = vals[1]; in t4vf_get_sge_params()
873 sge_params->sge_fl_buffer_size[0] = vals[2]; in t4vf_get_sge_params()
874 sge_params->sge_fl_buffer_size[1] = vals[3]; in t4vf_get_sge_params()
875 sge_params->sge_timer_value_0_and_1 = vals[4]; in t4vf_get_sge_params()
876 sge_params->sge_timer_value_2_and_3 = vals[5]; in t4vf_get_sge_params()
877 sge_params->sge_timer_value_4_and_5 = vals[6]; in t4vf_get_sge_params()
899 sge_params->sge_control2 = vals[0]; in t4vf_get_sge_params()
909 sge_params->sge_ingress_rx_threshold = vals[0]; in t4vf_get_sge_params()
[all …]
Dsge.c2630 struct sge_params *sge_params = &adapter->params.sge; in t4vf_sge_init() local
2631 u32 fl_small_pg = sge_params->sge_fl_buffer_size[0]; in t4vf_sge_init()
2632 u32 fl_large_pg = sge_params->sge_fl_buffer_size[1]; in t4vf_sge_init()
2656 if ((sge_params->sge_control & RXPKTCPLMODE_F) != in t4vf_sge_init()
2667 s->stat_len = ((sge_params->sge_control & EGRSTATUSPAGESIZE_F) in t4vf_sge_init()
2669 s->pktshift = PKTSHIFT_G(sge_params->sge_control); in t4vf_sge_init()
2682 EGRTHRESHOLD_G(sge_params->sge_congestion_control); in t4vf_sge_init()
2686 EGRTHRESHOLDPACKING_G(sge_params->sge_congestion_control); in t4vf_sge_init()
2691 T6_EGRTHRESHOLDPACKING_G(sge_params->sge_congestion_control); in t4vf_sge_init()
Dt4vf_common.h177 struct sge_params { struct
262 struct sge_params sge; /* Scatter Gather Engine */
Dcxgb4vf_main.c2580 struct sge_params *sge_params = &adapter->params.sge; in adap_init0() local
2661 TIMERVALUE0_G(sge_params->sge_timer_value_0_and_1)); in adap_init0()
2663 TIMERVALUE1_G(sge_params->sge_timer_value_0_and_1)); in adap_init0()
2665 TIMERVALUE0_G(sge_params->sge_timer_value_2_and_3)); in adap_init0()
2667 TIMERVALUE1_G(sge_params->sge_timer_value_2_and_3)); in adap_init0()
2669 TIMERVALUE0_G(sge_params->sge_timer_value_4_and_5)); in adap_init0()
2671 TIMERVALUE1_G(sge_params->sge_timer_value_4_and_5)); in adap_init0()
2673 s->counter_val[0] = THRESHOLD_0_G(sge_params->sge_ingress_rx_threshold); in adap_init0()
2674 s->counter_val[1] = THRESHOLD_1_G(sge_params->sge_ingress_rx_threshold); in adap_init0()
2675 s->counter_val[2] = THRESHOLD_2_G(sge_params->sge_ingress_rx_threshold); in adap_init0()
[all …]
/drivers/net/ethernet/chelsio/cxgb3/
Dcommon.h327 struct sge_params { struct
382 struct sge_params sge;
734 void t3_sge_prep(struct adapter *adap, struct sge_params *p);
735 void t3_sge_init(struct adapter *adap, struct sge_params *p);
Dsge.c3311 void t3_sge_init(struct adapter *adap, struct sge_params *p) in t3_sge_init()
3350 void t3_sge_prep(struct adapter *adap, struct sge_params *p) in t3_sge_prep()
/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4.h267 struct sge_params { struct
364 struct sge_params sge;
Dt4_hw.c9372 struct sge_params *sge_params = &adapter->params.sge; in t4_init_sge_params() local
9381 sge_params->hps = ((hps >> s_hps) & HOSTPAGESIZEPF0_M); in t4_init_sge_params()
9388 sge_params->eq_qpp = ((qpp >> s_qpp) & QUEUESPERPAGEPF0_M); in t4_init_sge_params()
9390 sge_params->iq_qpp = ((qpp >> s_qpp) & QUEUESPERPAGEPF0_M); in t4_init_sge_params()