xref: /titanic_50/usr/src/uts/common/io/hxge/hxge.conf (revision fdf4286765e129590dce97b37d12188bf7000b58)
1#
2# CDDL HEADER START
3#
4# The contents of this file are subject to the terms of the
5# Common Development and Distribution License (the "License").
6# You may not use this file except in compliance with the License.
7#
8# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9# or http://www.opensolaris.org/os/licensing.
10# See the License for the specific language governing permissions
11# and limitations under the License.
12#
13# When distributing Covered Code, include this CDDL HEADER in each
14# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15# If applicable, add the following below this CDDL HEADER, with the
16# fields enclosed by brackets "[]" replaced with your own identifying
17# information: Portions Copyright [yyyy] [name of copyright owner]
18#
19# CDDL HEADER END
20#
21#########################################################################
22#
23# Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
24# Use is subject to license terms.
25#
26# ident	"%Z%%M%	%I%	%E% SMI"
27#
28#
29# driver.conf file for Sun 10Gb Ethernet Driver (hxge)
30#
31#
32#------- Jumbo frame support ---------------------------------
33# To enable jumbo support,
34# accept-jumbo = 1;
35#
36# To disable jumbo support,
37# accept-jumbo = 0;
38#
39# Default is 0.
40#
41#
42#------- Receive DMA Configuration ----------------------------
43#
44# rxdma-intr-time
45#	Interrupts after this number of NIU hardware ticks have
46#	elapsed since the last packet was received.
47#	A value of zero means no time blanking (Default = 8).
48#
49# rxdma-intr-pkts
50#	Interrupt after this number of packets have arrived since
51#	the last packet was serviced. A value of zero indicates
52#	no packet blanking (Default = 0x20).
53#
54# Default Interrupt Blanking parameters.
55#
56# rxdma-intr-time = 0x8;
57# rxdma-intr-pkts = 0x20;
58#
59#
60#------- Classification and Load Distribution Configuration ------
61#
62# class-opt-****-***
63# 	These variables define how each IP class is configured.
64#	Configuration options includes whether TCAM lookup
65#	is enabled and whether to discard packets of this class
66#
67#	supported classes:
68#	class-opt-ipv4-tcp class-opt-ipv4-udp class-opt-ipv4-sctp
69#	class-opt-ipv4-ah class-opt-ipv6-tcp class-opt-ipv6-udp
70#	class-opt-ipv6-sctp class-opt-ipv6-ah
71#
72#	Configuration bits (The following bits will be decoded
73#	by the driver as hex format).
74#
75# 	0x10000:		TCAM lookup for this IP class
76#	0x20000:		Discard packets of this IP class
77#
78# class-opt-ipv4-tcp = 0x10000;
79# class-opt-ipv4-udp = 0x10000;
80# class-opt-ipv4-sctp = 0x10000;
81# class-opt-ipv4-ah = 0x10000;
82# class-opt-ipv6-tcp = 0x10000;
83# class-opt-ipv6-udp = 0x10000;
84# class-opt-ipv6-sctp = 0x10000;
85# class-opt-ipv6-ah = 0x10000;
86#
87#
88#------- FMA Capabilities ---------------------------------
89#
90# Change FMA capabilities to non-default
91#
92# DDI_FM_NOT_CAPABLE      0x00000000
93# DDI_FM_EREPORT_CAPABLE  0x00000001
94# DDI_FM_ACCCHK_CAPABLE   0x00000002
95# DDI_FM_DMACHK_CAPABLE   0x00000004
96# DDI_FM_ERRCB_CAPABLE    0x00000008
97#
98# fm-capable = 0xF;
99#
100# default is DDI_FM_EREPORT_CAPABLE | DDI_FM_ERRCB_CAPABLE = 0x5
101