Home
last modified time | relevance | path

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

12

/linux/drivers/net/ethernet/freescale/enetc/
H A Denetc_pf.h48 DECLARE_BITMAP(active_vlans, VLAN_N_VID);
H A Denetc_pf_common.c507 for_each_set_bit(i, pf->active_vlans, VLAN_N_VID) { in enetc_refresh_vlan_ht_filter()
538 __set_bit(vid, pf->active_vlans); in enetc_vlan_rx_add_vid()
553 if (__test_and_clear_bit(vid, pf->active_vlans)) { in enetc_vlan_rx_del_vid()
/linux/drivers/net/ethernet/intel/igbvf/
H A Digbvf.h163 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)]; member
H A Dnetdev.c96 if (test_bit(vid, adapter->active_vlans)) in igbvf_receive_skb()
1244 set_bit(vid, adapter->active_vlans); in igbvf_vlan_rx_add_vid()
1265 clear_bit(vid, adapter->active_vlans); in igbvf_vlan_rx_kill_vid()
1273 for_each_set_bit(vid, adapter->active_vlans, VLAN_N_VID) in igbvf_restore_vlan()
/linux/drivers/net/ethernet/intel/fm10k/
H A Dfm10k_netdev.c818 set_bit(vid, interface->active_vlans); in fm10k_update_vid()
820 clear_bit(vid, interface->active_vlans); in fm10k_update_vid()
827 if (test_bit(rx_vid, interface->active_vlans)) in fm10k_update_vid()
915 vid = find_next_bit(interface->active_vlans, vid_limit, ++vid); in fm10k_find_next_vlan()
H A Dfm10k.h286 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)]; member
/linux/drivers/net/ethernet/aquantia/atlantic/
H A Daq_nic.h151 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)]; member
/linux/drivers/net/vmxnet3/
H A Dvmxnet3_int.h383 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)]; member
/linux/drivers/net/ethernet/intel/ixgbevf/
H A Dixgbevf.h306 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)]; member
/linux/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe.h332 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)]; member
617 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)]; member
H A Dixgbe_sriov.c455 if (add && test_bit(vid, adapter->active_vlans)) { in ixgbe_set_vf_vlan()
470 if (test_bit(vid, adapter->active_vlans) || in ixgbe_set_vf_vlan()
/linux/drivers/net/ethernet/synopsys/
H A Ddwc-xlgmac.h614 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)]; member
H A Ddwc-xlgmac-net.c841 set_bit(vid, pdata->active_vlans); in xlgmac_vlan_rx_add_vid()
854 clear_bit(vid, pdata->active_vlans); in xlgmac_vlan_rx_kill_vid()
/linux/drivers/net/ethernet/via/
H A Dvia-rhine.c433 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)]; member
1516 for_each_set_bit(vid, rp->active_vlans, VLAN_N_VID) { in rhine_update_vcam()
1530 set_bit(vid, rp->active_vlans); in rhine_vlan_rx_add_vid()
1541 clear_bit(vid, rp->active_vlans); in rhine_vlan_rx_kill_vid()
H A Dvia-velocity.h1388 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)]; member
H A Dvia-velocity.c520 for_each_set_bit(vid, vptr->active_vlans, VLAN_N_VID) { in velocity_init_cam_filter()
535 set_bit(vid, vptr->active_vlans); in velocity_vlan_rx_add_vid()
547 clear_bit(vid, vptr->active_vlans); in velocity_vlan_rx_kill_vid()
/linux/drivers/net/ethernet/intel/e1000e/
H A De1000.h202 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)]; member
/linux/drivers/net/ethernet/intel/e1000/
H A De1000_main.c308 if (!test_bit(vid, adapter->active_vlans)) { in e1000_update_mng_vlan()
317 !test_bit(old_vid, adapter->active_vlans)) in e1000_update_mng_vlan()
1459 !test_bit(adapter->mng_vlan_id, adapter->active_vlans)) { in e1000_close()
4889 for_each_set_bit(vid, adapter->active_vlans, VLAN_N_VID) in e1000_vlan_used()
4974 set_bit(vid, adapter->active_vlans); in e1000_vlan_rx_add_vid()
4997 clear_bit(vid, adapter->active_vlans); in e1000_vlan_rx_kill_vid()
5013 for_each_set_bit(vid, adapter->active_vlans, VLAN_N_VID) in e1000_restore_vlan()
/linux/drivers/net/ethernet/wangxun/libwx/
H A Dwx_hw.c1654 if (test_bit(vid, wx->active_vlans)) in wx_scrub_vfta()
2043 for_each_set_bit_from(vid, wx->active_vlans, VLAN_N_VID) in wx_restore_vlan()
2726 set_bit(vid, wx->active_vlans); in wx_vlan_rx_add_vid()
2739 clear_bit(vid, wx->active_vlans); in wx_vlan_rx_kill_vid()
/linux/drivers/net/ethernet/mellanox/mlx4/
H A Den_port.c62 if (test_bit(index++, priv->active_vlans)) in mlx4_SET_VLAN_FLTR()
/linux/drivers/net/ethernet/intel/igb/
H A Digb.h545 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)]; member
H A Digb_main.c1535 !test_bit(old_vid, adapter->active_vlans)) { in igb_update_mng_vlan()
5274 if (test_bit(vid, adapter->active_vlans)) in igb_scrub_vfta()
5291 vfta[i] |= adapter->active_vlans[word] >> bits; in igb_scrub_vfta()
7524 if (add && test_bit(vid, adapter->active_vlans)) { in igb_set_vf_vlan()
7539 if (test_bit(vid, adapter->active_vlans) || in igb_set_vf_vlan()
9403 set_bit(vid, adapter->active_vlans); in igb_vlan_rx_add_vid()
9419 clear_bit(vid, adapter->active_vlans); in igb_vlan_rx_kill_vid()
9431 for_each_set_bit_from(vid, adapter->active_vlans, VLAN_N_VID) in igb_restore_vlan()
/linux/drivers/net/ethernet/amd/xgbe/
H A Dxgbe.h1153 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)]; member
/linux/drivers/net/ethernet/brocade/bna/
H A Dbnad.c2376 for_each_set_bit(vid, bnad->active_vlans, VLAN_N_VID) { in bnad_restore_vlans()
3317 set_bit(vid, bnad->active_vlans); in bnad_vlan_rx_add_vid()
3337 clear_bit(vid, bnad->active_vlans); in bnad_vlan_rx_kill_vid()
/linux/drivers/net/ethernet/intel/i40e/
H A Di40e.h817 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)]; member

12