Searched refs:vlan_mask (Results 1 – 7 of 7) sorted by relevance
/Linux-v5.4/drivers/net/ethernet/freescale/ |
D | gianfar_ethtool.c | 1098 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/ |
D | cxgb3_ioctl.h | 163 uint32_t vlan_mask:12; member
|
D | common.h | 419 u32 vlan_mask:12; member
|
D | t3_hw.c | 3009 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/ |
D | ocelot.c | 254 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()
|
D | ocelot.h | 463 u32 vlan_mask[VLAN_N_VID]; member
|
/Linux-v5.4/net/sched/ |
D | cls_flower.c | 2044 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()
|