Home
last modified time | relevance | path

Searched refs:pcp (Results 1 – 15 of 15) sorted by relevance

/drivers/net/dsa/sja1105/
Dsja1105_flower.c123 rule->key.tc.pcp = tc; in sja1105_setup_tc_policer()
187 key->tc.pcp, rate_bytes_per_sec, in sja1105_flower_policer()
205 u16 pcp = U16_MAX; in sja1105_flower_parse_key() local
274 pcp = match.key->vlan_priority; in sja1105_flower_parse_key()
277 if (is_bcast_dmac && vid == U16_MAX && pcp == U16_MAX) { in sja1105_flower_parse_key()
281 if (dmac == U64_MAX && vid == U16_MAX && pcp != U16_MAX) { in sja1105_flower_parse_key()
283 key->tc.pcp = pcp; in sja1105_flower_parse_key()
286 if (dmac != U64_MAX && vid != U16_MAX && pcp != U16_MAX) { in sja1105_flower_parse_key()
290 key->vl.pcp = pcp; in sja1105_flower_parse_key()
444 int index = (port * SJA1105_NUM_TC) + rule->key.tc.pcp; in sja1105_cls_flower_del()
Dsja1105.h159 int pcp; member
167 u16 pcp; member
Dsja1105_vl.c395 vl_lookup[k].vlanprior = rule->key.vl.pcp; in sja1105_init_virtual_links()
673 ipv = key->vl.pcp; in sja1105_vl_gate()
731 vl_lookup[i].vlanprior == key->vl.pcp) in sja1105_find_vlid()
/drivers/infiniband/ulp/opa_vnic/
Dopa_vnic_encap.c371 u8 pcp = OPA_VNIC_VLAN_PCP(vlan_tci); in opa_vnic_get_sc() local
374 sc = info->vport.pcp_to_sc_mc[pcp]; in opa_vnic_get_sc()
376 sc = info->vport.pcp_to_sc_uc[pcp]; in opa_vnic_get_sc()
394 u8 pcp = skb_vlan_tag_get(skb) >> VLAN_PRIO_SHIFT; in opa_vnic_get_vl() local
397 vl = info->vport.pcp_to_vl_mc[pcp]; in opa_vnic_get_vl()
399 vl = info->vport.pcp_to_vl_uc[pcp]; in opa_vnic_get_vl()
/drivers/net/ethernet/mscc/
Docelot_vcap.c384 tag->pcp.value[0], tag->pcp.mask[0]); in is2_entry_set()
659 vcap_action_set(vcap, data, VCAP_IS1_ACT_PCP_VAL, a->pcp); in is1_action_set()
702 tag->pcp.value[0], tag->pcp.mask[0]); in is1_entry_set()
842 tag->pcp.value[0], tag->pcp.mask[0]); in es0_entry_set()
Docelot_flower.c309 filter->action.pcp = a->vlan.prio; in ocelot_flower_parse_action()
483 filter->vlan.pcp.value[0] = match.key->vlan_priority; in ocelot_flower_parse_key()
484 filter->vlan.pcp.mask[0] = match.mask->vlan_priority; in ocelot_flower_parse_key()
/drivers/net/ethernet/mellanox/mlxsw/
Dcore_acl_flex_actions.h73 u16 vid, u8 pcp, u8 et,
Dcore_acl_flex_actions.c1121 MLXSW_ITEM32(afa, vlan, pcp, 0x08, 8, 3);
1127 enum mlxsw_afa_vlan_cmd pcp_cmd, u8 pcp, in mlxsw_afa_vlan_pack() argument
1134 mlxsw_afa_vlan_pcp_set(payload, pcp); in mlxsw_afa_vlan_pack()
1140 u16 vid, u8 pcp, u8 et, in mlxsw_afa_block_append_vlan_modify() argument
1153 MLXSW_AFA_VLAN_CMD_SET_OUTER, pcp, in mlxsw_afa_block_append_vlan_modify()
Dreg.h3959 MLXSW_ITEM32(reg, qrwe, pcp, 0x04, 0, 1);
/drivers/net/ethernet/microsoft/mana/
Dmana.h117 u32 pcp : 3; /* 802.1Q */ member
/drivers/net/ethernet/freescale/dpaa2/
Ddpsw.c426 dpsw_set_field(tmp_conf, PCP, cfg->pcp); in dpsw_if_set_tci()
465 cfg->pcp = rsp_params->pcp; in dpsw_if_get_tci()
Ddpsw-cmd.h247 u8 pcp; member
Ddpsw.h301 u8 pcp; member
Ddpaa2-eth.c3199 int i, pcp, err; in dpaa2_eth_set_vlan_qos() local
3270 for (i = dpaa2_eth_tc_count(priv) - 1, pcp = 7; i >= 0; i--, pcp--) { in dpaa2_eth_set_vlan_qos()
3271 *(__be16 *)key = cpu_to_be16(pcp << VLAN_PRIO_SHIFT); in dpaa2_eth_set_vlan_qos()
/drivers/infiniband/hw/mlx4/
Dqp.c3138 u16 pcp = (be32_to_cpu(ah->av.ib.sl_tclass_flowlabel) >> 29) << 13; in build_mlx_header() local
3143 mlx->sched_prio = cpu_to_be16(pcp); in build_mlx_header()
3156 sqp->ud_header.vlan.tag = cpu_to_be16(vlan | pcp); in build_mlx_header()