Searched refs:vlan_mask (Results 1 – 9 of 9) sorted by relevance
/linux-6.1.9/drivers/net/ethernet/microchip/lan966x/ |
D | lan966x_vlan.c | 28 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()
|
D | lan966x_main.h | 227 u16 vlan_mask[VLAN_N_VID]; member
|
/linux-6.1.9/drivers/net/ethernet/microchip/sparx5/ |
D | sparx5_vlan.c | 15 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()
|
D | sparx5_main.h | 264 DECLARE_BITMAP(vlan_mask[VLAN_N_VID], SPX5_PORTS);
|
/linux-6.1.9/drivers/net/ethernet/freescale/ |
D | gianfar_ethtool.c | 1073 u32 vlan = 0, vlan_mask = 0; in gfar_convert_to_filer() local 1086 vlan_mask = RQFPR_VLN; in gfar_convert_to_filer() 1099 vlan_mask |= RQFPR_CFI; in gfar_convert_to_filer() 1106 RQFPR_IPV4 | RQFPR_TCP | vlan_mask, tab); in gfar_convert_to_filer() 1112 RQFPR_IPV4 | RQFPR_UDP | vlan_mask, tab); in gfar_convert_to_filer() 1117 gfar_set_parse_bits(RQFPR_IPV4 | vlan, RQFPR_IPV4 | vlan_mask, in gfar_convert_to_filer() 1125 gfar_set_parse_bits(RQFPR_IPV4 | vlan, RQFPR_IPV4 | vlan_mask, in gfar_convert_to_filer() 1133 gfar_set_parse_bits(vlan, vlan_mask, tab); in gfar_convert_to_filer()
|
/linux-6.1.9/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 | 2945 mask[3] = tp->proto_mask | (tp->vlan_mask << 8) | (tp->intf_mask << 20); in t3_config_trace_filter()
|
/linux-6.1.9/net/sched/ |
D | cls_flower.c | 2779 struct flow_dissector_key_vlan *vlan_mask) in fl_dump_key_vlan() argument 2783 if (!memchr_inv(vlan_mask, 0, sizeof(*vlan_mask))) in fl_dump_key_vlan() 2785 if (vlan_mask->vlan_id) { in fl_dump_key_vlan() 2791 if (vlan_mask->vlan_priority) { in fl_dump_key_vlan()
|