#define MAX_EMULATION_MAC_ADDRS 16
#define VMDQ_P(p) ((p) + adapter->num_vfs)
-#define IXGBE_SUBDEV_ID_82598AF_MEZZ 0x0049
-#define IXGBE_SUBDEV_ID_82598AF_MENLO_Q_MEZZ 0x004a
-#define IXGBE_SUBDEV_ID_82598AF_MENLO_E_MEZZ 0x004b
-
struct vf_data_storage {
unsigned char vf_mac_addresses[ETH_ALEN];
u16 vf_mc_hashes[IXGBE_MAX_VF_MC_ENTRIES];
int err = 0;
int vector, v_budget;
- if (!(adapter->flags & IXGBE_FLAG_MSIX_CAPABLE))
- goto try_msi;
-
/*
* It's easy to be greedy for MSI-X vectors, but it really
* doesn't do us much good if we have a lot more vectors
if (adapter->flags & IXGBE_FLAG_MSIX_ENABLED)
goto out;
}
-try_msi:
+
adapter->flags &= ~IXGBE_FLAG_DCB_ENABLED;
adapter->flags &= ~IXGBE_FLAG_RSS_ENABLED;
adapter->flags &= ~IXGBE_FLAG_FDIR_HASH_CAPABLE;
adapter->ring_feature[RING_F_RSS].indices = rss;
adapter->flags |= IXGBE_FLAG_RSS_ENABLED;
adapter->ring_feature[RING_F_DCB].indices = IXGBE_MAX_DCB_INDICES;
- adapter->flags |= IXGBE_FLAG_MSIX_CAPABLE;
- if (adapter->hw.device_id == IXGBE_DEV_ID_82598AF_DUAL_PORT) {
- switch (adapter->hw.subsystem_device_id) {
- case IXGBE_SUBDEV_ID_82598AF_MEZZ:
- case IXGBE_SUBDEV_ID_82598AF_MENLO_Q_MEZZ:
- case IXGBE_SUBDEV_ID_82598AF_MENLO_E_MEZZ:
- adapter->flags &= ~IXGBE_FLAG_MSIX_CAPABLE;
- break;
- default:
- break;
- }
- }
if (hw->mac.type == ixgbe_mac_82598EB) {
if (hw->device_id == IXGBE_DEV_ID_82598AT)
adapter->flags |= IXGBE_FLAG_FAN_FAIL_CAPABLE;