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