Home
last modified time | relevance | path

Searched refs:active_vlans (Results 1 – 47 of 47) sorted by relevance

/linux-4.4.14/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_switchdev.c109 for_each_set_bit(vid, mlxsw_sp_port->active_vlans, VLAN_N_VID) in mlxsw_sp_port_stp_state_set()
171 for_each_set_bit(vid, mlxsw_sp_port->active_vlans, VLAN_N_VID) { in mlxsw_sp_port_uc_flood_set()
183 for_each_set_bit(vid, mlxsw_sp_port->active_vlans, last_visited_vid) in mlxsw_sp_port_uc_flood_set()
432 set_bit(vid, mlxsw_sp_port->active_vlans); in __mlxsw_sp_port_vlans_add()
599 clear_bit(vid, mlxsw_sp_port->active_vlans); in __mlxsw_sp_port_vlans_del()
704 for_each_set_bit(vid, mlxsw_sp_port->active_vlans, VLAN_N_VID) { in mlxsw_sp_port_vlan_dump()
Dspectrum.h95 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)]; member
Dspectrum.c504 for_each_set_bit(vid, mlxsw_sp_port->active_vlans, VLAN_N_VID) { in mlxsw_sp_port_vp_mode_trans()
522 for_each_set_bit(vid, mlxsw_sp_port->active_vlans, last_visited_vid) in mlxsw_sp_port_vp_mode_trans()
538 for_each_set_bit(vid, mlxsw_sp_port->active_vlans, VLAN_N_VID) { in mlxsw_sp_port_vlan_mode_trans()
/linux-4.4.14/drivers/net/ethernet/intel/ixgb/
Dixgb.h139 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)]; member
Dixgb_main.c2218 set_bit(vid, adapter->active_vlans); in ixgb_vlan_rx_add_vid()
2235 clear_bit(vid, adapter->active_vlans); in ixgb_vlan_rx_kill_vid()
2245 for_each_set_bit(vid, adapter->active_vlans, VLAN_N_VID) in ixgb_restore_vlan()
/linux-4.4.14/drivers/net/ethernet/intel/igbvf/
Digbvf.h185 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)]; member
Dnetdev.c118 if (test_bit(vid, adapter->active_vlans)) in igbvf_receive_skb()
1251 set_bit(vid, adapter->active_vlans); in igbvf_vlan_rx_add_vid()
1266 clear_bit(vid, adapter->active_vlans); in igbvf_vlan_rx_kill_vid()
1274 for_each_set_bit(vid, adapter->active_vlans, VLAN_N_VID) in igbvf_restore_vlan()
/linux-4.4.14/drivers/net/ethernet/intel/fm10k/
Dfm10k_netdev.c777 set_bit(vid, interface->active_vlans); in fm10k_update_vid()
779 clear_bit(vid, interface->active_vlans); in fm10k_update_vid()
786 if (test_bit(rx_vid, interface->active_vlans)) in fm10k_update_vid()
850 vid = find_next_bit(interface->active_vlans, vid_limit, ++vid); in fm10k_find_next_vlan()
Dfm10k.h249 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)]; member
Dfm10k_pci.c698 if (test_bit(hw->mac.default_vid, interface->active_vlans)) in fm10k_configure_rx_ring()
/linux-4.4.14/drivers/net/ethernet/intel/i40evf/
Di40evf.h56 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)]; member
/linux-4.4.14/drivers/net/ethernet/intel/e1000/
De1000.h229 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)]; member
De1000_main.c340 if (!test_bit(vid, adapter->active_vlans)) { in e1000_update_mng_vlan()
350 !test_bit(old_vid, adapter->active_vlans)) in e1000_update_mng_vlan()
1462 !test_bit(adapter->mng_vlan_id, adapter->active_vlans)) { in e1000_close()
4874 for_each_set_bit(vid, adapter->active_vlans, VLAN_N_VID) in e1000_vlan_used()
4959 set_bit(vid, adapter->active_vlans); in e1000_vlan_rx_add_vid()
4982 clear_bit(vid, adapter->active_vlans); in e1000_vlan_rx_kill_vid()
4998 for_each_set_bit(vid, adapter->active_vlans, VLAN_N_VID) in e1000_restore_vlan()
/linux-4.4.14/drivers/net/vmxnet3/
Dvmxnet3_int.h319 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)]; member
Dvmxnet3_drv.c2101 for_each_set_bit(vid, adapter->active_vlans, VLAN_N_VID) in vmxnet3_restore_vlan()
2122 set_bit(vid, adapter->active_vlans); in vmxnet3_vlan_rx_add_vid()
2144 clear_bit(vid, adapter->active_vlans); in vmxnet3_vlan_rx_kill_vid()
/linux-4.4.14/drivers/net/ethernet/intel/ixgbe/
Dixgbe.h238 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)]; member
609 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)]; member
Dixgbe_sriov.c857 !test_bit(vid, adapter->active_vlans) && !bits) in ixgbe_set_vf_vlan_msg()
Dixgbe_main.c3905 set_bit(vid, adapter->active_vlans); in ixgbe_vlan_rx_add_vid()
3918 clear_bit(vid, adapter->active_vlans); in ixgbe_vlan_rx_kill_vid()
4001 for_each_set_bit(vid, adapter->active_vlans, VLAN_N_VID) in ixgbe_restore_vlan()
/linux-4.4.14/drivers/net/ethernet/brocade/bna/
Dbnad.h297 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)]; member
Dbnad.c2394 for_each_set_bit(vid, bnad->active_vlans, VLAN_N_VID) { in bnad_restore_vlans()
3351 set_bit(vid, bnad->active_vlans); in bnad_vlan_rx_add_vid()
3371 clear_bit(vid, bnad->active_vlans); in bnad_vlan_rx_kill_vid()
/linux-4.4.14/drivers/net/ethernet/neterion/vxge/
Dvxge-main.h336 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)]; member
Dvxge-main.c1496 for_each_set_bit(vid, vdev->active_vlans, VLAN_N_VID) in vxge_restore_vpath_vid_table()
3339 set_bit(vid, vdev->active_vlans); in vxge_vlan_rx_add_vid()
3369 clear_bit(vid, vdev->active_vlans); in vxge_vlan_rx_kill_vid()
/linux-4.4.14/drivers/net/ethernet/intel/ixgbevf/
Dixgbevf.h380 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)]; member
Dixgbevf_main.c540 unsigned long *active_vlans = netdev_priv(rx_ring->netdev); in ixgbevf_process_skb_fields() local
542 if (test_bit(vid & VLAN_VID_MASK, active_vlans)) in ixgbevf_process_skb_fields()
1823 set_bit(vid, adapter->active_vlans); in ixgbevf_vlan_rx_add_vid()
1842 clear_bit(vid, adapter->active_vlans); in ixgbevf_vlan_rx_kill_vid()
1851 for_each_set_bit(vid, adapter->active_vlans, VLAN_N_VID) in ixgbevf_restore_vlan()
/linux-4.4.14/drivers/net/ethernet/ti/
Dnetcp_ethss.c690 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)]; member
2238 for_each_set_bit(vlan_id, gbe_intf->active_vlans, VLAN_N_VID) { in gbe_add_mcast_addr()
2252 for_each_set_bit(vlan_id, gbe_intf->active_vlans, VLAN_N_VID) in gbe_add_ucast_addr()
2264 for_each_set_bit(vlan_id, gbe_intf->active_vlans, VLAN_N_VID) { in gbe_del_mcast_addr()
2276 for_each_set_bit(vlan_id, gbe_intf->active_vlans, VLAN_N_VID) { in gbe_del_ucast_addr()
2339 set_bit(vid, gbe_intf->active_vlans); in gbe_add_vid()
2356 clear_bit(vid, gbe_intf->active_vlans); in gbe_del_vid()
/linux-4.4.14/drivers/net/ethernet/intel/igb/
Digb.h353 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)]; member
Digb_main.c1551 !test_bit(old_vid, adapter->active_vlans)) { in igb_update_mng_vlan()
6015 !test_bit(vid, adapter->active_vlans) && in igb_set_vf_vlan()
7213 set_bit(vid, adapter->active_vlans); in igb_vlan_rx_add_vid()
7233 clear_bit(vid, adapter->active_vlans); in igb_vlan_rx_kill_vid()
7244 for_each_set_bit(vid, adapter->active_vlans, VLAN_N_VID) in igb_restore_vlan()
/linux-4.4.14/drivers/net/ethernet/adaptec/
Dstarfire.c551 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)]; member
605 set_bit(vid, np->active_vlans); in netdev_vlan_rx_add_vid()
620 clear_bit(vid, np->active_vlans); in netdev_vlan_rx_kill_vid()
1720 for_each_set_bit(vid, np->active_vlans, VLAN_N_VID) { in set_vlan_mode()
/linux-4.4.14/drivers/net/ethernet/intel/e1000e/
De1000.h219 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)]; member
Dnetdev.c2729 set_bit(vid, adapter->active_vlans); in e1000_vlan_rx_add_vid()
2757 clear_bit(vid, adapter->active_vlans); in e1000_vlan_rx_kill_vid()
2855 for_each_set_bit(vid, adapter->active_vlans, VLAN_N_VID) in e1000_restore_vlan()
/linux-4.4.14/drivers/net/ethernet/amd/xgbe/
Dxgbe.h858 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)]; member
Dxgbe-drv.c1582 set_bit(vid, pdata->active_vlans); in xgbe_vlan_rx_add_vid()
1598 clear_bit(vid, pdata->active_vlans); in xgbe_vlan_rx_kill_vid()
Dxgbe-dev.c1043 for_each_set_bit(vid, pdata->active_vlans, VLAN_N_VID) { in xgbe_update_vlan_hash_table()
/linux-4.4.14/drivers/net/ethernet/via/
Dvia-rhine.c439 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)]; member
1535 for_each_set_bit(vid, rp->active_vlans, VLAN_N_VID) { in rhine_update_vcam()
1549 set_bit(vid, rp->active_vlans); in rhine_vlan_rx_add_vid()
1560 clear_bit(vid, rp->active_vlans); in rhine_vlan_rx_kill_vid()
Dvia-velocity.h1442 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)]; member
Dvia-velocity.c518 for_each_set_bit(vid, vptr->active_vlans, VLAN_N_VID) { in velocity_init_cam_filter()
533 set_bit(vid, vptr->active_vlans); in velocity_vlan_rx_add_vid()
545 clear_bit(vid, vptr->active_vlans); in velocity_vlan_rx_kill_vid()
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx4/
Den_port.c62 if (test_bit(index++, priv->active_vlans)) in mlx4_SET_VLAN_FLTR()
Dmlx4_en.h500 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)]; member
Den_netdev.c421 set_bit(vid, priv->active_vlans); in mlx4_en_vlan_rx_add_vid()
446 clear_bit(vid, priv->active_vlans); in mlx4_en_vlan_rx_kill_vid()
/linux-4.4.14/drivers/s390/net/
Dqeth_l3_main.c1569 for_each_set_bit(vid, card->active_vlans, VLAN_N_VID) { in qeth_l3_add_vlan_mc()
1631 for_each_set_bit(vid, card->active_vlans, VLAN_N_VID) { in qeth_l3_add_vlan_mc6()
1744 set_bit(vid, card->active_vlans); in qeth_l3_vlan_rx_add_vid()
1762 clear_bit(vid, card->active_vlans); in qeth_l3_vlan_rx_kill_vid()
1997 for_each_set_bit(vid, card->active_vlans, VLAN_N_VID) { in qeth_l3_verify_vlan_dev()
Dqeth_core.h798 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)]; member
/linux-4.4.14/drivers/net/ethernet/intel/i40e/
Di40e.h463 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)]; member
Di40e_debugfs.c386 if (vsi->active_vlans) in i40e_dbg_dump_vsi_seid()
388 " vlgrp: & = %p\n", vsi->active_vlans); in i40e_dbg_dump_vsi_seid()
Di40e_main.c2508 set_bit(vid, vsi->active_vlans); in i40e_vlan_rx_add_vid()
2539 clear_bit(vid, vsi->active_vlans); in i40e_vlan_rx_kill_vid()
2557 for_each_set_bit(vid, vsi->active_vlans, VLAN_N_VID) in i40e_restore_vlan()
/linux-4.4.14/drivers/net/ethernet/qlogic/qlge/
Dqlge.h2063 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)]; member
Dqlge_main.c2439 set_bit(vid, qdev->active_vlans); in qlge_vlan_rx_add_vid()
2470 clear_bit(vid, qdev->active_vlans); in qlge_vlan_rx_kill_vid()
2486 for_each_set_bit(vid, qdev->active_vlans, VLAN_N_VID) in qlge_restore_vlan()
/linux-4.4.14/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic.h1317 u8 active_vlans; member