Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/chelsio/cxgb/
H A Dsge.h61 struct sge_params;
64 struct sge *t1_sge_create(struct adapter *, struct sge_params *);
65 int t1_sge_configure(struct sge *, struct sge_params *);
66 int t1_sge_set_coalesce_params(struct sge *, struct sge_params *);
H A Dcommon.h138 struct sge_params { struct
180 struct sge_params sge;
139 cmdQ_sizesge_params global() argument
140 freelQ_sizesge_params global() argument
141 large_buf_capacitysge_params global() argument
142 rx_coalesce_usecssge_params global() argument
143 last_rx_coalesce_rawsge_params global() argument
144 default_rx_coalesce_usecssge_params global() argument
145 sample_interval_usecssge_params global() argument
146 coalesce_enablesge_params global() argument
147 pollingsge_params global() argument
H A Dsge.c548 static int alloc_rx_resources(struct sge *sge, struct sge_params *p) in alloc_rx_resources()
671 static int alloc_tx_resources(struct sge *sge, struct sge_params *p) in alloc_tx_resources()
745 static void configure_sge(struct sge *sge, struct sge_params *p) in configure_sge()
1945 int t1_sge_set_coalesce_params(struct sge *sge, struct sge_params *p) in t1_sge_set_coalesce_params()
1957 int t1_sge_configure(struct sge *sge, struct sge_params *p) in t1_sge_configure()
2096 struct sge *t1_sge_create(struct adapter *adapter, struct sge_params *p) in t1_sge_create()
/linux/drivers/net/ethernet/chelsio/cxgb4vf/
H A Dt4vf_hw.c849 struct sge_params *sge_params = &adapter->params.sge; in t4vf_get_sge_params() local
870 sge_params->sge_control = vals[0]; in t4vf_get_sge_params()
871 sge_params->sge_host_page_size = vals[1]; in t4vf_get_sge_params()
872 sge_params->sge_fl_buffer_size[0] = vals[2]; in t4vf_get_sge_params()
873 sge_params->sge_fl_buffer_size[1] = vals[3]; in t4vf_get_sge_params()
874 sge_params->sge_timer_value_0_and_1 = vals[4]; in t4vf_get_sge_params()
875 sge_params->sge_timer_value_2_and_3 = vals[5]; in t4vf_get_sge_params()
876 sge_params->sge_timer_value_4_and_5 = vals[6]; in t4vf_get_sge_params()
898 sge_params in t4vf_get_sge_params()
[all...]
H A Dt4vf_common.h177 struct sge_params { struct
262 struct sge_params sge; /* Scatter Gather Engine */
178 sge_controlsge_params global() argument
179 sge_control2sge_params global() argument
180 sge_host_page_sizesge_params global() argument
181 sge_egress_queues_per_pagesge_params global() argument
182 sge_ingress_queues_per_pagesge_params global() argument
183 sge_vf_hpssge_params global() argument
184 sge_vf_eq_qppsge_params global() argument
185 sge_vf_iq_qppsge_params global() argument
186 sge_fl_buffer_sizesge_params global() argument
187 sge_ingress_rx_thresholdsge_params global() argument
188 sge_congestion_controlsge_params global() argument
189 sge_timer_value_0_and_1sge_params global() argument
190 sge_timer_value_2_and_3sge_params global() argument
191 sge_timer_value_4_and_5sge_params global() argument
H A Dsge.c2628 struct sge_params *sge_params = &adapter->params.sge; in t4vf_sge_init() local
2629 u32 fl_small_pg = sge_params->sge_fl_buffer_size[0]; in t4vf_sge_init()
2630 u32 fl_large_pg = sge_params->sge_fl_buffer_size[1]; in t4vf_sge_init()
2654 if ((sge_params->sge_control & RXPKTCPLMODE_F) != in t4vf_sge_init()
2665 s->stat_len = ((sge_params->sge_control & EGRSTATUSPAGESIZE_F) in t4vf_sge_init()
2667 s->pktshift = PKTSHIFT_G(sge_params->sge_control); in t4vf_sge_init()
2680 EGRTHRESHOLD_G(sge_params->sge_congestion_control); in t4vf_sge_init()
2684 EGRTHRESHOLDPACKING_G(sge_params->sge_congestion_control); in t4vf_sge_init()
2689 T6_EGRTHRESHOLDPACKING_G(sge_params in t4vf_sge_init()
[all...]
/linux/drivers/net/ethernet/chelsio/cxgb3/
H A Dcommon.h327 struct sge_params { struct
382 struct sge_params sge;
732 void t3_sge_prep(struct adapter *adap, struct sge_params *p);
733 void t3_sge_init(struct adapter *adap, struct sge_params *p);
328 max_pkt_sizesge_params global() argument
329 qsetsge_params global() argument
H A Dsge.c3309 void t3_sge_init(struct adapter *adap, struct sge_params *p) in t3_sge_init()
3348 void t3_sge_prep(struct adapter *adap, struct sge_params *p) in t3_sge_prep()
/linux/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4.h342 struct sge_params { struct
437 struct sge_params sge;
343 hpssge_params global() argument
344 eq_qppsge_params global() argument
345 iq_qppsge_params global() argument
H A Dt4_hw.c9379 struct sge_params *sge_params = &adapter->params.sge; in t4_init_sge_params() local
9388 sge_params->hps = ((hps >> s_hps) & HOSTPAGESIZEPF0_M); in t4_init_sge_params()
9395 sge_params->eq_qpp = ((qpp >> s_qpp) & QUEUESPERPAGEPF0_M); in t4_init_sge_params()
9397 sge_params->iq_qpp = ((qpp >> s_qpp) & QUEUESPERPAGEPF0_M); in t4_init_sge_params()