Home
last modified time | relevance | path

Searched refs:vlan_prio (Results 1 – 20 of 20) sorted by relevance

/linux-6.6.21/drivers/net/ethernet/marvell/octeontx2/nic/
Dotx2_dcbnl.c325 void otx2_update_bpid_in_rqctx(struct otx2_nic *pfvf, int vlan_prio, int qidx, in otx2_update_bpid_in_rqctx() argument
345 pfvf->queue_to_pfc_map[qidx] = vlan_prio; in otx2_update_bpid_in_rqctx()
353 aq->cq.bpid = pfvf->bpid[vlan_prio]; in otx2_update_bpid_in_rqctx()
368 npa_aq->aura.nix0_bpid = pfvf->bpid[vlan_prio]; in otx2_update_bpid_in_rqctx()
Dotx2_flows.c970 int vlan_prio, qidx, pfc_rule = 0; in otx2_add_flow_msg() local
1018 vlan_prio = ntohs(req->packet.vlan_tci) & in otx2_add_flow_msg()
1022 vlan_prio >>= 13; in otx2_add_flow_msg()
1025 if (pfvf->pfc_en & BIT(vlan_prio)) { in otx2_add_flow_msg()
1045 otx2_update_bpid_in_rqctx(pfvf, vlan_prio, qidx, true); in otx2_add_flow_msg()
Dotx2_pf.c2074 u8 vlan_prio; in otx2_select_queue() local
2098 vlan_prio = skb->vlan_tci >> 13; in otx2_select_queue()
2099 if ((vlan_prio > pf->hw.tx_queues - 1) || in otx2_select_queue()
2100 !pf->pfc_alloc_status[vlan_prio]) in otx2_select_queue()
2103 return vlan_prio; in otx2_select_queue()
Dotx2_common.h1085 void otx2_update_bpid_in_rqctx(struct otx2_nic *pfvf, int vlan_prio, int qidx, bool pfc_enable);
/linux-6.6.21/net/8021q/
Dvlan.h129 u32 skb_prio, u16 vlan_prio);
131 u32 skb_prio, u16 vlan_prio);
Dvlan_dev.c158 u32 skb_prio, u16 vlan_prio) in vlan_dev_set_ingress_priority() argument
162 if (vlan->ingress_priority_map[vlan_prio & 0x7] && !skb_prio) in vlan_dev_set_ingress_priority()
164 else if (!vlan->ingress_priority_map[vlan_prio & 0x7] && skb_prio) in vlan_dev_set_ingress_priority()
167 vlan->ingress_priority_map[vlan_prio & 0x7] = skb_prio; in vlan_dev_set_ingress_priority()
171 u32 skb_prio, u16 vlan_prio) in vlan_dev_set_egress_priority() argument
176 u32 vlan_qos = (vlan_prio << VLAN_PRIO_SHIFT) & VLAN_PRIO_MASK; in vlan_dev_set_egress_priority()
/linux-6.6.21/Documentation/networking/device_drivers/ethernet/freescale/dpaa2/
Dswitch-driver.rst138 * VLAN: vlan_id/vlan_prio/vlan_tpid/vlan_dei
161 …$ tc filter add dev eth4 ingress protocol 802.1q flower skip_sw vlan_id 100 vlan_prio 3 action drop
187 …$ tc filter add block 1 ingress protocol 802.1q flower skip_sw vlan_prio 3 action mirred egress mi…
/linux-6.6.21/drivers/net/ethernet/chelsio/cxgb3/
Dl2t.c63 static inline unsigned int vlan_prio(const struct l2t_entry *e) in vlan_prio() function
104 V_L2T_W_PRIO(vlan_prio(e))); in setup_l2e_send_pending()
/linux-6.6.21/drivers/net/ethernet/intel/ice/
Dice_tc_lib.h68 __be16 vlan_prio; /* Only last 3 bits valid (valid values: 0..7) */ member
Dice_tc_lib.c424 headers->vlan_hdr.vlan_prio; in ice_tc_fill_rules()
454 headers->cvlan_hdr.vlan_prio; in ice_tc_fill_rules()
1525 headers->vlan_hdr.vlan_prio = in ice_parse_cls_flower()
1561 headers->cvlan_hdr.vlan_prio = in ice_parse_cls_flower()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/
Dvlan.c61 attr->vlan_prio[vlan_idx] = act->vlan.prio; in parse_tc_vlan_action()
/linux-6.6.21/tools/testing/selftests/drivers/net/ocelot/
Dtc_flower_chains.sh290 protocol 802.1Q flower skip_sw vlan_id 200 vlan_prio 0 \
/linux-6.6.21/drivers/net/ethernet/chelsio/cxgb4/
Dl2t.c65 static inline unsigned int vlan_prio(const struct l2t_entry *e) in vlan_prio() function
728 e->vlan & VLAN_VID_MASK, vlan_prio(e), e->lport, in l2t_seq_show()
/linux-6.6.21/tools/testing/selftests/net/forwarding/
Dtc_flower.sh233 flower vlan_prio 6 $tcflags dst_mac $h2mac action drop
235 flower vlan_prio 7 $tcflags dst_mac $h2mac action drop
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/
Deswitch.h525 u8 vlan_prio[MLX5_FS_VLAN_DEPTH]; member
Deswitch_offloads.c677 flow_act.vlan[0].prio = esw_attr->vlan_prio[0]; in mlx5_eswitch_add_offloaded_rule()
681 flow_act.vlan[1].prio = esw_attr->vlan_prio[1]; in mlx5_eswitch_add_offloaded_rule()
/linux-6.6.21/drivers/s390/net/
Dqeth_core.h232 __u8 vlan_prio; member
/linux-6.6.21/Documentation/networking/dsa/
Dsja1105.rst217 dst_mac 42:be:24:9b:76:20 vlan_id 100 vlan_prio 0 action drop
/linux-6.6.21/drivers/net/ethernet/emulex/benet/
Dbe_main.c789 u8 vlan_prio; in be_get_tx_vlan_tag() local
793 vlan_prio = skb_vlan_tag_get_prio(skb); in be_get_tx_vlan_tag()
795 if (!(adapter->vlan_prio_bmap & (1 << vlan_prio))) in be_get_tx_vlan_tag()
/linux-6.6.21/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_main.c2810 u32 vlan_prio; in bnx2x_handle_afex_cmd() local
2890 vlan_prio = (mf_config & in bnx2x_handle_afex_cmd()
2893 vlan_val |= (vlan_prio << VLAN_PRIO_SHIFT); in bnx2x_handle_afex_cmd()