Print this page
3014 Intel X540 Support

@@ -23,10 +23,11 @@
  * Copyright(c) 2007-2010 Intel Corporation. All rights reserved.
  */
 
 /*
  * Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
+ * Copyright 2012 Nexenta Systems, Inc. All rights reserved.
  */
 
 #include "ixgbe_sw.h"
 
 /*

@@ -708,17 +709,19 @@
                         err = EINVAL;
                 else {
                         ixgbe->intr_throttling[0] = (uint32_t)result;
 
                         /*
-                         * 82599 requires the interupt throttling rate is
-                         * a multiple of 8. This is enforced by the register
-                         * definiton.
+                         * 82599 and X540 require the interupt throttling
+                         * rate is a multiple of 8. This is enforced by the
+                         * register definiton.
                          */
-                        if (hw->mac.type == ixgbe_mac_82599EB)
+                        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++)
                                 ixgbe->intr_throttling[i] =
                                     ixgbe->intr_throttling[0];