ixgbe.conf revision 9da57d7b0ddd8d73b676ce12c040362132cdd538
9da57d7b0ddd8d73b676ce12c040362132cdd538bt#
9da57d7b0ddd8d73b676ce12c040362132cdd538bt# CDDL HEADER START
9da57d7b0ddd8d73b676ce12c040362132cdd538bt#
9da57d7b0ddd8d73b676ce12c040362132cdd538bt# Copyright(c) 2007-2008 Intel Corporation. All rights reserved.
9da57d7b0ddd8d73b676ce12c040362132cdd538bt# The contents of this file are subject to the terms of the
9da57d7b0ddd8d73b676ce12c040362132cdd538bt# Common Development and Distribution License (the "License").
9da57d7b0ddd8d73b676ce12c040362132cdd538bt# You may not use this file except in compliance with the License.
9da57d7b0ddd8d73b676ce12c040362132cdd538bt#
9da57d7b0ddd8d73b676ce12c040362132cdd538bt# You can obtain a copy of the license at:
9da57d7b0ddd8d73b676ce12c040362132cdd538bt# http://www.opensolaris.org/os/licensing.
9da57d7b0ddd8d73b676ce12c040362132cdd538bt# See the License for the specific language governing permissions
9da57d7b0ddd8d73b676ce12c040362132cdd538bt# and limitations under the License.
9da57d7b0ddd8d73b676ce12c040362132cdd538bt#
9da57d7b0ddd8d73b676ce12c040362132cdd538bt# When using or redistributing this file, you may do so under the
9da57d7b0ddd8d73b676ce12c040362132cdd538bt# License only. No other modification of this header is permitted.
9da57d7b0ddd8d73b676ce12c040362132cdd538bt#
9da57d7b0ddd8d73b676ce12c040362132cdd538bt# If applicable, add the following below this CDDL HEADER, with the
9da57d7b0ddd8d73b676ce12c040362132cdd538bt# fields enclosed by brackets "[]" replaced with your own identifying
9da57d7b0ddd8d73b676ce12c040362132cdd538bt# information: Portions Copyright [yyyy] [name of copyright owner]
9da57d7b0ddd8d73b676ce12c040362132cdd538bt#
9da57d7b0ddd8d73b676ce12c040362132cdd538bt# CDDL HEADER END
9da57d7b0ddd8d73b676ce12c040362132cdd538bt#
9da57d7b0ddd8d73b676ce12c040362132cdd538bt#
9da57d7b0ddd8d73b676ce12c040362132cdd538bt# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
9da57d7b0ddd8d73b676ce12c040362132cdd538bt# Use is subject to license terms of the CDDL.
9da57d7b0ddd8d73b676ce12c040362132cdd538bt#
9da57d7b0ddd8d73b676ce12c040362132cdd538bt#
9da57d7b0ddd8d73b676ce12c040362132cdd538bt# ident "%Z%%M% %I% %E% SMI"
9da57d7b0ddd8d73b676ce12c040362132cdd538bt#
9da57d7b0ddd8d73b676ce12c040362132cdd538bt#
9da57d7b0ddd8d73b676ce12c040362132cdd538bt# Driver.conf file for Intel 10GbE PCIE NIC Driver (ixgbe)
9da57d7b0ddd8d73b676ce12c040362132cdd538bt#
9da57d7b0ddd8d73b676ce12c040362132cdd538bt# -------------------- Jumbo Frame --------------------
9da57d7b0ddd8d73b676ce12c040362132cdd538bt# default_mtu
9da57d7b0ddd8d73b676ce12c040362132cdd538bt# The size of the default MTU (payload without the ethernet header)
9da57d7b0ddd8d73b676ce12c040362132cdd538bt# Allowed values: 1500 - 16366
9da57d7b0ddd8d73b676ce12c040362132cdd538bt# Default value: 1500
9da57d7b0ddd8d73b676ce12c040362132cdd538bt#
9da57d7b0ddd8d73b676ce12c040362132cdd538bt# default_mtu = 1500;
9da57d7b0ddd8d73b676ce12c040362132cdd538bt#
9da57d7b0ddd8d73b676ce12c040362132cdd538bt# -------------------- Flow Control --------------------
9da57d7b0ddd8d73b676ce12c040362132cdd538bt# flow_control
9da57d7b0ddd8d73b676ce12c040362132cdd538bt# Ethernet flow control
9da57d7b0ddd8d73b676ce12c040362132cdd538bt# Allowed values: 0 - Disable
9da57d7b0ddd8d73b676ce12c040362132cdd538bt# 1 - Receive only
9da57d7b0ddd8d73b676ce12c040362132cdd538bt# 2 - Transmit only
9da57d7b0ddd8d73b676ce12c040362132cdd538bt# 3 - Receive and transmit
9da57d7b0ddd8d73b676ce12c040362132cdd538bt# default value: 3
9da57d7b0ddd8d73b676ce12c040362132cdd538bt#
9da57d7b0ddd8d73b676ce12c040362132cdd538bt# flow_control = 3;
9da57d7b0ddd8d73b676ce12c040362132cdd538bt#
9da57d7b0ddd8d73b676ce12c040362132cdd538bt# -------------------- Transmit/Receive Queues --------------------
9da57d7b0ddd8d73b676ce12c040362132cdd538bt# tx/rx queue.
9da57d7b0ddd8d73b676ce12c040362132cdd538bt# tx_queue_number
9da57d7b0ddd8d73b676ce12c040362132cdd538bt# The number of the transmit queues
9da57d7b0ddd8d73b676ce12c040362132cdd538bt# Allowed values: 1 - 32
9da57d7b0ddd8d73b676ce12c040362132cdd538bt# Default value: 1
9da57d7b0ddd8d73b676ce12c040362132cdd538bt#
9da57d7b0ddd8d73b676ce12c040362132cdd538bt# tx_ring_size
9da57d7b0ddd8d73b676ce12c040362132cdd538bt# The number of the transmit descriptors per transmit queue
9da57d7b0ddd8d73b676ce12c040362132cdd538bt# Allowed values: 64 - 4096
9da57d7b0ddd8d73b676ce12c040362132cdd538bt# Default value: 512
9da57d7b0ddd8d73b676ce12c040362132cdd538bt#
9da57d7b0ddd8d73b676ce12c040362132cdd538bt# rx_queue_number
9da57d7b0ddd8d73b676ce12c040362132cdd538bt# The number of the receive queues
9da57d7b0ddd8d73b676ce12c040362132cdd538bt# Allowed values: 1 - 64
9da57d7b0ddd8d73b676ce12c040362132cdd538bt# Default value: 1
9da57d7b0ddd8d73b676ce12c040362132cdd538bt#
9da57d7b0ddd8d73b676ce12c040362132cdd538bt# rx_ring_size
9da57d7b0ddd8d73b676ce12c040362132cdd538bt# The number of the receive descriptors per receive queue
9da57d7b0ddd8d73b676ce12c040362132cdd538bt# Allowed values: 64 - 4096
9da57d7b0ddd8d73b676ce12c040362132cdd538bt# Default value: 512
9da57d7b0ddd8d73b676ce12c040362132cdd538bt#
9da57d7b0ddd8d73b676ce12c040362132cdd538bt# Note: The final values of tx_queue_number and rx_queue_number are decided
9da57d7b0ddd8d73b676ce12c040362132cdd538bt# by the number of interrupt vectors obtained by the driver. They could be
9da57d7b0ddd8d73b676ce12c040362132cdd538bt# less than the specified values because of limited interrupt vector number.
9da57d7b0ddd8d73b676ce12c040362132cdd538bt#
9da57d7b0ddd8d73b676ce12c040362132cdd538bt# -------- How to set parameters for a particular interface ---------
9da57d7b0ddd8d73b676ce12c040362132cdd538bt# The example below shows how to locate the device path and set a parameter
9da57d7b0ddd8d73b676ce12c040362132cdd538bt# for a particular ixgbe interface. (Using flow_control as an example)
9da57d7b0ddd8d73b676ce12c040362132cdd538bt#
9da57d7b0ddd8d73b676ce12c040362132cdd538bt# Use the following command to find out the device paths for ixgbe,
9da57d7b0ddd8d73b676ce12c040362132cdd538bt# more /etc/path_to_inst | grep ixgbe
9da57d7b0ddd8d73b676ce12c040362132cdd538bt#
9da57d7b0ddd8d73b676ce12c040362132cdd538bt# For example, if you see,
9da57d7b0ddd8d73b676ce12c040362132cdd538bt# "/pci@7b,0/pci10de,5d@e/pci8086,a15f@0" 0 "ixgbe"
9da57d7b0ddd8d73b676ce12c040362132cdd538bt# "/pci@7b,0/pci10de,5d@e/pci8086,a15f@0,1" 1 "ixgbe"
9da57d7b0ddd8d73b676ce12c040362132cdd538bt#
9da57d7b0ddd8d73b676ce12c040362132cdd538bt# name = "pciex8086,10c6" parent = "/pci@0,0/pci10de,\<pci10de\>5d@e" unit-address = "0"
9da57d7b0ddd8d73b676ce12c040362132cdd538bt# flow_control = 1;
9da57d7b0ddd8d73b676ce12c040362132cdd538bt# name = "pciex8086,10c6" parent = "/pci@0,0/\<pci\>pci10de,5d@e" unit-address = "1"
9da57d7b0ddd8d73b676ce12c040362132cdd538bt# flow_control = 3;