summaryrefslogtreecommitdiff
path: root/sys/dev/pci/if_ixgb.h
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2006-11-28 04:45:09 +0000
committerBrad Smith <brad@cvs.openbsd.org>2006-11-28 04:45:09 +0000
commit190019430f14ee0f4c750c354ec9636ef9157b2a (patch)
tree762105da08391c5e77db007fb7de102ee8466d9c /sys/dev/pci/if_ixgb.h
parentf83d6e276216af3560667ef8deb35394cbbd71f3 (diff)
Pre-allocate the TX DMA maps intead of creating and destroying a DMA map
per packet sent.
Diffstat (limited to 'sys/dev/pci/if_ixgb.h')
-rw-r--r--sys/dev/pci/if_ixgb.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/dev/pci/if_ixgb.h b/sys/dev/pci/if_ixgb.h
index be708e5eeee..4b4f8e72aa0 100644
--- a/sys/dev/pci/if_ixgb.h
+++ b/sys/dev/pci/if_ixgb.h
@@ -31,7 +31,7 @@ POSSIBILITY OF SUCH DAMAGE.
***************************************************************************/
-/* $OpenBSD: if_ixgb.h,v 1.9 2006/11/18 18:46:20 brad Exp $ */
+/* $OpenBSD: if_ixgb.h,v 1.10 2006/11/28 04:45:08 brad Exp $ */
#ifndef _IXGB_H_DEFINED_
#define _IXGB_H_DEFINED_
@@ -207,10 +207,6 @@ struct ixgb_buffer {
bus_dmamap_t map; /* bus_dma map for packet */
};
-struct ixgb_q {
- bus_dmamap_t map; /* bus_dma map for packet */
-};
-
/*
* Bus dma allocation structure used by
* ixgb_dma_malloc and ixgb_dma_free.