Lines Matching refs:vid
88 u16 vid; in igbvf_receive_skb() local
93 vid = be16_to_cpu((__force __be16)vlan) & E1000_RXD_SPC_VLAN_MASK; in igbvf_receive_skb()
95 vid = le16_to_cpu(vlan) & E1000_RXD_SPC_VLAN_MASK; in igbvf_receive_skb()
96 if (test_bit(vid, adapter->active_vlans)) in igbvf_receive_skb()
97 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), vid); in igbvf_receive_skb()
1234 __be16 proto, u16 vid) in igbvf_vlan_rx_add_vid() argument
1241 if (hw->mac.ops.set_vfta(hw, vid, true)) { in igbvf_vlan_rx_add_vid()
1242 dev_warn(&adapter->pdev->dev, "Vlan id %d\n is not added", vid); in igbvf_vlan_rx_add_vid()
1249 set_bit(vid, adapter->active_vlans); in igbvf_vlan_rx_add_vid()
1254 __be16 proto, u16 vid) in igbvf_vlan_rx_kill_vid() argument
1261 if (hw->mac.ops.set_vfta(hw, vid, false)) { in igbvf_vlan_rx_kill_vid()
1263 "Failed to remove vlan id %d\n", vid); in igbvf_vlan_rx_kill_vid()
1270 clear_bit(vid, adapter->active_vlans); in igbvf_vlan_rx_kill_vid()
1276 u16 vid; in igbvf_restore_vlan() local
1278 for_each_set_bit(vid, adapter->active_vlans, VLAN_N_VID) in igbvf_restore_vlan()
1279 igbvf_vlan_rx_add_vid(adapter->netdev, htons(ETH_P_8021Q), vid); in igbvf_restore_vlan()