Lines Matching refs:vid
1692 u16 vid = le16_to_cpu(rx_desc->wb.upper.vlan); in ixgbe_process_skb_fields() local
1693 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), vid); in ixgbe_process_skb_fields()
4405 __be16 proto, u16 vid) in ixgbe_vlan_rx_add_vid() argument
4411 if (!vid || !(adapter->flags2 & IXGBE_FLAG2_VLAN_PROMISC)) in ixgbe_vlan_rx_add_vid()
4412 hw->mac.ops.set_vfta(&adapter->hw, vid, VMDQ_P(0), true, !!vid); in ixgbe_vlan_rx_add_vid()
4414 set_bit(vid, adapter->active_vlans); in ixgbe_vlan_rx_add_vid()
4438 void ixgbe_update_pf_promisc_vlvf(struct ixgbe_adapter *adapter, u32 vid) in ixgbe_update_pf_promisc_vlvf() argument
4444 idx = ixgbe_find_vlvf_entry(hw, vid); in ixgbe_update_pf_promisc_vlvf()
4464 __be16 proto, u16 vid) in ixgbe_vlan_rx_kill_vid() argument
4470 if (vid && !(adapter->flags2 & IXGBE_FLAG2_VLAN_PROMISC)) in ixgbe_vlan_rx_kill_vid()
4471 hw->mac.ops.set_vfta(hw, vid, VMDQ_P(0), false, true); in ixgbe_vlan_rx_kill_vid()
4473 clear_bit(vid, adapter->active_vlans); in ixgbe_vlan_rx_kill_vid()
4603 u32 i, vid, word, bits; in ixgbe_scrub_vfta() local
4609 vid = vlvf & VLAN_VID_MASK; in ixgbe_scrub_vfta()
4612 if (vid < vid_start || vid >= vid_end) in ixgbe_scrub_vfta()
4617 vfta[(vid - vid_start) / 32] |= BIT(vid % 32); in ixgbe_scrub_vfta()
4620 if (test_bit(vid, adapter->active_vlans)) in ixgbe_scrub_vfta()
4633 vid = (vfta_offset + i) * 32; in ixgbe_scrub_vfta()
4634 word = vid / BITS_PER_LONG; in ixgbe_scrub_vfta()
4635 bits = vid % BITS_PER_LONG; in ixgbe_scrub_vfta()
4670 u16 vid = 1; in ixgbe_restore_vlan() local
4674 for_each_set_bit_from(vid, adapter->active_vlans, VLAN_N_VID) in ixgbe_restore_vlan()
4675 ixgbe_vlan_rx_add_vid(adapter->netdev, htons(ETH_P_8021Q), vid); in ixgbe_restore_vlan()
9929 const unsigned char *addr, u16 vid, in ixgbe_ndo_fdb_add() argument
9942 return ndo_dflt_fdb_add(ndm, tb, dev, addr, vid, flags); in ixgbe_ndo_fdb_add()