/* Read PCIe configuration space, and get the MSI-X vector count from the capabilities table.  */
static u16 ixgbe_get_pcie_msix_count_82598(struct ixgbe_hw *hw)
/* Read PCIe configuration space, and get the MSI-X vector count from the capabilities table.  */
static u16 ixgbe_get_pcie_msix_count_82598(struct ixgbe_hw *hw)
{
	struct ixgbe_adapter *adapter = hw->back;
	u16 msix_count;
	pci_read_config_word(adapter->pdev, IXGBE_PCIE_MSIX_82598_CAPS,
	                     &msix_count);
	msix_count &= IXGBE_PCIE_MSIX_TBL_SZ_MASK;
	msix_count++;
	return msix_count;
}