diff options
author | Brad Smith <brad@cvs.openbsd.org> | 2006-11-28 04:45:09 +0000 |
---|---|---|
committer | Brad Smith <brad@cvs.openbsd.org> | 2006-11-28 04:45:09 +0000 |
commit | 190019430f14ee0f4c750c354ec9636ef9157b2a (patch) | |
tree | 762105da08391c5e77db007fb7de102ee8466d9c /sys/dev/pci/if_ixgb.h | |
parent | f83d6e276216af3560667ef8deb35394cbbd71f3 (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.h | 6 |
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. |