Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/net/8021q/
H A 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()
H A Dvlan.h124 u32 skb_prio, u16 vlan_prio);
126 u32 skb_prio, u16 vlan_prio);
/OK3568_Linux_fs/kernel/drivers/net/ethernet/chelsio/cxgb3/
H A 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()
/OK3568_Linux_fs/kernel/tools/testing/selftests/net/forwarding/
H A Dtc_flower.sh230 flower vlan_prio 6 $tcflags dst_mac $h2mac action drop
232 flower vlan_prio 7 $tcflags dst_mac $h2mac action drop
/OK3568_Linux_fs/kernel/drivers/net/ethernet/chelsio/cxgb4/
H A 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()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlx5/core/
H A Deswitch.h406 u8 vlan_prio[MLX5_FS_VLAN_DEPTH]; member
H A Deswitch_offloads.c324 flow_act.vlan[0].prio = esw_attr->vlan_prio[0]; in mlx5_eswitch_add_offloaded_rule()
328 flow_act.vlan[1].prio = esw_attr->vlan_prio[1]; in mlx5_eswitch_add_offloaded_rule()
H A Den_tc.c4008 attr->vlan_prio[vlan_idx] = act->vlan.prio; in parse_tc_vlan_action()
/OK3568_Linux_fs/external/rkwifibt/drivers/infineon/
H A Dbcmutils.c275 uint vlan_prio, dscp_prio = 0; in pktsetprio() local
280 vlan_prio = (vlan_tag >> VLAN_PRI_SHIFT) & VLAN_PRI_MASK; in pktsetprio()
294 priority = vlan_prio; in pktsetprio()
304 if (update_vtag && (priority != vlan_prio)) { in pktsetprio()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/infineon/bcmdhd/
H A Dbcmutils.c275 uint vlan_prio, dscp_prio = 0; in pktsetprio() local
280 vlan_prio = (vlan_tag >> VLAN_PRI_SHIFT) & VLAN_PRI_MASK; in pktsetprio()
294 priority = vlan_prio; in pktsetprio()
304 if (update_vtag && (priority != vlan_prio)) { in pktsetprio()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_indep_power/
H A Dbcmutils.c812 int vlan_prio, dscp_prio = 0; in pktsetprio() local
817 vlan_prio = (int) (vlan_tag >> VLAN_PRI_SHIFT) & VLAN_PRI_MASK; in pktsetprio()
831 priority = vlan_prio; in pktsetprio()
841 if (update_vtag && (priority != vlan_prio)) { in pktsetprio()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/cywdhd/bcmdhd/
H A Dbcmutils.c275 uint vlan_prio, dscp_prio = 0; in pktsetprio() local
280 vlan_prio = (vlan_tag >> VLAN_PRI_SHIFT) & VLAN_PRI_MASK; in pktsetprio()
294 priority = vlan_prio; in pktsetprio()
304 if (update_vtag && (priority != vlan_prio)) { in pktsetprio()
/OK3568_Linux_fs/kernel/drivers/s390/net/
H A Dqeth_core.h232 __u8 vlan_prio; member
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/
H A Dbcmutils.c1077 int vlan_prio, dscp_prio = 0; in BCMFASTPATH() local
1082 vlan_prio = (int) (vlan_tag >> VLAN_PRI_SHIFT) & VLAN_PRI_MASK; in BCMFASTPATH()
1096 priority = vlan_prio; in BCMFASTPATH()
1106 if (update_vtag && (priority != vlan_prio)) { in BCMFASTPATH()
/OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/
H A Dbcmutils.c1077 int vlan_prio, dscp_prio = 0; in BCMFASTPATH() local
1082 vlan_prio = (int) (vlan_tag >> VLAN_PRI_SHIFT) & VLAN_PRI_MASK; in BCMFASTPATH()
1096 priority = vlan_prio; in BCMFASTPATH()
1106 if (update_vtag && (priority != vlan_prio)) { in BCMFASTPATH()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/emulex/benet/
H A 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()
/OK3568_Linux_fs/kernel/Documentation/networking/dsa/
H A Dsja1105.rst431 dst_mac 42:be:24:9b:76:20 vlan_id 100 vlan_prio 0 action drop
/OK3568_Linux_fs/kernel/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_main.c2812 u32 vlan_prio; in bnx2x_handle_afex_cmd() local
2892 vlan_prio = (mf_config & in bnx2x_handle_afex_cmd()
2895 vlan_val |= (vlan_prio << VLAN_PRIO_SHIFT); in bnx2x_handle_afex_cmd()