| /linux/drivers/net/ethernet/intel/ice/ |
| H A D | ice_flow.c | 698 struct ice_flow_prof *prof; member 773 sz = (params->prof->segs[seg].hdrs & ICE_FLOW_SEG_HDR_VLAN) ? in ice_flow_calc_seg_sz() 777 if (params->prof->segs[seg].hdrs & ICE_FLOW_SEG_HDR_IPV4) in ice_flow_calc_seg_sz() 779 else if (params->prof->segs[seg].hdrs & ICE_FLOW_SEG_HDR_IPV6) in ice_flow_calc_seg_sz() 781 else if (params->prof->segs[seg].hdrs & ICE_FLOW_SEG_HDR_ARP) in ice_flow_calc_seg_sz() 783 else if (params->prof->segs[seg].hdrs & ICE_FLOW_SEG_HDRS_L4_MASK) in ice_flow_calc_seg_sz() 788 if (params->prof->segs[seg].hdrs & ICE_FLOW_SEG_HDR_ICMP) in ice_flow_calc_seg_sz() 790 else if (params->prof->segs[seg].hdrs & ICE_FLOW_SEG_HDR_TCP) in ice_flow_calc_seg_sz() 792 else if (params->prof->segs[seg].hdrs & ICE_FLOW_SEG_HDR_UDP) in ice_flow_calc_seg_sz() 794 else if (params->prof->segs[seg].hdrs & ICE_FLOW_SEG_HDR_SCTP) in ice_flow_calc_seg_sz() [all …]
|
| H A D | ice_flex_pipe.c | 626 ice_find_prot_off(struct ice_hw *hw, enum ice_block blk, u8 prof, u16 fv_idx, in ice_find_prot_off() argument 631 if (prof >= hw->blk[blk].es.count) in ice_find_prot_off() 637 fv_ext = hw->blk[blk].es.t + (prof * hw->blk[blk].es.fvw); in ice_find_prot_off() 1156 ice_prof_has_mask_idx(struct ice_hw *hw, enum ice_block blk, u8 prof, u16 idx, in ice_prof_has_mask_idx() argument 1171 if (hw->blk[blk].es.mask_ena[prof] & BIT(i)) in ice_prof_has_mask_idx() 1199 ice_prof_has_mask(struct ice_hw *hw, enum ice_block blk, u8 prof, u16 *masks) in ice_prof_has_mask() argument 1205 if (!ice_prof_has_mask_idx(hw, blk, prof, i, masks[i])) in ice_prof_has_mask() 1944 sizeof(*hw->blk[block_id].prof.t); in ice_fill_tbl() 1945 dst = (u8 *)hw->blk[block_id].prof.t; in ice_fill_tbl() 1946 dst_len = hw->blk[block_id].prof.count * in ice_fill_tbl() [all …]
|
| H A D | ice_parser.c | 2365 struct ice_parser_profile *prof) in ice_parser_profile_init() argument 2371 memset(prof, 0, sizeof(*prof)); in ice_parser_profile_init() 2372 set_bit(rslt->ptype, prof->ptypes); in ice_parser_profile_init() 2374 prof->flags = rslt->flags_sw; in ice_parser_profile_init() 2375 prof->flags_msk = ICE_KEYBUILD_FLAG_MASK_DEFAULT_SW; in ice_parser_profile_init() 2377 prof->flags = rslt->flags_acl; in ice_parser_profile_init() 2378 prof->flags_msk = ICE_KEYBUILD_FLAG_MASK_DEFAULT_ACL; in ice_parser_profile_init() 2380 prof->flags = rslt->flags_fd; in ice_parser_profile_init() 2381 prof->flags_msk = ICE_KEYBUILD_FLAG_MASK_DEFAULT_FD; in ice_parser_profile_init() 2383 prof->flags = rslt->flags_rss; in ice_parser_profile_init() [all …]
|
| H A D | ice_flex_pipe.h | 15 ice_find_prot_off(struct ice_hw *hw, enum ice_block blk, u8 prof, u16 fv_idx,
|
| H A D | ice_parser.h | 535 struct ice_parser_profile *prof); 537 struct ice_parser_profile *prof);
|
| /linux/drivers/net/ethernet/mellanox/mlx4/ |
| H A D | en_main.c | 166 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 …]
|
| H A D | en_dcb_nl.c | 159 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 …]
|
| H A D | en_netdev.c | 107 memcpy(&new_prof, priv->prof, sizeof(struct mlx4_en_port_profile)); in mlx4_en_alloc_tx_queue_per_tc() 1777 priv->prof->tx_pause, in mlx4_en_start_port() 1778 priv->prof->tx_ppp, in mlx4_en_start_port() 1779 priv->prof->rx_pause, in mlx4_en_start_port() 1780 priv->prof->rx_ppp); in mlx4_en_start_port() 2149 priv->prof->rx_ring_size, priv->stride); in mlx4_en_free_resources() 2158 struct mlx4_en_port_profile *prof = priv->prof; in mlx4_en_alloc_resources() local 2167 prof->tx_ring_size, i, t, node)) in mlx4_en_alloc_resources() 2171 prof->tx_ring_size, in mlx4_en_alloc_resources() 2181 prof->rx_ring_size, i, RX, node)) in mlx4_en_alloc_resources() [all …]
|
| H A D | en_ethtool.c | 776 if (priv->prof->tx_pause) in ethtool_get_ptys_link_ksettings() 779 if (priv->prof->tx_pause ^ priv->prof->rx_pause) in ethtool_get_ptys_link_ksettings() 1075 rx_ppp = (tx_pause || rx_pause) ? 0 : priv->prof->rx_ppp; in mlx4_en_set_pauseparam() 1076 tx_ppp = (tx_pause || rx_pause) ? 0 : priv->prof->tx_ppp; in mlx4_en_set_pauseparam() 1089 priv->prof->tx_pause = tx_pause; in mlx4_en_set_pauseparam() 1090 priv->prof->rx_pause = rx_pause; in mlx4_en_set_pauseparam() 1091 priv->prof->tx_ppp = tx_ppp; in mlx4_en_set_pauseparam() 1092 priv->prof->rx_ppp = rx_ppp; in mlx4_en_set_pauseparam() 1120 pause->tx_pause = priv->prof->tx_pause; in mlx4_en_get_pauseparam() 1121 pause->rx_pause = priv->prof->rx_pause; in mlx4_en_get_pauseparam() [all …]
|
| H A D | en_resources.c | 67 if (user_prio >= 0 && priv->prof->num_up == MLX4_EN_NUM_UP_HIGH) { in mlx4_en_fill_qp_context()
|
| H A D | en_rx.c | 164 for (buf_ind = 0; buf_ind < priv->prof->rx_ring_size; buf_ind++) { in mlx4_en_fill_rx_buffers() 232 mdev->profile.prof[i].rx_ring_num = in mlx4_en_set_num_rx_rings() 1228 if (!priv->prof->rss_rings || priv->prof->rss_rings > priv->rx_ring_num) in mlx4_en_config_rss_steer() 1231 rss_rings = priv->prof->rss_rings; in mlx4_en_config_rss_steer()
|
| /linux/sound/pci/echoaudio/ |
| H A D | mia_dsp.c | 18 static int set_professional_spdif(struct echoaudio *chip, char prof); 200 static int set_professional_spdif(struct echoaudio *chip, char prof) in set_professional_spdif() argument 202 dev_dbg(chip->card->dev, "set_professional_spdif %d\n", prof); in set_professional_spdif() 203 if (prof) in set_professional_spdif() 209 chip->professional_spdif = prof; in set_professional_spdif()
|
| H A D | echoaudio_gml.c | 141 static int set_professional_spdif(struct echoaudio *chip, char prof) in set_professional_spdif() argument 153 if (prof) { in set_professional_spdif() 185 chip->professional_spdif = prof; in set_professional_spdif() 187 prof ? "Professional" : "Consumer"); in set_professional_spdif()
|
| H A D | gina20_dsp.c | 17 static int set_professional_spdif(struct echoaudio *chip, char prof); 192 static int set_professional_spdif(struct echoaudio *chip, char prof) in set_professional_spdif() argument 194 if (prof) in set_professional_spdif() 200 chip->professional_spdif = prof; in set_professional_spdif()
|
| H A D | layla20_dsp.c | 18 static int set_professional_spdif(struct echoaudio *chip, char prof); 266 static int set_professional_spdif(struct echoaudio *chip, char prof) in set_professional_spdif() argument 268 if (prof) in set_professional_spdif() 274 chip->professional_spdif = prof; in set_professional_spdif()
|
| H A D | echoaudio_3g.c | 161 static int set_professional_spdif(struct echoaudio *chip, char prof) in set_professional_spdif() argument 166 chip->professional_spdif = prof; in set_professional_spdif()
|
| H A D | echo3g_dsp.c | 22 static int set_professional_spdif(struct echoaudio *chip, char prof);
|
| /linux/net/mac80211/ |
| H A D | parse.c | 871 struct ieee80211_mle_per_sta_profile *prof = (void *)sub->data; in ieee80211_mle_get_sta_prof() local 882 control = le16_to_cpu(prof->control); in ieee80211_mle_get_sta_prof() 904 elems->prof = (void *)elems_parse->scratch_pos; in ieee80211_mle_get_sta_prof() 918 struct ieee80211_mle_per_sta_profile *prof; in ieee80211_prep_mle_link_parse() local 962 prof = elems->prof; in ieee80211_prep_mle_link_parse() 964 if (!prof) in ieee80211_prep_mle_link_parse() 968 if (elems->sta_prof_len < sizeof(*prof) + prof->sta_info_len - 1 + 4) { in ieee80211_prep_mle_link_parse() 969 elems->prof = NULL; in ieee80211_prep_mle_link_parse() 980 sub->start = prof->variable + prof->sta_info_len - 1 + 4; in ieee80211_prep_mle_link_parse() 981 end = (const u8 *)prof + elems->sta_prof_len; in ieee80211_prep_mle_link_parse()
|
| /linux/drivers/net/ethernet/intel/ice/virt/ |
| H A D | rss.c | 1378 struct ice_parser_profile prof; in ice_parse_raw_rss_pattern() local 1411 pkt_len, ICE_BLK_RSS, &prof); in ice_parse_raw_rss_pattern() 1415 memcpy(&raw_cfg->prof, &prof, sizeof(prof)); in ice_parse_raw_rss_pattern() 1440 struct ice_parser_profile *prof = &cfg->prof; in ice_add_raw_rss_cfg() local 1449 id = find_first_bit(prof->ptypes, ICE_FLOW_PTYPE_MAX); in ice_add_raw_rss_cfg() 1455 if (rss_prof->prof.fv_num) { in ice_add_raw_rss_cfg() 1457 if (rss_prof->prof.fv[i].proto_id != in ice_add_raw_rss_cfg() 1458 prof->fv[i].proto_id || in ice_add_raw_rss_cfg() 1459 rss_prof->prof.fv[i].offset != in ice_add_raw_rss_cfg() 1460 prof->fv[i].offset) in ice_add_raw_rss_cfg() [all …]
|
| H A D | fdir.c | 46 struct ice_parser_profile *prof; member 641 struct ice_flow_prof *prof = NULL; in ice_vc_fdir_write_flow_prof() local 682 tun + 1, false, &prof); in ice_vc_fdir_write_flow_prof() 689 ret = ice_flow_add_entry(hw, ICE_BLK_FD, prof->id, vf_vsi->idx, in ice_vc_fdir_write_flow_prof() 698 ret = ice_flow_add_entry(hw, ICE_BLK_FD, prof->id, vf_vsi->idx, in ice_vc_fdir_write_flow_prof() 722 vf_prof->prof_id[tun] = prof->id; in ice_vc_fdir_write_flow_prof() 728 ice_get_hw_vsi_num(hw, vf_vsi->idx), prof->id); in ice_vc_fdir_write_flow_prof() 731 ice_flow_rem_prof(hw, ICE_BLK_FD, prof->id); in ice_vc_fdir_write_flow_prof() 878 conf->prof = kzalloc_obj(*conf->prof); in ice_vc_fdir_parse_raw() 879 if (!conf->prof) { in ice_vc_fdir_parse_raw() [all …]
|
| /linux/tools/perf/ |
| H A D | builtin-ftrace.c | 1225 struct ftrace_profile_data *prof = NULL; in add_func_duration() local 1227 if (!hashmap__find(ftrace->profile_hash, func, &prof)) { in add_func_duration() 1233 prof = zalloc(sizeof(*prof)); in add_func_duration() 1234 if (prof == NULL) { in add_func_duration() 1239 init_stats(&prof->st); in add_func_duration() 1240 hashmap__add(ftrace->profile_hash, key, prof); in add_func_duration() 1243 update_stats(&prof->st, time_ns); in add_func_duration()
|
| /linux/net/mac80211/tests/ |
| H A D | elems.c | 83 KUNIT_EXPECT_NOT_NULL(test, parsed->prof); in mle_defrag()
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/ |
| H A D | main.c | 592 struct mlx5_profile *prof = &dev->profile; in handle_hca_cap() local 614 if (prof->log_max_qp == LOG_MAX_SUPPORTED_QPS) { in handle_hca_cap() 615 prof->log_max_qp = min_t(u8, 18, MLX5_CAP_GEN_MAX(dev, log_max_qp)); in handle_hca_cap() 616 } else if (MLX5_CAP_GEN_MAX(dev, log_max_qp) < prof->log_max_qp) { in handle_hca_cap() 618 prof->log_max_qp, in handle_hca_cap() 620 prof->log_max_qp = MLX5_CAP_GEN_MAX(dev, log_max_qp); in handle_hca_cap() 622 if (prof->mask & MLX5_PROF_MASK_QP_SIZE) in handle_hca_cap() 624 prof->log_max_qp); in handle_hca_cap()
|
| /linux/drivers/s390/net/ |
| H A D | ctcm_main.c | 504 ch->prof.txlen += skb->len; in ctcm_transmit_skb() 570 ch->prof.send_stamp = jiffies; in ctcm_transmit_skb() 574 ch->prof.doios_single++; in ctcm_transmit_skb() 736 ch->prof.txlen += skb->len - PDU_HEADER_LENGTH; in ctcmpc_transmit_skb() 793 ch->prof.send_stamp = jiffies; in ctcmpc_transmit_skb() 797 ch->prof.doios_single++; in ctcmpc_transmit_skb()
|
| H A D | ctcm_main.h | 197 struct ctcm_profile prof; member
|