diff options
Diffstat (limited to 'drivers/net/ixgb/ixgb_param.c')
-rw-r--r-- | drivers/net/ixgb/ixgb_param.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ixgb/ixgb_param.c b/drivers/net/ixgb/ixgb_param.c index c38ce739e3f7..5d5ddabf4360 100644 --- a/drivers/net/ixgb/ixgb_param.c +++ b/drivers/net/ixgb/ixgb_param.c | |||
@@ -282,7 +282,7 @@ ixgb_check_options(struct ixgb_adapter *adapter) | |||
282 | } else { | 282 | } else { |
283 | tx_ring->count = opt.def; | 283 | tx_ring->count = opt.def; |
284 | } | 284 | } |
285 | IXGB_ROUNDUP(tx_ring->count, IXGB_REQ_TX_DESCRIPTOR_MULTIPLE); | 285 | tx_ring->count = ALIGN(tx_ring->count, IXGB_REQ_TX_DESCRIPTOR_MULTIPLE); |
286 | } | 286 | } |
287 | { /* Receive Descriptor Count */ | 287 | { /* Receive Descriptor Count */ |
288 | struct ixgb_option opt = { | 288 | struct ixgb_option opt = { |
@@ -301,7 +301,7 @@ ixgb_check_options(struct ixgb_adapter *adapter) | |||
301 | } else { | 301 | } else { |
302 | rx_ring->count = opt.def; | 302 | rx_ring->count = opt.def; |
303 | } | 303 | } |
304 | IXGB_ROUNDUP(rx_ring->count, IXGB_REQ_RX_DESCRIPTOR_MULTIPLE); | 304 | rx_ring->count = ALIGN(rx_ring->count, IXGB_REQ_RX_DESCRIPTOR_MULTIPLE); |
305 | } | 305 | } |
306 | { /* Receive Checksum Offload Enable */ | 306 | { /* Receive Checksum Offload Enable */ |
307 | struct ixgb_option opt = { | 307 | struct ixgb_option opt = { |