diff options
-rw-r--r-- | drivers/net/ixgbe/ixgbe_x540.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/ixgbe/ixgbe_x540.c b/drivers/net/ixgbe/ixgbe_x540.c index fbc0a8bab396..11cb136c0150 100644 --- a/drivers/net/ixgbe/ixgbe_x540.c +++ b/drivers/net/ixgbe/ixgbe_x540.c | |||
@@ -31,7 +31,6 @@ | |||
31 | 31 | ||
32 | #include "ixgbe.h" | 32 | #include "ixgbe.h" |
33 | #include "ixgbe_phy.h" | 33 | #include "ixgbe_phy.h" |
34 | //#include "ixgbe_mbx.h" | ||
35 | 34 | ||
36 | #define IXGBE_X540_MAX_TX_QUEUES 128 | 35 | #define IXGBE_X540_MAX_TX_QUEUES 128 |
37 | #define IXGBE_X540_MAX_RX_QUEUES 128 | 36 | #define IXGBE_X540_MAX_RX_QUEUES 128 |
@@ -201,7 +200,7 @@ mac_reset_top: | |||
201 | * clear the multicast table. Also reset num_rar_entries to 128, | 200 | * clear the multicast table. Also reset num_rar_entries to 128, |
202 | * since we modify this value when programming the SAN MAC address. | 201 | * since we modify this value when programming the SAN MAC address. |
203 | */ | 202 | */ |
204 | hw->mac.num_rar_entries = 128; | 203 | hw->mac.num_rar_entries = IXGBE_X540_MAX_TX_QUEUES; |
205 | hw->mac.ops.init_rx_addrs(hw); | 204 | hw->mac.ops.init_rx_addrs(hw); |
206 | 205 | ||
207 | /* Store the permanent mac address */ | 206 | /* Store the permanent mac address */ |