Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/net/ethernet/marvell/octeontx2/nic/
Dotx2_dcbnl.c49 void otx2_update_bpid_in_rqctx(struct otx2_nic *pfvf, int vlan_prio, int qidx, in otx2_update_bpid_in_rqctx() argument
69 pfvf->queue_to_pfc_map[qidx] = vlan_prio; in otx2_update_bpid_in_rqctx()
77 aq->cq.bpid = pfvf->bpid[vlan_prio]; in otx2_update_bpid_in_rqctx()
92 npa_aq->aura.nix0_bpid = pfvf->bpid[vlan_prio]; in otx2_update_bpid_in_rqctx()
Dotx2_flows.c905 int vlan_prio, qidx, pfc_rule = 0; in otx2_add_flow_msg() local
953 vlan_prio = ntohs(req->packet.vlan_tci) & in otx2_add_flow_msg()
957 vlan_prio >>= 13; in otx2_add_flow_msg()
960 if (pfvf->pfc_en & BIT(vlan_prio)) { in otx2_add_flow_msg()
980 otx2_update_bpid_in_rqctx(pfvf, vlan_prio, qidx, true); in otx2_add_flow_msg()
Dotx2_common.h907 void otx2_update_bpid_in_rqctx(struct otx2_nic *pfvf, int vlan_prio, int qidx, bool pfc_enable);
/linux-5.19.10/net/8021q/
Dvlan.h129 u32 skb_prio, u16 vlan_prio);
131 u32 skb_prio, u16 vlan_prio);
Dvlan_dev.c157 u32 skb_prio, u16 vlan_prio) in vlan_dev_set_ingress_priority() argument
161 if (vlan->ingress_priority_map[vlan_prio & 0x7] && !skb_prio) in vlan_dev_set_ingress_priority()
163 else if (!vlan->ingress_priority_map[vlan_prio & 0x7] && skb_prio) in vlan_dev_set_ingress_priority()
166 vlan->ingress_priority_map[vlan_prio & 0x7] = skb_prio; in vlan_dev_set_ingress_priority()
170 u32 skb_prio, u16 vlan_prio) in vlan_dev_set_egress_priority() argument
175 u32 vlan_qos = (vlan_prio << VLAN_PRIO_SHIFT) & VLAN_PRIO_MASK; in vlan_dev_set_egress_priority()
/linux-5.19.10/drivers/net/ethernet/intel/ice/
Dice_tc_lib.h42 u16 vlan_prio; /* Only last 3 bits valid (valid values: 0..7) */ member
Dice_tc_lib.c1062 headers->vlan_hdr.vlan_prio = match.key->vlan_priority; in ice_parse_cls_flower()
/linux-5.19.10/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-5.19.10/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-5.19.10/drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/
Dvlan.c63 attr->vlan_prio[vlan_idx] = act->vlan.prio; in parse_tc_vlan_action()
/linux-5.19.10/tools/testing/selftests/drivers/net/ocelot/
Dtc_flower_chains.sh290 protocol 802.1Q flower skip_sw vlan_id 200 vlan_prio 0 \
/linux-5.19.10/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-5.19.10/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-5.19.10/drivers/net/ethernet/mellanox/mlx5/core/
Deswitch.h465 u8 vlan_prio[MLX5_FS_VLAN_DEPTH]; member
Deswitch_offloads.c557 flow_act.vlan[0].prio = esw_attr->vlan_prio[0]; in mlx5_eswitch_add_offloaded_rule()
561 flow_act.vlan[1].prio = esw_attr->vlan_prio[1]; in mlx5_eswitch_add_offloaded_rule()
/linux-5.19.10/drivers/s390/net/
Dqeth_core.h232 __u8 vlan_prio; member
/linux-5.19.10/Documentation/networking/dsa/
Dsja1105.rst217 dst_mac 42:be:24:9b:76:20 vlan_id 100 vlan_prio 0 action drop
/linux-5.19.10/drivers/net/ethernet/emulex/benet/
Dbe_main.c790 u8 vlan_prio; in be_get_tx_vlan_tag() local
794 vlan_prio = skb_vlan_tag_get_prio(skb); in be_get_tx_vlan_tag()
796 if (!(adapter->vlan_prio_bmap & (1 << vlan_prio))) in be_get_tx_vlan_tag()
/linux-5.19.10/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_main.c2811 u32 vlan_prio; in bnx2x_handle_afex_cmd() local
2891 vlan_prio = (mf_config & in bnx2x_handle_afex_cmd()
2894 vlan_val |= (vlan_prio << VLAN_PRIO_SHIFT); in bnx2x_handle_afex_cmd()