svn commit: r316494 - head/sys/dev/e1000

Sean Bruno sbruno at FreeBSD.org
Tue Apr 4 16:54:47 UTC 2017


Author: sbruno
Date: Tue Apr  4 16:54:46 2017
New Revision: 316494
URL: https://svnweb.freebsd.org/changeset/base/316494

Log:
  no_desc_avail is tracked in iflib now making this redundant.
  
  Sponsored by:	Limelight Networks

Modified:
  head/sys/dev/e1000/if_em.c
  head/sys/dev/e1000/if_em.h

Modified: head/sys/dev/e1000/if_em.c
==============================================================================
--- head/sys/dev/e1000/if_em.c	Tue Apr  4 16:26:46 2017	(r316493)
+++ head/sys/dev/e1000/if_em.c	Tue Apr  4 16:54:46 2017	(r316494)
@@ -3883,9 +3883,6 @@ em_add_hw_stats(struct adapter *adapter)
 		SYSCTL_ADD_ULONG(ctx, queue_list, OID_AUTO, "tx_irq",
 				CTLFLAG_RD, &txr->tx_irq,
 				"Queue MSI-X Transmit Interrupts");
-		SYSCTL_ADD_ULONG(ctx, queue_list, OID_AUTO, "no_desc_avail",
-				CTLFLAG_RD, &txr->no_desc_avail,
-				"Queue No Descriptor Available");
 	}
 
 	for (int j = 0; j < adapter->rx_num_queues; j++, rx_que++) {

Modified: head/sys/dev/e1000/if_em.h
==============================================================================
--- head/sys/dev/e1000/if_em.h	Tue Apr  4 16:26:46 2017	(r316493)
+++ head/sys/dev/e1000/if_em.h	Tue Apr  4 16:54:46 2017	(r316494)
@@ -368,7 +368,6 @@ struct tx_ring {
 	void                    *tag;
 	struct resource         *res;
         unsigned long		tx_irq;
-        unsigned long		no_desc_avail;
 
 	/* Saved csum offloading context information */
 	int			csum_flags;


More information about the svn-src-head mailing list