xref: /freebsd/share/man/man4/liquidio.4 (revision 1adc28f5a882d58135de190afdbf323bc43bff3a)
1f173c2b7SSean Bruno.\"  BSD LICENSE
2f173c2b7SSean Bruno.\"
3f173c2b7SSean Bruno.\"  Copyright(c) 2017 Cavium, Inc.. All rights reserved.
4f173c2b7SSean Bruno.\"  All rights reserved.
5f173c2b7SSean Bruno.\"
6f173c2b7SSean Bruno.\"  Redistribution and use in source and binary forms, with or without
7f173c2b7SSean Bruno.\"  modification, are permitted provided that the following conditions
8f173c2b7SSean Bruno.\"  are met:
9f173c2b7SSean Bruno.\"
10f173c2b7SSean Bruno.\"    * Redistributions of source code must retain the above copyright
11f173c2b7SSean Bruno.\"      notice, this list of conditions and the following disclaimer.
12f173c2b7SSean Bruno.\"    * Redistributions in binary form must reproduce the above copyright
13f173c2b7SSean Bruno.\"      notice, this list of conditions and the following disclaimer in
14f173c2b7SSean Bruno.\"      the documentation and/or other materials provided with the
15f173c2b7SSean Bruno.\"      distribution.
16f173c2b7SSean Bruno.\"    * Neither the name of Cavium, Inc. nor the names of its
17f173c2b7SSean Bruno.\"      contributors may be used to endorse or promote products derived
18f173c2b7SSean Bruno.\"      from this software without specific prior written permission.
19f173c2b7SSean Bruno.\"
20f173c2b7SSean Bruno.\"  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
21f173c2b7SSean Bruno.\"  "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
22f173c2b7SSean Bruno.\"  LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
23f173c2b7SSean Bruno.\"  A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
24f173c2b7SSean Bruno.\"  OWNER(S) OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
25f173c2b7SSean Bruno.\"  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
26f173c2b7SSean Bruno.\"  LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
27f173c2b7SSean Bruno.\"  DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
28f173c2b7SSean Bruno.\"  THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
29f173c2b7SSean Bruno.\"  (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
30f173c2b7SSean Bruno.\"  OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31f173c2b7SSean Bruno.\" $FreeBSD$
32f173c2b7SSean Bruno.\"
33f173c2b7SSean Bruno.Dd August 17, 2017
34f173c2b7SSean Bruno.Dt LIQUIDIO 4
35f173c2b7SSean Bruno.Os
36f173c2b7SSean Bruno.Sh NAME
37f173c2b7SSean Bruno.Nm liquidio
38f173c2b7SSean Bruno.Nd "Cavium 10Gb/25Gb Ethernet driver for the FreeBSD operating system"
39f173c2b7SSean Bruno.Sh SYNOPSIS
40f173c2b7SSean BrunoTo compile this driver into the kernel,
41f173c2b7SSean Brunoplace the following line in your
42f173c2b7SSean Brunokernel configuration file:
43f173c2b7SSean Bruno.Bd -ragged -offset indent
44f173c2b7SSean Bruno.Cd "device lio"
45f173c2b7SSean Bruno.Ed
46f173c2b7SSean Bruno.Pp
47f173c2b7SSean BrunoAlternatively, to load the driver as a
48f173c2b7SSean Brunomodule at boot time, place the following line in
49f173c2b7SSean Bruno.Xr loader.conf 5 :
50f173c2b7SSean Bruno.Bd -literal -offset indent
51f173c2b7SSean Brunoif_lio_load="YES"
52f173c2b7SSean Bruno.Ed
53f173c2b7SSean Bruno.Sh DESCRIPTION
54f173c2b7SSean BrunoThe
55f173c2b7SSean Bruno.Nm
56f173c2b7SSean Brunodriver provides support for 23XX 10Gb/25Gb Ethernet adapters.
57f173c2b7SSean BrunoThe driver supports Jumbo Frames, Transmit/Receive checksum
58f173c2b7SSean Brunooffload, TCP segmentation offload (TSO), Large Receive Offload (LRO),
59f173c2b7SSean BrunoVLAN tag insertion/extraction, VLAN checksum offload,
60f173c2b7SSean BrunoVLAN TSO, and Receive Side Steering (RSS)
61f173c2b7SSean Bruno.Pp
62f173c2b7SSean BrunoSupport for Jumbo Frames is provided via the interface MTU setting.
63f173c2b7SSean BrunoSelecting an MTU larger than 1500 bytes with the
64f173c2b7SSean Bruno.Xr ifconfig 8
65f173c2b7SSean Brunoutility configures the adapter to receive and transmit Jumbo Frames.
66f173c2b7SSean BrunoThe maximum MTU size for Jumbo Frames is 16000.
67f173c2b7SSean Bruno.Pp
68f173c2b7SSean BrunoFor more information on configuring this device, see ifconfig(8).
69f173c2b7SSean Bruno.Sh HARDWARE
70f173c2b7SSean BrunoThe
71f173c2b7SSean Bruno.Nm
72f173c2b7SSean Brunodriver supports the following cards:
73f173c2b7SSean Bruno.Pp
74f173c2b7SSean Bruno.Bl -bullet -compact
75f173c2b7SSean Bruno.It
76f173c2b7SSean BrunoLiquidIO II CN2350 210SV/225SV
77f173c2b7SSean Bruno.It
78f173c2b7SSean BrunoLiquidIO II CN2360 210SV/225SV
79f173c2b7SSean Bruno.El
80f173c2b7SSean Bruno.Sh LOADER TUBABLES
81f173c2b7SSean BrunoTunables can be set at the
82f173c2b7SSean Bruno.Xr loader 8
83f173c2b7SSean Brunoprompt before booting the kernel or stored in
84f173c2b7SSean Bruno.Xr loader.conf 5 .
85f173c2b7SSean Bruno.Pp
86f173c2b7SSean Bruno.Bl -tag -width indent
87f173c2b7SSean Bruno.It Va hw.lio.fw_type
88f173c2b7SSean Bruno.Pp
89f173c2b7SSean BrunoString that specifies type of firmware to be loaded.
90f173c2b7SSean BrunoDefault is "nic". Use "none" to load firmware from flash.
91f173c2b7SSean Bruno.It Va hw.lio.num_queues_per_pf0
92f173c2b7SSean Bruno.Pp
93f173c2b7SSean BrunoUnsigned integers that specify number of queues per PF0.
94f173c2b7SSean BrunoValid range is 0 to 64.
95f173c2b7SSean BrunoUse 0 to derive autoconfigures based on the number of
96f173c2b7SSean Brunocpus with a max of 8
97f173c2b7SSean Bruno.It Va hw.lio.num_queues_per_pf1
98f173c2b7SSean Bruno.Pp
99f173c2b7SSean BrunoUnsigned integers that specify number of queues per PF1.
100f173c2b7SSean BrunoValid range is 0 to 64.
101f173c2b7SSean BrunoUse 0 to derive autoconfigures based on the number of
102f173c2b7SSean Brunocpus with a max of 8
103f173c2b7SSean Bruno.It Va hw.lio.console_bitmask
104f173c2b7SSean Bruno.Pp
105f173c2b7SSean BrunoBitmask indicating which consoles have debug output
106f173c2b7SSean Brunoredirected to syslog.
107f173c2b7SSean Bruno.It Va hw.lio.rss
108f173c2b7SSean Bruno.Pp
109f173c2b7SSean BrunoTo enable/disable driver RSS support
110f173c2b7SSean Bruno.It Va hw.lio.hwlro
111f173c2b7SSean Bruno.Pp
112f173c2b7SSean BrunoTo enable/disable hardware LRO
113*1adc28f5SChristian Brueffer.El
114f173c2b7SSean Bruno.Sh SUPPORT
115f173c2b7SSean BrunoFor general information and support,
116f173c2b7SSean Brunogo to the Cavium support website at:
117f173c2b7SSean Bruno.Pa http://support.cavium.com .
118f173c2b7SSean Bruno.Sh SEE ALSO
119f173c2b7SSean Bruno.Xr altq 4 ,
120f173c2b7SSean Bruno.Xr arp 4 ,
121f173c2b7SSean Bruno.Xr netintro 4 ,
122f173c2b7SSean Bruno.Xr ng_ether 4 ,
123f173c2b7SSean Bruno.Xr vlan 4 ,
124f173c2b7SSean Bruno.Xr ifconfig 8
125f173c2b7SSean Bruno.Sh HISTORY
126f173c2b7SSean BrunoThe
127f173c2b7SSean Bruno.Nm
128f173c2b7SSean Brunodevice driver first appeared in
129f173c2b7SSean Bruno.Fx 12.0 .
130f173c2b7SSean Bruno.Sh AUTHORS
131f173c2b7SSean BrunoThe
132f173c2b7SSean Bruno.Nm
133f173c2b7SSean Brunodriver was written by
134f173c2b7SSean Bruno.An Derek Chickles Aq Mt derek.chickles@cavium.com .
135