xref: /illumos-gate/usr/src/uts/common/io/ixgbe/ixgbe.conf (revision dc0cb1cd)
19da57d7bSbt#
29da57d7bSbt# CDDL HEADER START
39da57d7bSbt#
49da57d7bSbt# The contents of this file are subject to the terms of the
59da57d7bSbt# Common Development and Distribution License (the "License").
69da57d7bSbt# You may not use this file except in compliance with the License.
79da57d7bSbt#
8da14cebeSEric Cheng# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9da14cebeSEric Cheng# or http://www.opensolaris.org/os/licensing.
109da57d7bSbt# See the License for the specific language governing permissions
119da57d7bSbt# and limitations under the License.
129da57d7bSbt#
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.
159da57d7bSbt# If applicable, add the following below this CDDL HEADER, with the
169da57d7bSbt# fields enclosed by brackets "[]" replaced with your own identifying
179da57d7bSbt# information: Portions Copyright [yyyy] [name of copyright owner]
189da57d7bSbt#
199da57d7bSbt# CDDL HEADER END
209da57d7bSbt#
219da57d7bSbt#
22da14cebeSEric Cheng# Copyright(c) 2007-2008 Intel Corporation. All rights reserved.
239da57d7bSbt#
240dc2366fSVenugopal Iyer# Copyright 2010 Sun Microsystems, Inc.  All rights reserved.
25da14cebeSEric Cheng# Use is subject to license terms.
269da57d7bSbt#
2743fab1a9SSaso Kiselkov# Copyright (c) 2013 Saso Kiselkov. All rights reserved.
28*dc0cb1cdSDale Ghent# Copyright 2016 OmniTI Computer Consulting, Inc.  All rights reserved.
2943fab1a9SSaso Kiselkov#
309da57d7bSbt#
319da57d7bSbt# Driver.conf file for Intel 10GbE PCIE NIC Driver (ixgbe)
329da57d7bSbt#
339da57d7bSbt# -------------------- Jumbo Frame --------------------
349da57d7bSbt# default_mtu
359da57d7bSbt#	The size of the default MTU (payload without the ethernet header)
36*dc0cb1cdSDale Ghent#	Allowed values:	1500 - 16366 (for Intel 82598 Ethernet controller)
37*dc0cb1cdSDale Ghent#	                1500 - 15500 (for Intel 82599, X540, X550 Ethernet controller)
389da57d7bSbt#	Default value:	1500
399da57d7bSbt#
409da57d7bSbt# default_mtu		= 1500;
419da57d7bSbt#
429da57d7bSbt# -------------------- Flow Control --------------------
439da57d7bSbt# flow_control
449da57d7bSbt#	Ethernet flow control
459da57d7bSbt#	Allowed values:	0 - Disable
469da57d7bSbt#			1 - Receive only
479da57d7bSbt#			2 - Transmit only
489da57d7bSbt#			3 - Receive and transmit
49da14cebeSEric Cheng#	default value:	0
509da57d7bSbt#
519da57d7bSbt# flow_control		= 3;
529da57d7bSbt#
539da57d7bSbt# -------------------- Transmit/Receive Queues --------------------
549da57d7bSbt#
559da57d7bSbt# tx_ring_size
569da57d7bSbt#	The number of the transmit descriptors per transmit queue
579da57d7bSbt#	Allowed values:	64 - 4096
58da14cebeSEric Cheng#	Default value:	1024
599da57d7bSbt#
609da57d7bSbt# rx_ring_size
619da57d7bSbt#	The number of the receive descriptors per receive queue
629da57d7bSbt#	Allowed values:	64 - 4096
63da14cebeSEric Cheng#	Default value:	1024
649da57d7bSbt#
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*dc0cb1cdSDale Ghent#	Allowed values:	1 - 64 (for Intel 82599, X540, X550 10Gb ethernet controller)
74da14cebeSEric Cheng#	Default value:	1
759da57d7bSbt#
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#
829da57d7bSbt# -------- How to set parameters for a particular interface ---------
839da57d7bSbt# The example below shows how to locate the device path and set a parameter
849da57d7bSbt# for a particular ixgbe interface. (Using flow_control as an example)
859da57d7bSbt#
869da57d7bSbt# Use the following command to find out the device paths for ixgbe,
879da57d7bSbt#       more /etc/path_to_inst | grep ixgbe
889da57d7bSbt#
899da57d7bSbt# For example, if you see,
909da57d7bSbt#	"/pci@7b,0/pci10de,5d@e/pci8086,a15f@0" 0 "ixgbe"
919da57d7bSbt#	"/pci@7b,0/pci10de,5d@e/pci8086,a15f@0,1" 1 "ixgbe"
929da57d7bSbt#
939da57d7bSbt# name = "pciex8086,10c6" parent = "/pci@0,0/pci10de,\<pci10de\>5d@e" unit-address = "0"
949da57d7bSbt# flow_control = 1;
959da57d7bSbt# name = "pciex8086,10c6" parent = "/pci@0,0/\<pci\>pci10de,5d@e" unit-address = "1"
969da57d7bSbt# flow_control = 3;
97