Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/microchip/lan966x/
H A Dlan966x_vlan.c28 u16 mask = lan966x->vlan_mask[vid]; in lan966x_vlan_set_mask()
59 lan966x->vlan_mask[vid] |= BIT(p); in lan966x_vlan_port_add_vlan_mask()
68 lan966x->vlan_mask[vid] &= ~BIT(p); in lan966x_vlan_port_del_vlan_mask()
74 return !!(lan966x->vlan_mask[vid] & ~BIT(CPU_PORT)); in lan966x_vlan_port_any_vlan_mask()
79 lan966x->vlan_mask[vid] |= BIT(CPU_PORT); in lan966x_vlan_cpu_add_vlan_mask()
85 lan966x->vlan_mask[vid] &= ~BIT(CPU_PORT); in lan966x_vlan_cpu_del_vlan_mask()
294 lan966x->vlan_mask[vid] = 0; in lan966x_vlan_init()
299 lan966x->vlan_mask[HOST_PVID] = in lan966x_vlan_init()
303 lan966x->vlan_mask[UNAWARE_PVID] = in lan966x_vlan_init()
H A Dlan966x_main.h286 u16 vlan_mask[VLAN_N_VID]; member
/linux/drivers/net/ethernet/microchip/sparx5/
H A Dsparx5_vlan.c15 bitmap_to_arr32(mask, sparx5->vlan_mask[vid], SPX5_PORTS); in sparx5_vlant_set_mask()
73 set_bit(port->portno, sparx5->vlan_mask[vid]); in sparx5_vlan_vid_add()
100 clear_bit(port->portno, sparx5->vlan_mask[vid]); in sparx5_vlan_vid_del()
H A Dsparx5_main.h261 DECLARE_BITMAP(vlan_mask[VLAN_N_VID], SPX5_PORTS);
/linux/drivers/net/ethernet/freescale/
H A Dgianfar_ethtool.c1075 u32 vlan = 0, vlan_mask = 0; in gfar_convert_to_filer() local
1088 vlan_mask = RQFPR_VLN; in gfar_convert_to_filer()
1101 vlan_mask |= RQFPR_CFI; in gfar_convert_to_filer()
1108 RQFPR_IPV4 | RQFPR_TCP | vlan_mask, tab); in gfar_convert_to_filer()
1114 RQFPR_IPV4 | RQFPR_UDP | vlan_mask, tab); in gfar_convert_to_filer()
1119 gfar_set_parse_bits(RQFPR_IPV4 | vlan, RQFPR_IPV4 | vlan_mask, in gfar_convert_to_filer()
1127 gfar_set_parse_bits(RQFPR_IPV4 | vlan, RQFPR_IPV4 | vlan_mask, in gfar_convert_to_filer()
1135 gfar_set_parse_bits(vlan, vlan_mask, tab); in gfar_convert_to_filer()
/linux/drivers/net/ethernet/chelsio/cxgb3/
H A Dcxgb3_ioctl.h163 uint32_t vlan_mask:12; member
H A Dcommon.h419 u32 vlan_mask:12; member
H A Dt3_hw.c2945 mask[3] = tp->proto_mask | (tp->vlan_mask << 8) | (tp->intf_mask << 20); in t3_config_trace_filter()
/linux/net/sched/
H A Dcls_flower.c3074 struct flow_dissector_key_vlan *vlan_mask) in fl_dump_key_vlan() argument
3078 if (!memchr_inv(vlan_mask, 0, sizeof(*vlan_mask))) in fl_dump_key_vlan()
3080 if (vlan_mask->vlan_id) { in fl_dump_key_vlan()
3086 if (vlan_mask->vlan_priority) { in fl_dump_key_vlan()