Print this page
6064 ixgbe needs X550 support
*** 24,33 ****
--- 24,34 ----
*/
/*
* Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
* Copyright 2012 Nexenta Systems, Inc. All rights reserved.
+ * Copyright 2016 OmniTI Computer Consulting, Inc. All rights reserved.
*/
#include "ixgbe_sw.h"
/*
*** 709,724 ****
err = EINVAL;
else {
ixgbe->intr_throttling[0] = (uint32_t)result;
/*
! * 82599 and X540 require the interrupt throttling
! * rate is a multiple of 8. This is enforced by the
! * register definiton.
*/
if (hw->mac.type == ixgbe_mac_82599EB ||
! hw->mac.type == ixgbe_mac_X540) {
ixgbe->intr_throttling[0] =
ixgbe->intr_throttling[0] & 0xFF8;
}
for (i = 0; i < MAX_INTR_VECTOR; i++)
--- 710,727 ----
err = EINVAL;
else {
ixgbe->intr_throttling[0] = (uint32_t)result;
/*
! * 82599, X540 and X550 require the interrupt
! * throttling rate is a multiple of 8. This is
! * enforced by the register definiton.
*/
if (hw->mac.type == ixgbe_mac_82599EB ||
! hw->mac.type == ixgbe_mac_X540 ||
! hw->mac.type == ixgbe_mac_X550 ||
! hw->mac.type == ixgbe_mac_X550EM_x) {
ixgbe->intr_throttling[0] =
ixgbe->intr_throttling[0] & 0xFF8;
}
for (i = 0; i < MAX_INTR_VECTOR; i++)