Searched refs:vlan_mask (Results 1 – 8 of 8) sorted by relevance
/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_switchdev.c | 334 if (test_bit(port->portno, sparx5->vlan_mask[vid])) in sparx5_sync_port_dev_addr()
|
D | sparx5_main.h | 212 DECLARE_BITMAP(vlan_mask[VLAN_N_VID], SPX5_PORTS);
|
/drivers/net/ethernet/freescale/ |
D | gianfar_ethtool.c | 1069 u32 vlan = 0, vlan_mask = 0; in gfar_convert_to_filer() local 1082 vlan_mask = RQFPR_VLN; in gfar_convert_to_filer() 1095 vlan_mask |= RQFPR_CFI; in gfar_convert_to_filer() 1102 RQFPR_IPV4 | RQFPR_TCP | vlan_mask, tab); in gfar_convert_to_filer() 1108 RQFPR_IPV4 | RQFPR_UDP | vlan_mask, tab); in gfar_convert_to_filer() 1113 gfar_set_parse_bits(RQFPR_IPV4 | vlan, RQFPR_IPV4 | vlan_mask, in gfar_convert_to_filer() 1121 gfar_set_parse_bits(RQFPR_IPV4 | vlan, RQFPR_IPV4 | vlan_mask, in gfar_convert_to_filer() 1129 gfar_set_parse_bits(vlan, vlan_mask, tab); in gfar_convert_to_filer()
|
/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 | 3010 mask[3] = tp->proto_mask | (tp->vlan_mask << 8) | (tp->intf_mask << 20); in t3_config_trace_filter()
|
/drivers/net/ethernet/mscc/ |
D | ocelot.c | 225 static int ocelot_vlan_member_set(struct ocelot *ocelot, u32 vlan_mask, u16 vid) in ocelot_vlan_member_set() argument 229 err = ocelot_vlant_set_mask(ocelot, vid, vlan_mask); in ocelot_vlan_member_set() 233 ocelot->vlan_mask[vid] = vlan_mask; in ocelot_vlan_member_set() 241 ocelot->vlan_mask[vid] | BIT(port), in ocelot_vlan_member_add() 248 ocelot->vlan_mask[vid] & ~BIT(port), in ocelot_vlan_member_del()
|