/* Clears the VLAN filer table, and the VMDq index associated with the filter  */
static s32 ixgbe_clear_vfta_82598(struct ixgbe_hw *hw)
/* Clears the VLAN filer table, and the VMDq index associated with the filter  */
static s32 ixgbe_clear_vfta_82598(struct ixgbe_hw *hw)
{
	u32 offset;
	u32 vlanbyte;
	for (offset = 0; offset < hw->mac.vft_size; offset++)
		IXGBE_WRITE_REG(hw, IXGBE_VFTA(offset), 0);
	for (vlanbyte = 0; vlanbyte < 4; vlanbyte++)
		for (offset = 0; offset < hw->mac.vft_size; offset++)
			IXGBE_WRITE_REG(hw, IXGBE_VFTAVIND(vlanbyte, offset),
			                0);
	return 0;
}