Home
last modified time | relevance | path

Searched refs:prof (Results 1 – 25 of 49) sorted by relevance

12

/Linux-v6.1/drivers/net/ethernet/intel/ice/
Dice_flow.c592 struct ice_flow_prof *prof; member
667 sz = (params->prof->segs[seg].hdrs & ICE_FLOW_SEG_HDR_VLAN) ? in ice_flow_calc_seg_sz()
671 if (params->prof->segs[seg].hdrs & ICE_FLOW_SEG_HDR_IPV4) in ice_flow_calc_seg_sz()
673 else if (params->prof->segs[seg].hdrs & ICE_FLOW_SEG_HDR_IPV6) in ice_flow_calc_seg_sz()
675 else if (params->prof->segs[seg].hdrs & ICE_FLOW_SEG_HDR_ARP) in ice_flow_calc_seg_sz()
677 else if (params->prof->segs[seg].hdrs & ICE_FLOW_SEG_HDRS_L4_MASK) in ice_flow_calc_seg_sz()
682 if (params->prof->segs[seg].hdrs & ICE_FLOW_SEG_HDR_ICMP) in ice_flow_calc_seg_sz()
684 else if (params->prof->segs[seg].hdrs & ICE_FLOW_SEG_HDR_TCP) in ice_flow_calc_seg_sz()
686 else if (params->prof->segs[seg].hdrs & ICE_FLOW_SEG_HDR_UDP) in ice_flow_calc_seg_sz()
688 else if (params->prof->segs[seg].hdrs & ICE_FLOW_SEG_HDR_SCTP) in ice_flow_calc_seg_sz()
[all …]
Dice_ethtool_fdir.c267 ice_fdir_remap_entries(struct ice_fd_hw_prof *prof, int tun, int idx) in ice_fdir_remap_entries() argument
269 if (idx != prof->cnt && tun < ICE_FD_HW_SEG_MAX) { in ice_fdir_remap_entries()
272 for (i = idx; i < (prof->cnt - 1); i++) { in ice_fdir_remap_entries()
275 old_entry_h = prof->entry_h[i + 1][tun]; in ice_fdir_remap_entries()
276 prof->entry_h[i][tun] = old_entry_h; in ice_fdir_remap_entries()
277 prof->vsi_h[i] = prof->vsi_h[i + 1]; in ice_fdir_remap_entries()
280 prof->entry_h[i][tun] = 0; in ice_fdir_remap_entries()
281 prof->vsi_h[i] = 0; in ice_fdir_remap_entries()
298 struct ice_fd_hw_prof *prof = hw->fdir_prof[flow]; in ice_fdir_rem_adq_chnl() local
301 if (!prof || !prof->cnt) in ice_fdir_rem_adq_chnl()
[all …]
Dice_flex_pipe.c2535 ice_find_prot_off(struct ice_hw *hw, enum ice_block blk, u8 prof, u16 fv_idx, in ice_find_prot_off() argument
2540 if (prof >= hw->blk[blk].es.count) in ice_find_prot_off()
2546 fv_ext = hw->blk[blk].es.t + (prof * hw->blk[blk].es.fvw); in ice_find_prot_off()
3066 ice_prof_has_mask_idx(struct ice_hw *hw, enum ice_block blk, u8 prof, u16 idx, in ice_prof_has_mask_idx() argument
3081 if (hw->blk[blk].es.mask_ena[prof] & BIT(i)) in ice_prof_has_mask_idx()
3109 ice_prof_has_mask(struct ice_hw *hw, enum ice_block blk, u8 prof, u16 *masks) in ice_prof_has_mask() argument
3115 if (!ice_prof_has_mask_idx(hw, blk, prof, i, masks[i])) in ice_prof_has_mask()
3845 sizeof(*hw->blk[block_id].prof.t); in ice_fill_tbl()
3846 dst = (u8 *)hw->blk[block_id].prof.t; in ice_fill_tbl()
3847 dst_len = hw->blk[block_id].prof.count * in ice_fill_tbl()
[all …]
Dice_flow.h352 struct ice_flow_prof *prof; member
391 struct ice_flow_prof **prof);
/Linux-v6.1/drivers/s390/block/
Ddasd_proc.c200 struct dasd_profile_info *prof; in dasd_stats_proc_show() local
204 prof = dasd_global_profile.data; in dasd_stats_proc_show()
205 if (!prof) { in dasd_stats_proc_show()
214 for (factor = 1; (prof->dasd_io_reqs / factor) > 9999999; in dasd_stats_proc_show()
217 seq_printf(m, "%d dasd I/O requests\n", prof->dasd_io_reqs); in dasd_stats_proc_show()
219 prof->dasd_io_sects); in dasd_stats_proc_show()
231 dasd_statistics_array(m, prof->dasd_io_secs, factor); in dasd_stats_proc_show()
233 dasd_statistics_array(m, prof->dasd_io_times, factor); in dasd_stats_proc_show()
235 dasd_statistics_array(m, prof->dasd_io_timps, factor); in dasd_stats_proc_show()
237 dasd_statistics_array(m, prof->dasd_io_time1, factor); in dasd_stats_proc_show()
[all …]
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx4/
Den_main.c166 params->prof[i].rx_pause = !(pfcrx || pfctx); in mlx4_en_get_profile()
167 params->prof[i].rx_ppp = pfcrx; in mlx4_en_get_profile()
168 params->prof[i].tx_pause = !(pfcrx || pfctx); in mlx4_en_get_profile()
169 params->prof[i].tx_ppp = pfctx; in mlx4_en_get_profile()
171 params->prof[i].tx_ring_size = MLX4_EN_MIN_TX_SIZE; in mlx4_en_get_profile()
172 params->prof[i].rx_ring_size = MLX4_EN_MIN_RX_SIZE; in mlx4_en_get_profile()
174 params->prof[i].tx_ring_size = MLX4_EN_DEF_TX_RING_SIZE; in mlx4_en_get_profile()
175 params->prof[i].rx_ring_size = MLX4_EN_DEF_RX_RING_SIZE; in mlx4_en_get_profile()
177 params->prof[i].num_up = MLX4_EN_NUM_UP_LOW; in mlx4_en_get_profile()
178 params->prof[i].num_tx_rings_p_up = params->max_num_tx_rings_p_up; in mlx4_en_get_profile()
[all …]
Den_dcb_nl.c159 struct mlx4_en_port_profile *prof = priv->prof; in mlx4_en_dcbnl_set_all() local
168 rx_ppp = prof->rx_ppp; in mlx4_en_dcbnl_set_all()
169 tx_ppp = prof->tx_ppp; in mlx4_en_dcbnl_set_all()
195 rx_pause = !!(rx_ppp || tx_ppp) ? 0 : prof->rx_pause; in mlx4_en_dcbnl_set_all()
196 tx_pause = !!(rx_ppp || tx_ppp) ? 0 : prof->tx_pause; in mlx4_en_dcbnl_set_all()
200 rx_pause = prof->rx_pause; in mlx4_en_dcbnl_set_all()
201 tx_pause = prof->tx_pause; in mlx4_en_dcbnl_set_all()
211 prof->tx_ppp = tx_ppp; in mlx4_en_dcbnl_set_all()
212 prof->rx_ppp = rx_ppp; in mlx4_en_dcbnl_set_all()
213 prof->tx_pause = tx_pause; in mlx4_en_dcbnl_set_all()
[all …]
Den_netdev.c105 memcpy(&new_prof, priv->prof, sizeof(struct mlx4_en_port_profile)); in mlx4_en_alloc_tx_queue_per_tc()
1774 priv->prof->tx_pause, in mlx4_en_start_port()
1775 priv->prof->tx_ppp, in mlx4_en_start_port()
1776 priv->prof->rx_pause, in mlx4_en_start_port()
1777 priv->prof->rx_ppp); in mlx4_en_start_port()
2145 priv->prof->rx_ring_size, priv->stride); in mlx4_en_free_resources()
2154 struct mlx4_en_port_profile *prof = priv->prof; in mlx4_en_alloc_resources() local
2163 prof->tx_ring_size, i, t, node)) in mlx4_en_alloc_resources()
2167 prof->tx_ring_size, in mlx4_en_alloc_resources()
2177 prof->rx_ring_size, i, RX, node)) in mlx4_en_alloc_resources()
[all …]
Den_ethtool.c795 if (priv->prof->tx_pause) in ethtool_get_ptys_link_ksettings()
798 if (priv->prof->tx_pause ^ priv->prof->rx_pause) in ethtool_get_ptys_link_ksettings()
1094 rx_ppp = (tx_pause || rx_pause) ? 0 : priv->prof->rx_ppp; in mlx4_en_set_pauseparam()
1095 tx_ppp = (tx_pause || rx_pause) ? 0 : priv->prof->tx_ppp; in mlx4_en_set_pauseparam()
1108 priv->prof->tx_pause = tx_pause; in mlx4_en_set_pauseparam()
1109 priv->prof->rx_pause = rx_pause; in mlx4_en_set_pauseparam()
1110 priv->prof->tx_ppp = tx_ppp; in mlx4_en_set_pauseparam()
1111 priv->prof->rx_ppp = rx_ppp; in mlx4_en_set_pauseparam()
1139 pause->tx_pause = priv->prof->tx_pause; in mlx4_en_get_pauseparam()
1140 pause->rx_pause = priv->prof->rx_pause; in mlx4_en_get_pauseparam()
[all …]
Dmlx4_en.h399 struct mlx4_en_port_profile prof[MLX4_MAX_PORTS + 1]; member
528 struct mlx4_en_port_profile *prof; member
663 struct mlx4_en_port_profile *prof);
675 struct mlx4_en_port_profile *prof,
Den_resources.c67 if (user_prio >= 0 && priv->prof->num_up == MLX4_EN_NUM_UP_HIGH) { in mlx4_en_fill_qp_context()
/Linux-v6.1/drivers/net/ethernet/marvell/octeontx2/nic/
Dcn10k.c376 aq->prof.icolor = 0x03; in cn10k_set_ipolicer_rate()
380 aq->prof.cir_exponent = rate_exp; in cn10k_set_ipolicer_rate()
383 aq->prof.cir_mantissa = rate_mantissa; in cn10k_set_ipolicer_rate()
386 aq->prof.cbs_exponent = burst_exp; in cn10k_set_ipolicer_rate()
389 aq->prof.cbs_mantissa = burst_mantissa; in cn10k_set_ipolicer_rate()
392 aq->prof.rdiv = rdiv; in cn10k_set_ipolicer_rate()
409 aq->prof.adjust_exponent = 1; in cn10k_set_ipolicer_rate()
412 aq->prof.adjust_mantissa = 384; in cn10k_set_ipolicer_rate()
415 aq->prof.lmode = 0x1; in cn10k_set_ipolicer_rate()
422 aq->prof.meter_algo = 2; in cn10k_set_ipolicer_rate()
[all …]
/Linux-v6.1/drivers/s390/net/
Dctcm_sysfs.c96 priv->channel[WRITE]->prof.maxmulti); in ctcm_print_statistics()
98 priv->channel[WRITE]->prof.maxcqueue); in ctcm_print_statistics()
100 priv->channel[WRITE]->prof.doios_single); in ctcm_print_statistics()
102 priv->channel[WRITE]->prof.doios_multi); in ctcm_print_statistics()
104 priv->channel[WRITE]->prof.txlen); in ctcm_print_statistics()
106 jiffies_to_usecs(priv->channel[WRITE]->prof.tx_time)); in ctcm_print_statistics()
133 memset(&priv->channel[WRITE]->prof, 0, in stats_write()
134 sizeof(priv->channel[CTCM_WRITE]->prof)); in stats_write()
Dnetiucv.c152 struct connection_profile prof; member
689 conn->prof.tx_pending--; in conn_action_txdone()
718 if (conn->collect_len > conn->prof.maxmulti) in conn_action_txdone()
719 conn->prof.maxmulti = conn->collect_len; in conn_action_txdone()
729 conn->prof.send_stamp = jiffies; in conn_action_txdone()
734 conn->prof.doios_multi++; in conn_action_txdone()
735 conn->prof.txlen += conn->tx_buff->len; in conn_action_txdone()
736 conn->prof.tx_pending++; in conn_action_txdone()
737 if (conn->prof.tx_pending > conn->prof.tx_max_pending) in conn_action_txdone()
738 conn->prof.tx_max_pending = conn->prof.tx_pending; in conn_action_txdone()
[all …]
Dctcm_fsms.c259 duration = done_stamp - ch->prof.send_stamp; in chx_txdone()
260 if (duration > ch->prof.tx_time) in chx_txdone()
261 ch->prof.tx_time = duration; in chx_txdone()
290 if (ch->prof.maxmulti < (ch->collect_len + 2)) in chx_txdone()
291 ch->prof.maxmulti = ch->collect_len + 2; in chx_txdone()
292 if (ch->prof.maxcqueue < skb_queue_len(&ch->collect_queue)) in chx_txdone()
293 ch->prof.maxcqueue = skb_queue_len(&ch->collect_queue); in chx_txdone()
309 ch->prof.send_stamp = jiffies; in chx_txdone()
311 ch->prof.doios_multi++; in chx_txdone()
1230 duration = done_stamp - ch->prof.send_stamp; in ctcmpc_chx_txdone()
[all …]
/Linux-v6.1/sound/pci/echoaudio/
Dmia_dsp.c33 static int set_professional_spdif(struct echoaudio *chip, char prof);
215 static int set_professional_spdif(struct echoaudio *chip, char prof) in set_professional_spdif() argument
217 dev_dbg(chip->card->dev, "set_professional_spdif %d\n", prof); in set_professional_spdif()
218 if (prof) in set_professional_spdif()
224 chip->professional_spdif = prof; in set_professional_spdif()
Dechoaudio_gml.c156 static int set_professional_spdif(struct echoaudio *chip, char prof) in set_professional_spdif() argument
168 if (prof) { in set_professional_spdif()
200 chip->professional_spdif = prof; in set_professional_spdif()
202 prof ? "Professional" : "Consumer"); in set_professional_spdif()
Dgina20_dsp.c32 static int set_professional_spdif(struct echoaudio *chip, char prof);
207 static int set_professional_spdif(struct echoaudio *chip, char prof) in set_professional_spdif() argument
209 if (prof) in set_professional_spdif()
215 chip->professional_spdif = prof; in set_professional_spdif()
Dlayla20_dsp.c33 static int set_professional_spdif(struct echoaudio *chip, char prof);
281 static int set_professional_spdif(struct echoaudio *chip, char prof) in set_professional_spdif() argument
283 if (prof) in set_professional_spdif()
289 chip->professional_spdif = prof; in set_professional_spdif()
Dechoaudio_3g.c177 static int set_professional_spdif(struct echoaudio *chip, char prof) in set_professional_spdif() argument
182 chip->professional_spdif = prof; in set_professional_spdif()
Decho3g_dsp.c37 static int set_professional_spdif(struct echoaudio *chip, char prof);
/Linux-v6.1/drivers/net/ethernet/marvell/octeontx2/af/
Drvu_debugfs.c2150 struct nix_bandprof_s *prof) in print_band_prof_ctx() argument
2154 switch (prof->pc_mode) { in print_band_prof_ctx()
2169 str = (prof->icolor == 3) ? "Color blind" : in print_band_prof_ctx()
2170 (prof->icolor == 0) ? "Green" : in print_band_prof_ctx()
2171 (prof->icolor == 1) ? "Yellow" : "Red"; in print_band_prof_ctx()
2173 seq_printf(m, "W0: tnl_ena\t\t%d\n", prof->tnl_ena); in print_band_prof_ctx()
2174 seq_printf(m, "W0: peir_exponent\t%d\n", prof->peir_exponent); in print_band_prof_ctx()
2175 seq_printf(m, "W0: pebs_exponent\t%d\n", prof->pebs_exponent); in print_band_prof_ctx()
2176 seq_printf(m, "W0: cir_exponent\t%d\n", prof->cir_exponent); in print_band_prof_ctx()
2177 seq_printf(m, "W0: cbs_exponent\t%d\n", prof->cbs_exponent); in print_band_prof_ctx()
[all …]
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/ipoib/
Dipoib.c716 const struct mlx5e_profile *prof = mlx5_get_profile(mdev); in mlx5_rdma_setup_rn() local
739 err = mlx5e_priv_init(epriv, prof, netdev, mdev); in mlx5_rdma_setup_rn()
743 epriv->profile = prof; in mlx5_rdma_setup_rn()
746 prof->init(mdev, netdev); in mlx5_rdma_setup_rn()
767 prof->cleanup(epriv); in mlx5_rdma_setup_rn()
/Linux-v6.1/drivers/net/wireless/intel/iwlwifi/fw/
Dacpi.c504 struct iwl_sar_profile *prof; in iwl_sar_fill_table() local
515 prof = &fwrt->sar_profiles[profs[i] - 1]; in iwl_sar_fill_table()
518 if (!prof->enabled) { in iwl_sar_fill_table()
535 cpu_to_le16(prof->chains[i].subbands[j]); in iwl_sar_fill_table()
537 j, prof->chains[i].subbands[j]); in iwl_sar_fill_table()
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/
Dmain.c542 struct mlx5_profile *prof = &dev->profile; in handle_hca_cap() local
564 if (prof->log_max_qp == LOG_MAX_SUPPORTED_QPS) { in handle_hca_cap()
565 prof->log_max_qp = min_t(u8, 18, MLX5_CAP_GEN_MAX(dev, log_max_qp)); in handle_hca_cap()
566 } else if (MLX5_CAP_GEN_MAX(dev, log_max_qp) < prof->log_max_qp) { in handle_hca_cap()
568 prof->log_max_qp, in handle_hca_cap()
570 prof->log_max_qp = MLX5_CAP_GEN_MAX(dev, log_max_qp); in handle_hca_cap()
572 if (prof->mask & MLX5_PROF_MASK_QP_SIZE) in handle_hca_cap()
574 prof->log_max_qp); in handle_hca_cap()

12