Print this page
12011 ixgbe reports incorrect MAC_STAT_NORCVBUF
Change-Id: Ia71b5669b2bc8f6256a84b0b9c673153f327f5ab

@@ -25,11 +25,11 @@
 
 /*
  * Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
  * Copyright (c) 2013 Saso Kiselkov. All rights reserved.
  * Copyright 2016 OmniTI Computer Consulting, Inc. All rights reserved.
- * Copyright (c) 2017, Joyent, Inc.
+ * Copyright 2019 Joyent, Inc.
  */
 
 #ifndef _IXGBE_SW_H
 #define _IXGBE_SW_H
 

@@ -782,10 +782,14 @@
 
         kstat_named_t gprc;     /* Good Packets Received Count */
         kstat_named_t gptc;     /* Good Packets Xmitted Count */
         kstat_named_t gor;      /* Good Octets Received Count */
         kstat_named_t got;      /* Good Octets Xmitd Count */
+        kstat_named_t qor;      /* Queue Octets Received */
+        kstat_named_t qot;      /* Queue Octets Transmitted */
+        kstat_named_t qpr;      /* Queue Packets Received */
+        kstat_named_t qpt;      /* Queue Packets Transmitted */
         kstat_named_t prc64;    /* Packets Received - 64b */
         kstat_named_t prc127;   /* Packets Received - 65-127b */
         kstat_named_t prc255;   /* Packets Received - 127-255b */
         kstat_named_t prc511;   /* Packets Received - 256-511b */
         kstat_named_t prc1023;  /* Packets Received - 511-1023b */

@@ -794,14 +798,10 @@
         kstat_named_t ptc127;   /* Packets Xmitted (64-127b) */
         kstat_named_t ptc255;   /* Packets Xmitted (128-255b) */
         kstat_named_t ptc511;   /* Packets Xmitted (255-511b) */
         kstat_named_t ptc1023;  /* Packets Xmitted (512-1023b) */
         kstat_named_t ptc1522;  /* Packets Xmitted (1024-1522b */
-        kstat_named_t qprc[16]; /* Queue Packets Received Count */
-        kstat_named_t qptc[16]; /* Queue Packets Transmitted Count */
-        kstat_named_t qbrc[16]; /* Queue Bytes Received Count */
-        kstat_named_t qbtc[16]; /* Queue Bytes Transmitted Count */
 
         kstat_named_t crcerrs;  /* CRC Error Count */
         kstat_named_t illerrc;  /* Illegal Byte Error Count */
         kstat_named_t errbc;    /* Error Byte Count */
         kstat_named_t mspdc;    /* MAC Short Packet Discard Count */