xref: /dflybsd-src/share/man/man4/ix.4 (revision fb3c2c0caaaa0e5d800e088b7dd7983e9ab009ec)
179251f5eSSepherosa Ziehau.\" Copyright (c) 2001-2008, Intel Corporation
279251f5eSSepherosa Ziehau.\" All rights reserved.
379251f5eSSepherosa Ziehau.\"
479251f5eSSepherosa Ziehau.\" Redistribution and use in source and binary forms, with or without
579251f5eSSepherosa Ziehau.\" modification, are permitted provided that the following conditions are met:
679251f5eSSepherosa Ziehau.\"
779251f5eSSepherosa Ziehau.\" 1. Redistributions of source code must retain the above copyright notice,
879251f5eSSepherosa Ziehau.\"    this list of conditions and the following disclaimer.
979251f5eSSepherosa Ziehau.\"
1079251f5eSSepherosa Ziehau.\" 2. Redistributions in binary form must reproduce the above copyright
1179251f5eSSepherosa Ziehau.\"    notice, this list of conditions and the following disclaimer in the
1279251f5eSSepherosa Ziehau.\"    documentation and/or other materials provided with the distribution.
1379251f5eSSepherosa Ziehau.\"
1479251f5eSSepherosa Ziehau.\" 3. Neither the name of the Intel Corporation nor the names of its
1579251f5eSSepherosa Ziehau.\"    contributors may be used to endorse or promote products derived from
1679251f5eSSepherosa Ziehau.\"    this software without specific prior written permission.
1779251f5eSSepherosa Ziehau.\"
1879251f5eSSepherosa Ziehau.\" THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
1979251f5eSSepherosa Ziehau.\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
2079251f5eSSepherosa Ziehau.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
2179251f5eSSepherosa Ziehau.\" ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
2279251f5eSSepherosa Ziehau.\" LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
2379251f5eSSepherosa Ziehau.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
2479251f5eSSepherosa Ziehau.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
2579251f5eSSepherosa Ziehau.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
2679251f5eSSepherosa Ziehau.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
2779251f5eSSepherosa Ziehau.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
2879251f5eSSepherosa Ziehau.\" POSSIBILITY OF SUCH DAMAGE.
2979251f5eSSepherosa Ziehau.\"
3079251f5eSSepherosa Ziehau.\" * Other names and brands may be claimed as the property of others.
3179251f5eSSepherosa Ziehau.\"
3279251f5eSSepherosa Ziehau.\" $FreeBSD: src/share/man/man4/ixgbe.4,v 1.2 2008/06/17 21:14:02 brueffer Exp $
3379251f5eSSepherosa Ziehau.\"
34*b904a3a0SSepherosa Ziehau.Dd December 17, 2017
3579251f5eSSepherosa Ziehau.Dt IX 4
3679251f5eSSepherosa Ziehau.Os
3779251f5eSSepherosa Ziehau.Sh NAME
3879251f5eSSepherosa Ziehau.Nm ix
3979251f5eSSepherosa Ziehau.Nd "Intel(R) 10Gb Ethernet driver"
4079251f5eSSepherosa Ziehau.Sh SYNOPSIS
4179251f5eSSepherosa ZiehauTo compile this driver into the kernel,
4279251f5eSSepherosa Ziehauplace the following line in your
4379251f5eSSepherosa Ziehaukernel configuration file:
4479251f5eSSepherosa Ziehau.Bd -ragged -offset indent
4579251f5eSSepherosa Ziehau.Cd "device ix"
4679251f5eSSepherosa Ziehau.Ed
4779251f5eSSepherosa Ziehau.Pp
4879251f5eSSepherosa ZiehauAlternatively, to load the driver as a
4979251f5eSSepherosa Ziehaumodule at boot time, place the following line in
5079251f5eSSepherosa Ziehau.Xr loader.conf 5 :
5179251f5eSSepherosa Ziehau.Bd -literal -offset indent
5279251f5eSSepherosa Ziehauif_ix_load="YES"
5379251f5eSSepherosa Ziehau.Ed
5479251f5eSSepherosa Ziehau.Sh DESCRIPTION
5579251f5eSSepherosa ZiehauThe
5679251f5eSSepherosa Ziehau.Nm
57b0af36dbSSepherosa Ziehaudriver provides support for PCI Express 10Gb Ethernet adapters based on
5879251f5eSSepherosa Ziehauthe Intel
59b0af36dbSSepherosa Ziehau82598,
60b0af36dbSSepherosa Ziehau82599,
61b0af36dbSSepherosa Ziehauand
6279251f5eSSepherosa ZiehauX540
63b0af36dbSSepherosa ZiehauEthernet controller chips.
64b0af36dbSSepherosa ZiehauThe
65b0af36dbSSepherosa Ziehau.Nm
66b0af36dbSSepherosa Ziehaudriver supports:
6779251f5eSSepherosa Ziehau.Pp
68b0af36dbSSepherosa Ziehau.Bl -item -offset indent -compact
69b0af36dbSSepherosa Ziehau.It
70b0af36dbSSepherosa ZiehauTransmit/Receive checksum offload for IP/UDP/TCP.
71b0af36dbSSepherosa Ziehau.\"Jumbo Frames.
72b0af36dbSSepherosa Ziehau.It
73b0af36dbSSepherosa ZiehauInterrupt moderation
74b0af36dbSSepherosa Ziehau.It
75b0af36dbSSepherosa ZiehauTCP segmentation offload (TSO)
76b0af36dbSSepherosa Ziehau.It
77b0af36dbSSepherosa ZiehauReceive side scaling (RSS)
78b0af36dbSSepherosa Ziehau.It
79b0af36dbSSepherosa ZiehauMultiple tranmission queues
80b0af36dbSSepherosa Ziehau.It
81b0af36dbSSepherosa ZiehauMultiple vector MSI-X
82b0af36dbSSepherosa Ziehau.It
83b0af36dbSSepherosa ZiehauVLAN tag stripping and inserting
84b0af36dbSSepherosa Ziehau.El
8579251f5eSSepherosa Ziehau.Pp
86b0af36dbSSepherosa ZiehauIf
87b0af36dbSSepherosa Ziehau.Xr polling 4
88b0af36dbSSepherosa Ziehauor MSI-X is used,
89b0af36dbSSepherosa Ziehauby default,
90b0af36dbSSepherosa Ziehauthe
91b0af36dbSSepherosa Ziehau.Nm
92b0af36dbSSepherosa Ziehaudriver will try enabling as many reception queues and transmission queues
93b0af36dbSSepherosa Ziehauas are allowed by the number of CPUs in the system.
9479251f5eSSepherosa Ziehau.Pp
95b0af36dbSSepherosa ZiehauIf multiple transmission queues are used,
96b0af36dbSSepherosa Ziehauthe round-robin arbitration is performed among the transmission queues.
97f7ef8adeSSepherosa ZiehauAnd if both TSO and multiple tranmission queues are used,
98f7ef8adeSSepherosa Ziehauthe round-robin arbitration between transmission queues is done at the
99b0af36dbSSepherosa ZiehauTCP segment boundary after the hardware segmentation is performed.
100b0af36dbSSepherosa Ziehau.Pp
101b0af36dbSSepherosa Ziehau82598 supports 16 reception queues and 32 transmission queues.
102b0af36dbSSepherosa ZiehauMSI-X is not enabled due to hardware errata.
103b0af36dbSSepherosa ZiehauUnder MSI or legacy interrupt mode,
104b0af36dbSSepherosa Ziehau2 reception queues are enabled for hardware RSS hash
105b0af36dbSSepherosa Ziehauand only 1 transmission queue is enable.
106b0af36dbSSepherosa Ziehau.Pp
107b0af36dbSSepherosa Ziehau82599 and X540 supports 16 reception queues and 64 transmission queues.
108b0af36dbSSepherosa ZiehauMSI-X is enable by default.
109b0af36dbSSepherosa ZiehauHowever,
110b0af36dbSSepherosa Ziehaudue to the number of MSI-X vectors is 64,
111b0af36dbSSepherosa Ziehauat most 16 reception queues and 32 transmission queues will be enabled
112b0af36dbSSepherosa Ziehauunder MSI-X mode.
113b0af36dbSSepherosa Ziehau.Pp
114060fa21cSSepherosa ZiehauThe
115060fa21cSSepherosa Ziehau.Nm
116060fa21cSSepherosa Ziehaudriver supports the following media types:
117060fa21cSSepherosa Ziehau.Bl -tag -width ".Cm autoselect"
118060fa21cSSepherosa Ziehau.It Cm autoselect
119060fa21cSSepherosa ZiehauEnables auto-negotiation for speed and duplex.
120060fa21cSSepherosa Ziehau.El
121060fa21cSSepherosa Ziehau.Pp
122060fa21cSSepherosa ZiehauThe
123060fa21cSSepherosa Ziehau.Nm
124060fa21cSSepherosa Ziehaudriver supports the following media options:
125060fa21cSSepherosa Ziehau.Bl -tag -width ".Cm forcepause"
126060fa21cSSepherosa Ziehau.It Cm rxpause
127060fa21cSSepherosa ZiehauEnable flow control PAUSE reception.
128060fa21cSSepherosa Ziehau.It Cm txpause
129060fa21cSSepherosa ZiehauEnable flow control PAUSE transmission.
130060fa21cSSepherosa Ziehau.It Cm forcepause
131060fa21cSSepherosa ZiehauForce flow control PAUSE operation as configured by
132060fa21cSSepherosa Ziehau.Cm rxpause
133060fa21cSSepherosa Ziehauand
134060fa21cSSepherosa Ziehau.Cm txpause
135060fa21cSSepherosa Ziehaumedia options.
136060fa21cSSepherosa Ziehau.El
137060fa21cSSepherosa Ziehau.Pp
138b0af36dbSSepherosa ZiehauFor more information on configuring this device, see
13979251f5eSSepherosa Ziehau.Xr ifconfig 8 .
140b0af36dbSSepherosa ZiehauThe
141b0af36dbSSepherosa Ziehau.Nm
142b0af36dbSSepherosa Ziehaudriver supports
143b0af36dbSSepherosa Ziehau.Xr polling 4 .
14479251f5eSSepherosa Ziehau.Sh HARDWARE
14579251f5eSSepherosa ZiehauThe
14679251f5eSSepherosa Ziehau.Nm
147b0af36dbSSepherosa Ziehaudriver supports Gigabit Ethernet adapters based on the Intel
148b0af36dbSSepherosa Ziehau82598,
149b0af36dbSSepherosa Ziehau82599,
150b0af36dbSSepherosa Ziehauand
151b0af36dbSSepherosa ZiehauX540
152b0af36dbSSepherosa Ziehaucontroller chips:
15379251f5eSSepherosa Ziehau.Pp
15479251f5eSSepherosa Ziehau.Bl -bullet -compact
15579251f5eSSepherosa Ziehau.It
156*b904a3a0SSepherosa ZiehauIntel 10 Gigabit AT Server Adapter
15763d483cdSSepherosa Ziehau.It
15863d483cdSSepherosa ZiehauIntel 82598EB 10 Gigabit Ethernet Controller
15963d483cdSSepherosa Ziehau.It
160*b904a3a0SSepherosa ZiehauIntel 82599EB 10 Gigabit Ethernet Controller
161*b904a3a0SSepherosa Ziehau.It
162*b904a3a0SSepherosa ZiehauIntel 82599EN 10 Gigabit Ethernet Controller
16363d483cdSSepherosa Ziehau.It
16463d483cdSSepherosa ZiehauIntel 82599ES 10 Gigabit Ethernet Controller
16563d483cdSSepherosa Ziehau.It
1666150453fSSepherosa ZiehauIntel Ethernet Controller X540-AT2
16779251f5eSSepherosa Ziehau.It
168*b904a3a0SSepherosa ZiehauIntel Ethernet Controller X550-AT
1696150453fSSepherosa Ziehau.It
1706150453fSSepherosa ZiehauIntel Ethernet Controller X550-AT2
1716150453fSSepherosa Ziehau.It
172*b904a3a0SSepherosa ZiehauIntel Ethernet Controller X550-BT2
173*b904a3a0SSepherosa Ziehau.It
174*b904a3a0SSepherosa ZiehauIntel Ethernet Connection X557-AT
175*b904a3a0SSepherosa Ziehau.It
176*b904a3a0SSepherosa ZiehauIntel Ethernet Connection X557-AT2
177*b904a3a0SSepherosa Ziehau.It
1786150453fSSepherosa ZiehauIntel Ethernet Connection X557-AT4
1796150453fSSepherosa Ziehau.It
180*b904a3a0SSepherosa ZiehauIntel Ethernet Controller X710-AM2
181*b904a3a0SSepherosa Ziehau.It
182*b904a3a0SSepherosa ZiehauIntel Ethernet Converged Network Adapter X520-DA1
183*b904a3a0SSepherosa Ziehau.It
184*b904a3a0SSepherosa ZiehauIntel Ethernet Converged Network Adapter X520-DA2
185*b904a3a0SSepherosa Ziehau.It
186*b904a3a0SSepherosa ZiehauIntel Ethernet Converged Network Adapter X520-LR1
187*b904a3a0SSepherosa Ziehau.It
188*b904a3a0SSepherosa ZiehauIntel Ethernet Converged Network Adapter X520-QDA1
189*b904a3a0SSepherosa Ziehau.It
190*b904a3a0SSepherosa ZiehauIntel Ethernet Converged Network Adapter X520-SR1
191*b904a3a0SSepherosa Ziehau.It
1926150453fSSepherosa ZiehauIntel Ethernet Converged Network Adapter X520-SR2
19379251f5eSSepherosa Ziehau.It
19479251f5eSSepherosa ZiehauIntel Ethernet Converged Network Adapter X540-T1
19579251f5eSSepherosa Ziehau.It
196*b904a3a0SSepherosa ZiehauIntel Ethernet Converged Network Adapter X540-T2
19779251f5eSSepherosa Ziehau.It
198*b904a3a0SSepherosa ZiehauIntel Ethernet Converged Network Adapter X550-T1
1996150453fSSepherosa Ziehau.It
2006150453fSSepherosa ZiehauIntel Ethernet Converged Network Adapter X550-T2
2016150453fSSepherosa Ziehau.It
202*b904a3a0SSepherosa ZiehauIntel Ethernet Converged Network Adapter X710-DA2
2036150453fSSepherosa Ziehau.It
204*b904a3a0SSepherosa ZiehauIntel Ethernet Converged Network Adapter X710-DA4
20579251f5eSSepherosa Ziehau.El
206b0af36dbSSepherosa Ziehau.Sh TUNABLES
207b0af36dbSSepherosa ZiehauTunables can be set at the
208b0af36dbSSepherosa Ziehau.Xr loader 8
209b0af36dbSSepherosa Ziehauprompt before booting the kernel or stored in
210b0af36dbSSepherosa Ziehau.Xr loader.conf 5 .
211877e1684SSepherosa Ziehau.Em Y
212b0af36dbSSepherosa Ziehauis the device unit number.
213877e1684SSepherosa Ziehau.Bl -tag -width ".Va hw.ixY.unsupported_sfp"
214877e1684SSepherosa Ziehau.It Va hw.ix.rxd Va hw.ixY.rxd
215b0af36dbSSepherosa ZiehauNumber of receive descriptors allocated by the driver.
216b0af36dbSSepherosa ZiehauThe default value is 2048.
217b0af36dbSSepherosa ZiehauThe minimum is 64,
218b0af36dbSSepherosa Ziehauand the maximum is 4096.
219877e1684SSepherosa Ziehau.It Va hw.ix.txd Va hw.ixY.txd
220b0af36dbSSepherosa ZiehauNumber of transmit descriptors allocated by the driver.
221b0af36dbSSepherosa ZiehauThe default value is 2048.
222b0af36dbSSepherosa ZiehauThe minimum is 64,
223b0af36dbSSepherosa Ziehauand the maximum is 4096.
224877e1684SSepherosa Ziehau.It Va hw.ix.rxr Va hw.ixY.rxr
225b0af36dbSSepherosa ZiehauThis tunable specifies the number of reception queues could be enabled.
226b0af36dbSSepherosa ZiehauMaximum allowed value for these tunables is device specific
227b0af36dbSSepherosa Ziehauand it must be power of 2 aligned.
228b0af36dbSSepherosa ZiehauSetting these tunables to 0 allows the driver to make
229b0af36dbSSepherosa Ziehauas many reception queues ready-for-use as allowed by the number of CPUs.
230877e1684SSepherosa Ziehau.It Va hw.ix.txr Va hw.ixY.txr
231b0af36dbSSepherosa ZiehauThis tunable specifies the number of transmission queues could be enabled.
232b0af36dbSSepherosa ZiehauMaximum allowed value for these tunables is device specific
233b0af36dbSSepherosa Ziehauand it must be power of 2 aligned.
234b0af36dbSSepherosa ZiehauSetting these tunables to 0 allows the driver to make
235b0af36dbSSepherosa Ziehauas many transmission queues ready-for-use as allowed by the number of CPUs.
236877e1684SSepherosa Ziehau.It Va hw.ix.msix.enable Va hw.ixY.msix.enable
237b0af36dbSSepherosa ZiehauBy default,
238b0af36dbSSepherosa Ziehauthe driver will use MSI-X if it is supported.
239b0af36dbSSepherosa ZiehauThis behaviour can be turned off by setting this tunable to 0.
240877e1684SSepherosa Ziehau.It Va hw.ix.msi.enable Va hw.ixY.msi.enable
241b0af36dbSSepherosa ZiehauIf MSI-X is disabled and MSI is supported,
242b0af36dbSSepherosa Ziehauthe driver will use MSI.
243b0af36dbSSepherosa ZiehauThis behavior can be turned off by setting this tunable to 0.
244877e1684SSepherosa Ziehau.It Va hw.ixY.msi.cpu
245b0af36dbSSepherosa ZiehauIf MSI is used,
246b0af36dbSSepherosa Ziehauit specifies the MSI's target CPU.
247b0af36dbSSepherosa Ziehau.It Va hw.ix.unsupported_sfp
248b0af36dbSSepherosa ZiehauBy default,
249b0af36dbSSepherosa Ziehauthis driver does not allow "unsupported" SFP modules.
250b0af36dbSSepherosa ZiehauThis behavior can be changed by setting this tunable to 1.
251060fa21cSSepherosa Ziehau.It Va hw.ix.flow_ctrl Va hw.ixY.flow_ctrl
252060fa21cSSepherosa ZiehauThe default flow control settings.
253060fa21cSSepherosa ZiehauSupported values are:
254060fa21cSSepherosa Ziehaurxpause (only enable PAUSE reception),
255060fa21cSSepherosa Ziehautxpause (only enable PAUSE transmission),
256060fa21cSSepherosa Ziehaufull (enable PAUSE reception and transmission),
257060fa21cSSepherosa Ziehaunone (disable flow control PAUSE operation),
258060fa21cSSepherosa Ziehauforce-rxpause (force PAUSE reception),
259060fa21cSSepherosa Ziehauforce-txpause (force PAUSE transmission),
260060fa21cSSepherosa Ziehauforce-full (forcefully enable PAUSE reception and transmission),
261060fa21cSSepherosa Ziehauforce-none (forcefully disable flow control PAUSE operation).
262c2c5f4f3SSepherosa ZiehauDefault is none.
2638d0afa86SSepherosa Ziehau.It Va hw.ix.direct_input
2648d0afa86SSepherosa ZiehauBy default,
2658d0afa86SSepherosa Ziehauif the
2668d0afa86SSepherosa Ziehau.Xr polling 4
2678d0afa86SSepherosa Ziehauis enabled,
2688d0afa86SSepherosa Ziehauthe driver will handle input packets directly,
2698d0afa86SSepherosa Ziehauinstead of queuing input packets for further processing.
2708d0afa86SSepherosa ZiehauThe direct input packets handling improves performance and
2718d0afa86SSepherosa Ziehaustablize latency.
27279251f5eSSepherosa Ziehau.El
273b0af36dbSSepherosa Ziehau.Sh MIB Variables
274b0af36dbSSepherosa ZiehauA number of per-interface variables are implemented in the
275877e1684SSepherosa Ziehau.Va dev.ix. Ns Em Y
276b0af36dbSSepherosa Ziehaubranch of the
277b0af36dbSSepherosa Ziehau.Xr sysctl 3
278b0af36dbSSepherosa ZiehauMIB.
279b0af36dbSSepherosa Ziehau.Bl -tag -width "rxtx_intr_rate"
280b0af36dbSSepherosa Ziehau.It Va rxr
281b0af36dbSSepherosa ZiehauNumber of reception queues could be enabled (read-only).
282b0af36dbSSepherosa ZiehauUse the tunable
283b0af36dbSSepherosa Ziehau.Va hw.ix.rxr
284b0af36dbSSepherosa Ziehauor
285877e1684SSepherosa Ziehau.Va hw.ixY.rxr
286b0af36dbSSepherosa Ziehauto configure it.
287b0af36dbSSepherosa Ziehau.It Va rxr_inuse
288b0af36dbSSepherosa ZiehauNumber of reception queues being used (read-only).
289b0af36dbSSepherosa Ziehau.It Va txr
290b0af36dbSSepherosa ZiehauNumber of transmission queues could be enabled (read-only).
291b0af36dbSSepherosa ZiehauUse the tunable
292b0af36dbSSepherosa Ziehau.Va hw.ix.txr
293b0af36dbSSepherosa Ziehauor
294877e1684SSepherosa Ziehau.Va hw.ixY.txr
295b0af36dbSSepherosa Ziehauto configure it.
296b0af36dbSSepherosa Ziehau.It Va txr_inuse
297b0af36dbSSepherosa ZiehauNumber of transmission queues being used (read-only).
298b0af36dbSSepherosa Ziehau.It Va rxd
299b0af36dbSSepherosa ZiehauNumber of descriptors per reception queue (read-only).
300b0af36dbSSepherosa ZiehauUse the tunable
301b0af36dbSSepherosa Ziehau.Va hw.ix.rxd
302b0af36dbSSepherosa Ziehauor
303877e1684SSepherosa Ziehau.Va hw.ixY.rxd
304b0af36dbSSepherosa Ziehauto configure it.
305b0af36dbSSepherosa Ziehau.It Va txd
306b0af36dbSSepherosa ZiehauNumber of descriptors per transmission queue (read-only).
307b0af36dbSSepherosa ZiehauUse the tunable
308b0af36dbSSepherosa Ziehau.Va hw.ix.txd
309b0af36dbSSepherosa Ziehauor
310877e1684SSepherosa Ziehau.Va hw.ixY.txd
311b0af36dbSSepherosa Ziehauto configure it.
312b0af36dbSSepherosa Ziehau.It Va rxtx_intr_rate
313b0af36dbSSepherosa ZiehauIf MSI or legacy interrupt is used,
314b0af36dbSSepherosa Ziehauthis sysctl controls the highest possible frequency
315b0af36dbSSepherosa Ziehauthat interrupt could be generated by the device.
316b0af36dbSSepherosa ZiehauIf MSI-X is used,
317b0af36dbSSepherosa Ziehauthis sysctl controls the highest possible frequency
318b0af36dbSSepherosa Ziehauthat interrupt could be generated by the MSI-X vectors,
319b0af36dbSSepherosa Ziehauwhich aggregate transmission queue and reception queue procecssing.
320b0af36dbSSepherosa ZiehauIt is 8000 by default (125us).
321b0af36dbSSepherosa Ziehau.It Va rx_intr_rate
322b0af36dbSSepherosa ZiehauIf MSI-X is used,
323b0af36dbSSepherosa Ziehauthis sysctl controls the highest possible frequency
324b0af36dbSSepherosa Ziehauthat interrupt could be generated by the MSI-X vectors,
325b0af36dbSSepherosa Ziehauwhich only process reception queue.
326b0af36dbSSepherosa ZiehauIt is 8000 by default (125us).
327b0af36dbSSepherosa Ziehau.It Va tx_intr_rate
328b0af36dbSSepherosa ZiehauIf MSI-X is used,
329b0af36dbSSepherosa Ziehauthis sysctl controls the highest possible frequency
330b0af36dbSSepherosa Ziehauthat interrupt could be generated by the MSI-X vectors,
331b0af36dbSSepherosa Ziehauwhich only process transmission queue.
332b0af36dbSSepherosa ZiehauIt is 6000 by default (~150us).
333b0af36dbSSepherosa Ziehau.It Va sts_intr_rate
334b0af36dbSSepherosa ZiehauIf MSI-X is used,
335b0af36dbSSepherosa Ziehauthis sysctl controls the highest possible frequency
336b0af36dbSSepherosa Ziehauthat interrupt could be generated by the MSI-X vectors,
337b0af36dbSSepherosa Ziehauwhich only process chip status changes.
338b0af36dbSSepherosa ZiehauIt is 8000 by default (125us).
339b0af36dbSSepherosa Ziehau.It Va tx_intr_nsegs
340b0af36dbSSepherosa ZiehauTransmission interrupt is asked to be generated upon every
341b0af36dbSSepherosa Ziehau.Va tx_intr_nsegs
342b0af36dbSSepherosa Ziehautransmission descritors having been setup.
343b0af36dbSSepherosa ZiehauThe default value is 1/16 of the number of transmission descriptors per queue.
344b0af36dbSSepherosa Ziehau.It Va tx_wreg_nsegs
345b0af36dbSSepherosa ZiehauThe number of transmission descriptors should be setup
346b0af36dbSSepherosa Ziehaubefore the hardware register is written.
347b0af36dbSSepherosa ZiehauSetting this value too high will have negative effect
348b0af36dbSSepherosa Ziehauon transmission timeliness.
349b0af36dbSSepherosa ZiehauSetting this value too low will hurt overall transmission performance
350b0af36dbSSepherosa Ziehaudue to the frequent hardware register writing.
351b0af36dbSSepherosa ZiehauThe default value is 8.
352b0af36dbSSepherosa Ziehau.It Va rx_wreg_nsegs
353b0af36dbSSepherosa ZiehauThe number of reception descriptors should be setup
354b0af36dbSSepherosa Ziehaubefore the hardware register is written.
355b0af36dbSSepherosa ZiehauSetting this value too high will make device drop incoming packets.
356b0af36dbSSepherosa ZiehauSetting this value too low will hurt overall reception performance
357b0af36dbSSepherosa Ziehaudue to the frequent hardware register writing.
358b0af36dbSSepherosa ZiehauThe default value is 32.
3598d0afa86SSepherosa Ziehau.It Va direct_input
3608d0afa86SSepherosa ZiehauSee
3618d0afa86SSepherosa Ziehau.Va hw.ix.direct_input .
3628d0afa86SSepherosa Ziehau.Xr polling 4
3638d0afa86SSepherosa Ziehauneeds to be turned off and turned on again to make this variable take effect.
364b0af36dbSSepherosa Ziehau.El
36579251f5eSSepherosa Ziehau.Sh SEE ALSO
366b0af36dbSSepherosa Ziehau.Xr altq 4 ,
36779251f5eSSepherosa Ziehau.Xr arp 4 ,
36879251f5eSSepherosa Ziehau.Xr ifmedia 4 ,
36979251f5eSSepherosa Ziehau.Xr netintro 4 ,
37079251f5eSSepherosa Ziehau.Xr ng_ether 4 ,
37179251f5eSSepherosa Ziehau.Xr polling 4 ,
37279251f5eSSepherosa Ziehau.Xr vlan 4 ,
37379251f5eSSepherosa Ziehau.Xr ifconfig 8
37479251f5eSSepherosa Ziehau.Sh HISTORY
37579251f5eSSepherosa ZiehauThe
37679251f5eSSepherosa Ziehau.Nm
37779251f5eSSepherosa Ziehaudevice driver first appeared in
37879251f5eSSepherosa Ziehau.Dx 3.1 .
37979251f5eSSepherosa Ziehau.Sh AUTHORS
38079251f5eSSepherosa ZiehauThe
38179251f5eSSepherosa Ziehau.Nm
38279251f5eSSepherosa Ziehaudriver was written by
38379251f5eSSepherosa Ziehau.An Intel Corporation Aq Mt freebsdnic@mailbox.intel.com .
384