Searched refs:sge_params (Results 1 – 9 of 9) sorted by relevance
/drivers/net/ethernet/chelsio/cxgb/ |
D | sge.h | 70 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 *);
|
D | common.h | 143 struct sge_params { struct 185 struct sge_params sge;
|
D | sge.c | 555 static int alloc_rx_resources(struct sge *sge, struct sge_params *p) in alloc_rx_resources() 676 static int alloc_tx_resources(struct sge *sge, struct sge_params *p) in alloc_tx_resources() 749 static void configure_sge(struct sge *sge, struct sge_params *p) in configure_sge() 1908 int t1_sge_set_coalesce_params(struct sge *sge, struct sge_params *p) in t1_sge_set_coalesce_params() 1920 int t1_sge_configure(struct sge *sge, struct sge_params *p) in t1_sge_configure() 2059 struct sge *t1_sge_create(struct adapter *adapter, struct sge_params *p) in t1_sge_create()
|
/drivers/net/ethernet/chelsio/cxgb4vf/ |
D | t4vf_hw.c | 442 struct sge_params *sge_params = &adapter->params.sge; in t4vf_get_sge_params() local 463 sge_params->sge_control = vals[0]; in t4vf_get_sge_params() 464 sge_params->sge_host_page_size = vals[1]; in t4vf_get_sge_params() 465 sge_params->sge_fl_buffer_size[0] = vals[2]; in t4vf_get_sge_params() 466 sge_params->sge_fl_buffer_size[1] = vals[3]; in t4vf_get_sge_params() 467 sge_params->sge_timer_value_0_and_1 = vals[4]; in t4vf_get_sge_params() 468 sge_params->sge_timer_value_2_and_3 = vals[5]; in t4vf_get_sge_params() 469 sge_params->sge_timer_value_4_and_5 = vals[6]; in t4vf_get_sge_params() 491 sge_params->sge_control2 = vals[0]; in t4vf_get_sge_params() 501 sge_params->sge_ingress_rx_threshold = vals[0]; in t4vf_get_sge_params() [all …]
|
D | t4vf_common.h | 135 struct sge_params { struct 211 struct sge_params sge; /* Scatter Gather Engine */
|
D | sge.c | 2429 struct sge_params *sge_params = &adapter->params.sge; in t4vf_sge_init() local 2430 u32 fl0 = sge_params->sge_fl_buffer_size[0]; in t4vf_sge_init() 2431 u32 fl1 = sge_params->sge_fl_buffer_size[1]; in t4vf_sge_init() 2445 if ((sge_params->sge_control & RXPKTCPLMODE_MASK) == 0) { in t4vf_sge_init() 2455 s->stat_len = ((sge_params->sge_control & EGRSTATUSPAGESIZE_MASK) in t4vf_sge_init() 2457 s->pktshift = PKTSHIFT_GET(sge_params->sge_control); in t4vf_sge_init() 2469 ingpadboundary = 1 << (INGPADBOUNDARY_GET(sge_params->sge_control) + in t4vf_sge_init() 2477 ingpackboundary = INGPACKBOUNDARY_G(sge_params->sge_control2); in t4vf_sge_init() 2495 = EGRTHRESHOLD_GET(sge_params->sge_congestion_control)*2 + 1; in t4vf_sge_init()
|
D | cxgb4vf_main.c | 2093 struct sge_params *sge_params = &adapter->params.sge; in adap_init0() local 2197 TIMERVALUE0_GET(sge_params->sge_timer_value_0_and_1)); in adap_init0() 2199 TIMERVALUE1_GET(sge_params->sge_timer_value_0_and_1)); in adap_init0() 2201 TIMERVALUE0_GET(sge_params->sge_timer_value_2_and_3)); in adap_init0() 2203 TIMERVALUE1_GET(sge_params->sge_timer_value_2_and_3)); in adap_init0() 2205 TIMERVALUE0_GET(sge_params->sge_timer_value_4_and_5)); in adap_init0() 2207 TIMERVALUE1_GET(sge_params->sge_timer_value_4_and_5)); in adap_init0() 2210 THRESHOLD_0_GET(sge_params->sge_ingress_rx_threshold); in adap_init0() 2212 THRESHOLD_1_GET(sge_params->sge_ingress_rx_threshold); in adap_init0() 2214 THRESHOLD_2_GET(sge_params->sge_ingress_rx_threshold); in adap_init0() [all …]
|
/drivers/net/ethernet/chelsio/cxgb3/ |
D | common.h | 327 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);
|
D | sge.c | 3244 void t3_sge_init(struct adapter *adap, struct sge_params *p) in t3_sge_init() 3283 void t3_sge_prep(struct adapter *adap, struct sge_params *p) in t3_sge_prep()
|