Home
last modified time | relevance | path

Searched refs:vlan_mask (Results 1 – 7 of 7) sorted by relevance

/Linux-v5.4/drivers/net/ethernet/freescale/
Dgianfar_ethtool.c1098 u32 vlan = 0, vlan_mask = 0; in gfar_convert_to_filer() local
1111 vlan_mask = RQFPR_VLN; in gfar_convert_to_filer()
1124 vlan_mask |= RQFPR_CFI; in gfar_convert_to_filer()
1131 RQFPR_IPV4 | RQFPR_TCP | vlan_mask, tab); in gfar_convert_to_filer()
1137 RQFPR_IPV4 | RQFPR_UDP | vlan_mask, tab); in gfar_convert_to_filer()
1142 gfar_set_parse_bits(RQFPR_IPV4 | vlan, RQFPR_IPV4 | vlan_mask, in gfar_convert_to_filer()
1150 gfar_set_parse_bits(RQFPR_IPV4 | vlan, RQFPR_IPV4 | vlan_mask, in gfar_convert_to_filer()
1158 gfar_set_parse_bits(vlan, vlan_mask, tab); in gfar_convert_to_filer()
/Linux-v5.4/drivers/net/ethernet/chelsio/cxgb3/
Dcxgb3_ioctl.h163 uint32_t vlan_mask:12; member
Dcommon.h419 u32 vlan_mask:12; member
Dt3_hw.c3009 mask[3] = tp->proto_mask | (tp->vlan_mask << 8) | (tp->intf_mask << 20); in t3_config_trace_filter()
/Linux-v5.4/drivers/net/ethernet/mscc/
Docelot.c254 ocelot->vlan_mask[vid] |= BIT(port->chip_port); in ocelot_vlan_vid_add()
255 ret = ocelot_vlant_set_mask(ocelot, vid, ocelot->vlan_mask[vid]); in ocelot_vlan_vid_add()
296 ocelot->vlan_mask[vid] &= ~BIT(port->chip_port); in ocelot_vlan_vid_del()
297 ret = ocelot_vlant_set_mask(ocelot, vid, ocelot->vlan_mask[vid]); in ocelot_vlan_vid_del()
325 ocelot->vlan_mask[vid] = 0; in ocelot_vlan_init()
326 ocelot_vlant_set_mask(ocelot, vid, ocelot->vlan_mask[vid]); in ocelot_vlan_init()
333 ocelot->vlan_mask[0] = GENMASK(ocelot->num_phys_ports - 1, 0); in ocelot_vlan_init()
334 ocelot_vlant_set_mask(ocelot, 0, ocelot->vlan_mask[0]); in ocelot_vlan_init()
Docelot.h463 u32 vlan_mask[VLAN_N_VID]; member
/Linux-v5.4/net/sched/
Dcls_flower.c2044 struct flow_dissector_key_vlan *vlan_mask) in fl_dump_key_vlan() argument
2048 if (!memchr_inv(vlan_mask, 0, sizeof(*vlan_mask))) in fl_dump_key_vlan()
2050 if (vlan_mask->vlan_id) { in fl_dump_key_vlan()
2056 if (vlan_mask->vlan_priority) { in fl_dump_key_vlan()