Lines Matching defs:vlan
162 int vf, u16 vlan, u8 qos, __be16 vlan_proto);
2438 /* Since there is no support for separate Rx/Tx vlan accel
4075 /* Setup and initialize a copy of the hw vlan table array */
6107 /* set HW vlan bit if vlan is present */
7325 /* Find the vlan filter for this id */
7364 static int igb_find_vlvf_entry(struct e1000_hw *hw, u32 vlan)
7370 if (vlan == 0)
7376 if ((vlvf & VLAN_VID_MASK) == vlan)
7454 u16 vlan, u8 qos)
7458 err = igb_set_vf_vlan(adapter, vlan, true, vf);
7462 igb_set_vmvir(adapter, vlan | (qos << VLAN_PRIO_SHIFT), vf);
7463 igb_set_vmolr(adapter, vf, !vlan);
7466 if (vlan != adapter->vf_data[vf].pf_vlan)
7470 adapter->vf_data[vf].pf_vlan = vlan;
7474 "Setting VLAN %d, QOS 0x%x on VF %d\n", vlan, qos, vf);
7506 u16 vlan, u8 qos, __be16 vlan_proto)
7510 if ((vf >= adapter->vfs_allocated_count) || (vlan > 4095) || (qos > 7))
7516 return (vlan || qos) ? igb_enable_port_vlan(adapter, vf, vlan, qos) :
8050 * enable bit to allow vlan tag stripping when promiscuous mode is enabled
8791 vid = be16_to_cpu((__force __be16)rx_desc->wb.upper.vlan);
8793 vid = le16_to_cpu(rx_desc->wb.upper.vlan);
9899 ivi->vlan = adapter->vf_data[vf].pf_vlan;
9920 /* notify HW that the MAC is adding vlan tags */
9926 /* enable replication vlan tag stripping */