From 4930c61b730e44cdce66c7f71fa9f703fcae2b38 Mon Sep 17 00:00:00 2001 From: David Gwynne Date: Tue, 8 Jul 2014 05:35:20 +0000 Subject: cut things that relied on mclgeti for rx ring accounting/restriction over to using if_rxr. cut the reporting systat did over to the rxr ioctl. tested as much as i can on alpha, amd64, and sparc64. mpi@ has run it on macppc. ok mpi@ --- sys/dev/pci/if_ix.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/dev/pci/if_ix.h') diff --git a/sys/dev/pci/if_ix.h b/sys/dev/pci/if_ix.h index f7d4f326895..8a69c8504c9 100644 --- a/sys/dev/pci/if_ix.h +++ b/sys/dev/pci/if_ix.h @@ -1,4 +1,4 @@ -/* $OpenBSD: if_ix.h,v 1.24 2013/08/05 19:58:05 mikeb Exp $ */ +/* $OpenBSD: if_ix.h,v 1.25 2014/07/08 05:35:18 dlg Exp $ */ /****************************************************************************** @@ -204,7 +204,7 @@ struct rx_ring { uint next_to_refresh; uint next_to_check; uint last_desc_filled; - int rx_ndescs; + struct if_rxring rx_ring; struct ixgbe_rx_buf *rx_buffers; uint32_t bytes; /* Used for AIM calc */ -- cgit v1.2.3