xref: /titanic_41/usr/src/uts/common/io/ixgbe/ixgbe.conf (revision 43fab1a9f38ff02e665a874ea0a8eb3818e61ff3)
19da57d7bSbt150084#
29da57d7bSbt150084# CDDL HEADER START
39da57d7bSbt150084#
49da57d7bSbt150084# The contents of this file are subject to the terms of the
59da57d7bSbt150084# Common Development and Distribution License (the "License").
69da57d7bSbt150084# You may not use this file except in compliance with the License.
79da57d7bSbt150084#
8da14cebeSEric Cheng# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9da14cebeSEric Cheng# or http://www.opensolaris.org/os/licensing.
109da57d7bSbt150084# See the License for the specific language governing permissions
119da57d7bSbt150084# and limitations under the License.
129da57d7bSbt150084#
13da14cebeSEric Cheng# When distributing Covered Code, include this CDDL HEADER in each
14da14cebeSEric Cheng# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
159da57d7bSbt150084# If applicable, add the following below this CDDL HEADER, with the
169da57d7bSbt150084# fields enclosed by brackets "[]" replaced with your own identifying
179da57d7bSbt150084# information: Portions Copyright [yyyy] [name of copyright owner]
189da57d7bSbt150084#
199da57d7bSbt150084# CDDL HEADER END
209da57d7bSbt150084#
219da57d7bSbt150084#
22da14cebeSEric Cheng# Copyright(c) 2007-2008 Intel Corporation. All rights reserved.
23da14cebeSEric Cheng#
240dc2366fSVenugopal Iyer# Copyright 2010 Sun Microsystems, Inc.  All rights reserved.
25da14cebeSEric Cheng# Use is subject to license terms.
269da57d7bSbt150084#
27*43fab1a9SSaso Kiselkov# Copyright (c) 2013 Saso Kiselkov. All rights reserved.
28*43fab1a9SSaso Kiselkov#
299da57d7bSbt150084#
309da57d7bSbt150084# Driver.conf file for Intel 10GbE PCIE NIC Driver (ixgbe)
319da57d7bSbt150084#
329da57d7bSbt150084# -------------------- Jumbo Frame --------------------
339da57d7bSbt150084# default_mtu
349da57d7bSbt150084#	The size of the default MTU (payload without the ethernet header)
351fedc51fSWinson Wang - Sun Microsystems - Beijing China#	Allowed values:	1500 - 16366 (for Intel 82598 10Gb Ethernet controller)
361fedc51fSWinson Wang - Sun Microsystems - Beijing China#	                1500 - 15500 (for Intel 82599 10Gb Ethernet controller)
379da57d7bSbt150084#	Default value:	1500
389da57d7bSbt150084#
399da57d7bSbt150084# default_mtu		= 1500;
409da57d7bSbt150084#
419da57d7bSbt150084# -------------------- Flow Control --------------------
429da57d7bSbt150084# flow_control
439da57d7bSbt150084#	Ethernet flow control
449da57d7bSbt150084#	Allowed values:	0 - Disable
459da57d7bSbt150084#			1 - Receive only
469da57d7bSbt150084#			2 - Transmit only
479da57d7bSbt150084#			3 - Receive and transmit
48da14cebeSEric Cheng#	default value:	0
499da57d7bSbt150084#
509da57d7bSbt150084# flow_control		= 3;
519da57d7bSbt150084#
529da57d7bSbt150084# -------------------- Transmit/Receive Queues --------------------
539da57d7bSbt150084#
549da57d7bSbt150084# tx_ring_size
559da57d7bSbt150084#	The number of the transmit descriptors per transmit queue
569da57d7bSbt150084#	Allowed values:	64 - 4096
57da14cebeSEric Cheng#	Default value:	1024
589da57d7bSbt150084#
599da57d7bSbt150084# rx_ring_size
609da57d7bSbt150084#	The number of the receive descriptors per receive queue
619da57d7bSbt150084#	Allowed values:	64 - 4096
62da14cebeSEric Cheng#	Default value:	1024
639da57d7bSbt150084#
64da14cebeSEric Cheng# mr_enable
65da14cebeSEric Cheng#	Enable multiple tx queues and rx queues
66da14cebeSEric Cheng#	Allowed values: 0 - 1
67da14cebeSEric Cheng#	Default value:	1
68da14cebeSEric Cheng#
69da14cebeSEric Cheng# rx_group_number
70da14cebeSEric Cheng#	The number of the receive groups
710dc2366fSVenugopal Iyer#	Allowed values:	1 - 16 (for Intel 82598 10Gb ethernet controller)
720dc2366fSVenugopal Iyer#	Allowed values:	1 - 64 (for Intel 82599 10Gb ethernet controller)
73da14cebeSEric Cheng#	Default value:	1
749da57d7bSbt150084#
75*43fab1a9SSaso Kiselkov# allow_unsupported_sfp
76*43fab1a9SSaso Kiselkov#	Allow use of unsupported (non-Intel) SFP modules in adapters with
77*43fab1a9SSaso Kiselkov#	pluggable optics
78*43fab1a9SSaso Kiselkov#	Allowed values: 0 - 1
79*43fab1a9SSaso Kiselkov#	Default value: 0
80*43fab1a9SSaso Kiselkov#
819da57d7bSbt150084# -------- How to set parameters for a particular interface ---------
829da57d7bSbt150084# The example below shows how to locate the device path and set a parameter
839da57d7bSbt150084# for a particular ixgbe interface. (Using flow_control as an example)
849da57d7bSbt150084#
859da57d7bSbt150084# Use the following command to find out the device paths for ixgbe,
869da57d7bSbt150084#       more /etc/path_to_inst | grep ixgbe
879da57d7bSbt150084#
889da57d7bSbt150084# For example, if you see,
899da57d7bSbt150084#	"/pci@7b,0/pci10de,5d@e/pci8086,a15f@0" 0 "ixgbe"
909da57d7bSbt150084#	"/pci@7b,0/pci10de,5d@e/pci8086,a15f@0,1" 1 "ixgbe"
919da57d7bSbt150084#
929da57d7bSbt150084# name = "pciex8086,10c6" parent = "/pci@0,0/pci10de,\<pci10de\>5d@e" unit-address = "0"
939da57d7bSbt150084# flow_control = 1;
949da57d7bSbt150084# name = "pciex8086,10c6" parent = "/pci@0,0/\<pci\>pci10de,5d@e" unit-address = "1"
959da57d7bSbt150084# flow_control = 3;
96