summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/io/igb/igb_buf.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/uts/common/io/igb/igb_buf.c')
-rw-r--r--usr/src/uts/common/io/igb/igb_buf.c18
1 files changed, 10 insertions, 8 deletions
diff --git a/usr/src/uts/common/io/igb/igb_buf.c b/usr/src/uts/common/io/igb/igb_buf.c
index 1571a1cc61..beeec6ea3c 100644
--- a/usr/src/uts/common/io/igb/igb_buf.c
+++ b/usr/src/uts/common/io/igb/igb_buf.c
@@ -1,19 +1,17 @@
/*
* CDDL HEADER START
*
- * Copyright(c) 2007-2009 Intel Corporation. All rights reserved.
* The contents of this file are subject to the terms of the
* Common Development and Distribution License (the "License").
* You may not use this file except in compliance with the License.
*
- * You can obtain a copy of the license at:
- * http://www.opensolaris.org/os/licensing.
+ * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
+ * or http://www.opensolaris.org/os/licensing.
* See the License for the specific language governing permissions
* and limitations under the License.
*
- * When using or redistributing this file, you may do so under the
- * License only. No other modification of this header is permitted.
- *
+ * When distributing Covered Code, include this CDDL HEADER in each
+ * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
* If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
@@ -22,8 +20,11 @@
*/
/*
- * Copyright 2010 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
+ * Copyright(c) 2007-2010 Intel Corporation. All rights reserved.
+ */
+
+/*
+ * Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved.
*/
#include "igb_sw.h"
@@ -756,6 +757,7 @@ igb_alloc_tcb_lists(igb_tx_ring_t *tx_ring)
igb_error(igb, "Allocate tx dma buffer failed");
goto alloc_tcb_lists_fail;
}
+ tcb->last_index = MAX_TX_RING_SIZE;
}
return (IGB_SUCCESS);