Searched refs:sge_params (Results 1 – 11 of 11) sorted by relevance
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb/ |
H A D | sge.h | 61 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 D | common.h | 138 struct sge_params { struct 180 struct sge_params sge;
|
H A D | sge.c | 548 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()
|
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb4vf/ |
H A D | t4vf_hw.c | 849 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() 898 sge_params->sge_control2 = vals[0]; in t4vf_get_sge_params() 909 sge_params->sge_congestion_control = vals[1]; in t4vf_get_sge_params() 942 sge_params->sge_vf_hps = in t4vf_get_sge_params() 943 ((sge_params->sge_host_page_size >> s_hps) in t4vf_get_sge_params() 948 sge_params->sge_vf_eq_qpp = in t4vf_get_sge_params() [all …]
|
H A D | t4vf_common.h | 177 struct sge_params { struct 262 struct sge_params sge; /* Scatter Gather Engine */
|
H A D | sge.c | 2628 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->sge_congestion_control); in t4vf_sge_init()
|
H A D | cxgb4vf_main.c | 2517 struct sge_params *sge_params = &adapter->params.sge; in adap_init0() local 2598 TIMERVALUE0_G(sge_params->sge_timer_value_0_and_1)); in adap_init0() 2600 TIMERVALUE1_G(sge_params->sge_timer_value_0_and_1)); in adap_init0() 2602 TIMERVALUE0_G(sge_params->sge_timer_value_2_and_3)); in adap_init0() 2604 TIMERVALUE1_G(sge_params->sge_timer_value_2_and_3)); in adap_init0() 2606 TIMERVALUE0_G(sge_params->sge_timer_value_4_and_5)); in adap_init0() 2608 TIMERVALUE1_G(sge_params->sge_timer_value_4_and_5)); in adap_init0() 2610 s->counter_val[0] = THRESHOLD_0_G(sge_params->sge_ingress_rx_threshold); in adap_init0() 2611 s->counter_val[1] = THRESHOLD_1_G(sge_params->sge_ingress_rx_threshold); in adap_init0() 2612 s->counter_val[2] = THRESHOLD_2_G(sge_params->sge_ingress_rx_threshold); in adap_init0() [all …]
|
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb3/ |
H A D | common.h | 327 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);
|
H A D | sge.c | 3322 void t3_sge_init(struct adapter *adap, struct sge_params *p) in t3_sge_init() 3361 void t3_sge_prep(struct adapter *adap, struct sge_params *p) in t3_sge_prep()
|
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | cxgb4.h | 342 struct sge_params { struct 437 struct sge_params sge;
|
H A D | t4_hw.c | 9379 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()
|