Home
last modified time | relevance | path

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

12

/linux/drivers/net/ethernet/aquantia/atlantic/
H A Daq_filters.c169 aq_nic->active_vlans))) { in aq_check_approve_fvlan()
369 unsigned long *active_vlans, in aq_fvlan_rebuild() argument
381 vlan = find_next_bit(active_vlans, in aq_fvlan_rebuild()
835 aq_fvlan_rebuild(aq_nic, aq_nic->active_vlans, in aq_filters_vlans_update()
839 hweight = bitmap_weight(aq_nic->active_vlans, VLAN_N_VID); in aq_filters_vlans_update()
872 bitmap_zero(aq_nic->active_vlans, VLAN_N_VID); in aq_filters_vlan_offload_off()
873 aq_fvlan_rebuild(aq_nic, aq_nic->active_vlans, in aq_filters_vlan_offload_off()
H A Daq_nic.h151 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)]; member
/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/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
H A Dixgbevf_main.c519 unsigned long *active_vlans = netdev_priv(rx_ring->netdev); in ixgbevf_process_skb_fields() local
521 if (test_bit(vid & VLAN_VID_MASK, active_vlans)) in ixgbevf_process_skb_fields()
2059 set_bit(vid, adapter->active_vlans); in ixgbevf_vlan_rx_add_vid()
2081 clear_bit(vid, adapter->active_vlans); in ixgbevf_vlan_rx_kill_vid()
2090 for_each_set_bit(vid, adapter->active_vlans, VLAN_N_VID) in ixgbevf_restore_vlan()
/linux/drivers/net/ethernet/stmicro/stmmac/
H A Dstmmac.h325 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)]; member
H A Dstmmac_main.c6757 for_each_set_bit(vid, priv->active_vlans, VLAN_N_VID) { in stmmac_vlan_update()
6795 set_bit(vid, priv->active_vlans); in stmmac_vlan_rx_add_vid()
6799 clear_bit(vid, priv->active_vlans); in stmmac_vlan_rx_add_vid()
6806 clear_bit(vid, priv->active_vlans); in stmmac_vlan_rx_add_vid()
6837 clear_bit(vid, priv->active_vlans); in stmmac_vlan_rx_kill_vid()
6841 set_bit(vid, priv->active_vlans); in stmmac_vlan_rx_kill_vid()
6848 set_bit(vid, priv->active_vlans); in stmmac_vlan_rx_kill_vid()
/linux/drivers/net/ethernet/adaptec/
H A Dstarfire.c535 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)]; member
589 set_bit(vid, np->active_vlans); in netdev_vlan_rx_add_vid()
604 clear_bit(vid, np->active_vlans); in netdev_vlan_rx_kill_vid()
1744 for_each_set_bit(vid, np->active_vlans, VLAN_N_VID) { in set_vlan_mode()
/linux/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe.h331 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)]; member
616 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()
4891 for_each_set_bit(vid, adapter->active_vlans, VLAN_N_VID) in e1000_vlan_used()
4976 set_bit(vid, adapter->active_vlans); in e1000_vlan_rx_add_vid()
4999 clear_bit(vid, adapter->active_vlans); in e1000_vlan_rx_kill_vid()
5015 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()
2042 for_each_set_bit_from(vid, wx->active_vlans, VLAN_N_VID) in wx_restore_vlan()
2719 set_bit(vid, wx->active_vlans); in wx_vlan_rx_add_vid()
2732 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/amd/xgbe/
H A Dxgbe.h1135 unsigned long active_vlans[BITS_TO_LONGS(VLAN_N_VID)]; member
/linux/drivers/net/ethernet/intel/igb/
H A Digb_main.c1535 !test_bit(old_vid, adapter->active_vlans)) { in igb_update_mng_vlan()
5275 if (test_bit(vid, adapter->active_vlans)) in igb_scrub_vfta()
5292 vfta[i] |= adapter->active_vlans[word] >> bits; in igb_scrub_vfta()
7525 if (add && test_bit(vid, adapter->active_vlans)) { in igb_set_vf_vlan()
7540 if (test_bit(vid, adapter->active_vlans) || in igb_set_vf_vlan()
9395 set_bit(vid, adapter->active_vlans); in igb_vlan_rx_add_vid()
9411 clear_bit(vid, adapter->active_vlans); in igb_vlan_rx_kill_vid()
9423 for_each_set_bit_from(vid, adapter->active_vlans, VLAN_N_VID) in igb_restore_vlan()

12