summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/pci/if_ix.c11
1 files changed, 2 insertions, 9 deletions
diff --git a/sys/dev/pci/if_ix.c b/sys/dev/pci/if_ix.c
index 9592781b206..7e146b41519 100644
--- a/sys/dev/pci/if_ix.c
+++ b/sys/dev/pci/if_ix.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_ix.c,v 1.70 2012/08/11 06:53:31 mikeb Exp $ */
+/* $OpenBSD: if_ix.c,v 1.71 2012/08/13 13:14:50 mikeb Exp $ */
/******************************************************************************
@@ -1093,11 +1093,7 @@ ixgbe_encap(struct tx_ring *txr, struct mbuf *m_head)
*/
error = bus_dmamap_load_mbuf(txr->txdma.dma_tag, map,
m_head, BUS_DMA_NOWAIT);
- /* XXX EFBIG */
- if (error == ENOMEM) {
- sc->no_tx_dma_setup++;
- return (error);
- } else if (error != 0) {
+ if (error != 0) {
sc->no_tx_dma_setup++;
return (error);
}
@@ -2954,9 +2950,6 @@ ixgbe_free_receive_buffers(struct rx_ring *rxr)
* the mbufs in the descriptor and sends data which has been
* dma'ed into host memory to upper layer.
*
- * We loop at most count times if count is > 0, or until done if
- * count < 0.
- *
*********************************************************************/
int
ixgbe_rxeof(struct ix_queue *que)