diff options
Diffstat (limited to 'drivers/net/ixgbe/ixgbe_82598.c')
-rw-r--r-- | drivers/net/ixgbe/ixgbe_82598.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/net/ixgbe/ixgbe_82598.c b/drivers/net/ixgbe/ixgbe_82598.c index f96358b641af..ba09063260d9 100644 --- a/drivers/net/ixgbe/ixgbe_82598.c +++ b/drivers/net/ixgbe/ixgbe_82598.c | |||
@@ -36,6 +36,8 @@ | |||
36 | #define IXGBE_82598_MAX_TX_QUEUES 32 | 36 | #define IXGBE_82598_MAX_TX_QUEUES 32 |
37 | #define IXGBE_82598_MAX_RX_QUEUES 64 | 37 | #define IXGBE_82598_MAX_RX_QUEUES 64 |
38 | #define IXGBE_82598_RAR_ENTRIES 16 | 38 | #define IXGBE_82598_RAR_ENTRIES 16 |
39 | #define IXGBE_82598_MC_TBL_SIZE 128 | ||
40 | #define IXGBE_82598_VFT_TBL_SIZE 128 | ||
39 | 41 | ||
40 | static s32 ixgbe_get_invariants_82598(struct ixgbe_hw *hw); | 42 | static s32 ixgbe_get_invariants_82598(struct ixgbe_hw *hw); |
41 | static s32 ixgbe_get_link_settings_82598(struct ixgbe_hw *hw, u32 *speed, | 43 | static s32 ixgbe_get_link_settings_82598(struct ixgbe_hw *hw, u32 *speed, |
@@ -60,7 +62,9 @@ static s32 ixgbe_get_invariants_82598(struct ixgbe_hw *hw) | |||
60 | { | 62 | { |
61 | hw->mac.num_rx_queues = IXGBE_82598_MAX_RX_QUEUES; | 63 | hw->mac.num_rx_queues = IXGBE_82598_MAX_RX_QUEUES; |
62 | hw->mac.num_tx_queues = IXGBE_82598_MAX_TX_QUEUES; | 64 | hw->mac.num_tx_queues = IXGBE_82598_MAX_TX_QUEUES; |
63 | hw->mac.num_rx_addrs = IXGBE_82598_RAR_ENTRIES; | 65 | hw->mac.mcft_size = IXGBE_82598_MC_TBL_SIZE; |
66 | hw->mac.vft_size = IXGBE_82598_VFT_TBL_SIZE; | ||
67 | hw->mac.num_rar_entries = IXGBE_82598_RAR_ENTRIES; | ||
64 | 68 | ||
65 | /* PHY ops are filled in by default properly for Fiber only */ | 69 | /* PHY ops are filled in by default properly for Fiber only */ |
66 | if (hw->mac.ops.get_media_type(hw) == ixgbe_media_type_copper) { | 70 | if (hw->mac.ops.get_media_type(hw) == ixgbe_media_type_copper) { |