Print this page
6064 ixgbe needs X550 support

@@ -24,10 +24,11 @@
  */
 
 /*
  * 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"
 
 /*

@@ -112,10 +113,12 @@
                             IXGBE_READ_REG(hw, IXGBE_QBTC(i));
                         break;
 
                 case ixgbe_mac_82599EB:
                 case ixgbe_mac_X540:
+                case ixgbe_mac_X550:
+                case ixgbe_mac_X550EM_x:
                         ixgbe_ks->qbtc[i].value.ui64 +=
                             IXGBE_READ_REG(hw, IXGBE_QBTC_L(i));
                         ixgbe_ks->qbtc[i].value.ui64 +=
                             ((uint64_t)((IXGBE_READ_REG(hw,
                             IXGBE_QBTC_H(i))) & 0xF) << 32);

@@ -166,10 +169,12 @@
                     IXGBE_LXONRXC);
                 break;
 
         case ixgbe_mac_82599EB:
         case ixgbe_mac_X540:
+        case ixgbe_mac_X550:
+        case ixgbe_mac_X550EM_x:
                 ixgbe_ks->lxonrxc.value.ui64 += IXGBE_READ_REG(hw,
                     IXGBE_LXONRXCNT);
                 break;
 
         default:

@@ -182,10 +187,12 @@
                     IXGBE_LXOFFRXC);
                 break;
 
         case ixgbe_mac_82599EB:
         case ixgbe_mac_X540:
+        case ixgbe_mac_X550:
+        case ixgbe_mac_X550EM_x:
                 ixgbe_ks->lxoffrxc.value.ui64 += IXGBE_READ_REG(hw,
                     IXGBE_LXOFFRXCNT);
                 break;
 
         default:

@@ -559,10 +566,12 @@
                                     IXGBE_READ_REG(hw, IXGBE_QBTC(i));
                                 break;
 
                         case ixgbe_mac_82599EB:
                         case ixgbe_mac_X540:
+                        case ixgbe_mac_X550:
+                        case ixgbe_mac_X550EM_x:
                                 ixgbe_ks->qbtc[i].value.ui64 +=
                                     IXGBE_READ_REG(hw, IXGBE_QBTC_L(i));
                                 ixgbe_ks->qbtc[i].value.ui64 +=
                                     ((uint64_t)((IXGBE_READ_REG(hw,
                                     IXGBE_QBTC_H(i))) & 0xF) << 32);