/* The unicast table address is a register array of 32-bit registers. The table is meant to be used in a way similar to how the MTA is used however due to certain limitations in the hardware it is necessary to set all the hash bits to 1 and use the VMOLR ROPE bit as a promiscous enable bit to allow vlan tag stripping when promiscous mode is enabled  */
static void igb_set_uta(struct igb_adapter *adapter)
/* The unicast table address is a register array of 32-bit registers. The table is meant to be used in a way similar to how the MTA is used however due to certain limitations in the hardware it is necessary to set all the hash bits to 1 and use the VMOLR ROPE bit as a promiscous enable bit to allow vlan tag stripping when promiscous mode is enabled  */
static void igb_set_uta(struct igb_adapter *adapter)
{
	struct e1000_hw *hw = &adapter->hw;
	int i;
	if (hw->mac.type < e1000_82576)
		return;
	if (!adapter->vfs_allocated_count)
		return;
	for (i = 0; i < hw->mac.uta_reg_count; i++)
		array_wr32(E1000_UTA, i, ~0);
}