xref: /titanic_50/usr/src/uts/common/io/ixgbe/ixgbe.conf (revision 7e579c3009252f0da48e48e80e1307bc5011b5fa)
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#
2743fab1a9SSaso Kiselkov# Copyright (c) 2013 Saso Kiselkov. All rights reserved.
28*7e579c30SDale Ghent# Copyright 2016 OmniTI Computer Consulting, Inc.  All rights reserved.
2943fab1a9SSaso Kiselkov#
309da57d7bSbt150084#
319da57d7bSbt150084# Driver.conf file for Intel 10GbE PCIE NIC Driver (ixgbe)
329da57d7bSbt150084#
339da57d7bSbt150084# -------------------- Jumbo Frame --------------------
349da57d7bSbt150084# default_mtu
359da57d7bSbt150084#	The size of the default MTU (payload without the ethernet header)
36*7e579c30SDale Ghent#	Allowed values:	1500 - 16366 (for Intel 82598 Ethernet controller)
37*7e579c30SDale Ghent#	                1500 - 15500 (for Intel 82599, X540, X550 Ethernet controller)
389da57d7bSbt150084#	Default value:	1500
399da57d7bSbt150084#
409da57d7bSbt150084# default_mtu		= 1500;
419da57d7bSbt150084#
429da57d7bSbt150084# -------------------- Flow Control --------------------
439da57d7bSbt150084# flow_control
449da57d7bSbt150084#	Ethernet flow control
459da57d7bSbt150084#	Allowed values:	0 - Disable
469da57d7bSbt150084#			1 - Receive only
479da57d7bSbt150084#			2 - Transmit only
489da57d7bSbt150084#			3 - Receive and transmit
49da14cebeSEric Cheng#	default value:	0
509da57d7bSbt150084#
519da57d7bSbt150084# flow_control		= 3;
529da57d7bSbt150084#
539da57d7bSbt150084# -------------------- Transmit/Receive Queues --------------------
549da57d7bSbt150084#
559da57d7bSbt150084# tx_ring_size
569da57d7bSbt150084#	The number of the transmit descriptors per transmit queue
579da57d7bSbt150084#	Allowed values:	64 - 4096
58da14cebeSEric Cheng#	Default value:	1024
599da57d7bSbt150084#
609da57d7bSbt150084# rx_ring_size
619da57d7bSbt150084#	The number of the receive descriptors per receive queue
629da57d7bSbt150084#	Allowed values:	64 - 4096
63da14cebeSEric Cheng#	Default value:	1024
649da57d7bSbt150084#
65da14cebeSEric Cheng# mr_enable
66da14cebeSEric Cheng#	Enable multiple tx queues and rx queues
67da14cebeSEric Cheng#	Allowed values: 0 - 1
68da14cebeSEric Cheng#	Default value:	1
69da14cebeSEric Cheng#
70da14cebeSEric Cheng# rx_group_number
71da14cebeSEric Cheng#	The number of the receive groups
720dc2366fSVenugopal Iyer#	Allowed values:	1 - 16 (for Intel 82598 10Gb ethernet controller)
73*7e579c30SDale Ghent#	Allowed values:	1 - 64 (for Intel 82599, X540, X550 10Gb ethernet controller)
74da14cebeSEric Cheng#	Default value:	1
759da57d7bSbt150084#
7643fab1a9SSaso Kiselkov# allow_unsupported_sfp
7743fab1a9SSaso Kiselkov#	Allow use of unsupported (non-Intel) SFP modules in adapters with
7843fab1a9SSaso Kiselkov#	pluggable optics
7943fab1a9SSaso Kiselkov#	Allowed values: 0 - 1
8043fab1a9SSaso Kiselkov#	Default value: 0
8143fab1a9SSaso Kiselkov#
829da57d7bSbt150084# -------- How to set parameters for a particular interface ---------
839da57d7bSbt150084# The example below shows how to locate the device path and set a parameter
849da57d7bSbt150084# for a particular ixgbe interface. (Using flow_control as an example)
859da57d7bSbt150084#
869da57d7bSbt150084# Use the following command to find out the device paths for ixgbe,
879da57d7bSbt150084#       more /etc/path_to_inst | grep ixgbe
889da57d7bSbt150084#
899da57d7bSbt150084# For example, if you see,
909da57d7bSbt150084#	"/pci@7b,0/pci10de,5d@e/pci8086,a15f@0" 0 "ixgbe"
919da57d7bSbt150084#	"/pci@7b,0/pci10de,5d@e/pci8086,a15f@0,1" 1 "ixgbe"
929da57d7bSbt150084#
939da57d7bSbt150084# name = "pciex8086,10c6" parent = "/pci@0,0/pci10de,\<pci10de\>5d@e" unit-address = "0"
949da57d7bSbt150084# flow_control = 1;
959da57d7bSbt150084# name = "pciex8086,10c6" parent = "/pci@0,0/\<pci\>pci10de,5d@e" unit-address = "1"
969da57d7bSbt150084# flow_control = 3;
97