Searched refs:sge_params (Results 1 – 11 of 11) sorted by relevance
/Linux-v4.19/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 | 148 struct sge_params { struct 190 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()
|
/Linux-v4.19/drivers/net/ethernet/chelsio/cxgb4vf/ |
D | t4vf_hw.c | 840 struct sge_params *sge_params = &adapter->params.sge; in t4vf_get_sge_params() local 861 sge_params->sge_control = vals[0]; in t4vf_get_sge_params() 862 sge_params->sge_host_page_size = vals[1]; in t4vf_get_sge_params() 863 sge_params->sge_fl_buffer_size[0] = vals[2]; in t4vf_get_sge_params() 864 sge_params->sge_fl_buffer_size[1] = vals[3]; in t4vf_get_sge_params() 865 sge_params->sge_timer_value_0_and_1 = vals[4]; in t4vf_get_sge_params() 866 sge_params->sge_timer_value_2_and_3 = vals[5]; in t4vf_get_sge_params() 867 sge_params->sge_timer_value_4_and_5 = vals[6]; in t4vf_get_sge_params() 889 sge_params->sge_control2 = vals[0]; in t4vf_get_sge_params() 899 sge_params->sge_ingress_rx_threshold = vals[0]; in t4vf_get_sge_params() [all …]
|
D | t4vf_common.h | 176 struct sge_params { struct 261 struct sge_params sge; /* Scatter Gather Engine */
|
D | sge.c | 2625 struct sge_params *sge_params = &adapter->params.sge; in t4vf_sge_init() local 2626 u32 fl_small_pg = sge_params->sge_fl_buffer_size[0]; in t4vf_sge_init() 2627 u32 fl_large_pg = sge_params->sge_fl_buffer_size[1]; in t4vf_sge_init() 2651 if ((sge_params->sge_control & RXPKTCPLMODE_F) != in t4vf_sge_init() 2662 s->stat_len = ((sge_params->sge_control & EGRSTATUSPAGESIZE_F) in t4vf_sge_init() 2664 s->pktshift = PKTSHIFT_G(sge_params->sge_control); in t4vf_sge_init() 2677 EGRTHRESHOLD_G(sge_params->sge_congestion_control); in t4vf_sge_init() 2681 EGRTHRESHOLDPACKING_G(sge_params->sge_congestion_control); in t4vf_sge_init() 2686 T6_EGRTHRESHOLDPACKING_G(sge_params->sge_congestion_control); in t4vf_sge_init()
|
D | cxgb4vf_main.c | 2546 struct sge_params *sge_params = &adapter->params.sge; in adap_init0() local 2627 TIMERVALUE0_G(sge_params->sge_timer_value_0_and_1)); in adap_init0() 2629 TIMERVALUE1_G(sge_params->sge_timer_value_0_and_1)); in adap_init0() 2631 TIMERVALUE0_G(sge_params->sge_timer_value_2_and_3)); in adap_init0() 2633 TIMERVALUE1_G(sge_params->sge_timer_value_2_and_3)); in adap_init0() 2635 TIMERVALUE0_G(sge_params->sge_timer_value_4_and_5)); in adap_init0() 2637 TIMERVALUE1_G(sge_params->sge_timer_value_4_and_5)); in adap_init0() 2639 s->counter_val[0] = THRESHOLD_0_G(sge_params->sge_ingress_rx_threshold); in adap_init0() 2640 s->counter_val[1] = THRESHOLD_1_G(sge_params->sge_ingress_rx_threshold); in adap_init0() 2641 s->counter_val[2] = THRESHOLD_2_G(sge_params->sge_ingress_rx_threshold); in adap_init0() [all …]
|
/Linux-v4.19/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 | 3309 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-v4.19/drivers/net/ethernet/chelsio/cxgb4/ |
D | cxgb4.h | 266 struct sge_params { struct 362 struct sge_params sge;
|
D | t4_hw.c | 9177 struct sge_params *sge_params = &adapter->params.sge; in t4_init_sge_params() local 9186 sge_params->hps = ((hps >> s_hps) & HOSTPAGESIZEPF0_M); in t4_init_sge_params() 9193 sge_params->eq_qpp = ((qpp >> s_qpp) & QUEUESPERPAGEPF0_M); in t4_init_sge_params() 9195 sge_params->iq_qpp = ((qpp >> s_qpp) & QUEUESPERPAGEPF0_M); in t4_init_sge_params()
|