Home
last modified time | relevance | path

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

/drivers/net/ethernet/microchip/sparx5/
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()
Dsparx5_switchdev.c334 if (test_bit(port->portno, sparx5->vlan_mask[vid])) in sparx5_sync_port_dev_addr()
Dsparx5_main.h212 DECLARE_BITMAP(vlan_mask[VLAN_N_VID], SPX5_PORTS);
/drivers/net/ethernet/freescale/
Dgianfar_ethtool.c1069 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/
Dcxgb3_ioctl.h163 uint32_t vlan_mask:12; member
Dcommon.h419 u32 vlan_mask:12; member
Dt3_hw.c3010 mask[3] = tp->proto_mask | (tp->vlan_mask << 8) | (tp->intf_mask << 20); in t3_config_trace_filter()
/drivers/net/ethernet/mscc/
Docelot.c225 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()