summaryrefslogtreecommitdiff
path: root/usr/src/uts/sun4v/sys/vnet_gen.h
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/uts/sun4v/sys/vnet_gen.h')
-rw-r--r--usr/src/uts/sun4v/sys/vnet_gen.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/usr/src/uts/sun4v/sys/vnet_gen.h b/usr/src/uts/sun4v/sys/vnet_gen.h
index 6d44186dbe..2e5623a33e 100644
--- a/usr/src/uts/sun4v/sys/vnet_gen.h
+++ b/usr/src/uts/sun4v/sys/vnet_gen.h
@@ -20,8 +20,7 @@
*/
/*
- * Copyright 2010 Sun Microsystems, Inc. All rights reserved.
- * Use is subject to license terms.
+ * Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
*/
#ifndef _VNET_GEN_H
@@ -92,6 +91,11 @@ extern "C" {
#define VGEN_NUM_DESCRIPTORS_MIN 128 /* min # of descriptors */
+/*
+ * Number of rcv buffers in RxDringData mode
+ */
+#define VGEN_RXDRING_NRBUFS (vnet_num_descriptors * vgen_nrbufs_factor)
+
static struct ether_addr etherbroadcastaddr = {
0xff, 0xff, 0xff, 0xff, 0xff, 0xff
};