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.\" 32f173c2b7SSean Bruno.Dd August 17, 2017 33f173c2b7SSean Bruno.Dt LIQUIDIO 4 34f173c2b7SSean Bruno.Os 35f173c2b7SSean Bruno.Sh NAME 36f173c2b7SSean Bruno.Nm liquidio 37*a1d1b904SAlexander Ziaee.Nd Cavium 10Gb/25Gb Ethernet driver 38f173c2b7SSean Bruno.Sh SYNOPSIS 39f173c2b7SSean BrunoTo compile this driver into the kernel, 40f173c2b7SSean Brunoplace the following line in your 41f173c2b7SSean Brunokernel configuration file: 42f173c2b7SSean Bruno.Bd -ragged -offset indent 43f173c2b7SSean Bruno.Cd "device lio" 44f173c2b7SSean Bruno.Ed 45f173c2b7SSean Bruno.Pp 46f173c2b7SSean BrunoAlternatively, to load the driver as a 47f173c2b7SSean Brunomodule at boot time, place the following line in 48f173c2b7SSean Bruno.Xr loader.conf 5 : 49f173c2b7SSean Bruno.Bd -literal -offset indent 50f173c2b7SSean Brunoif_lio_load="YES" 51f173c2b7SSean Bruno.Ed 52f173c2b7SSean Bruno.Sh DESCRIPTION 53f173c2b7SSean BrunoThe 54f173c2b7SSean Bruno.Nm 55f173c2b7SSean Brunodriver provides support for 23XX 10Gb/25Gb Ethernet adapters. 56f173c2b7SSean BrunoThe driver supports Jumbo Frames, Transmit/Receive checksum 57f173c2b7SSean Brunooffload, TCP segmentation offload (TSO), Large Receive Offload (LRO), 58f173c2b7SSean BrunoVLAN tag insertion/extraction, VLAN checksum offload, 59f173c2b7SSean BrunoVLAN TSO, and Receive Side Steering (RSS) 60f173c2b7SSean Bruno.Pp 61f173c2b7SSean BrunoSupport for Jumbo Frames is provided via the interface MTU setting. 62f173c2b7SSean BrunoSelecting an MTU larger than 1500 bytes with the 63f173c2b7SSean Bruno.Xr ifconfig 8 64f173c2b7SSean Brunoutility configures the adapter to receive and transmit Jumbo Frames. 65f173c2b7SSean BrunoThe maximum MTU size for Jumbo Frames is 16000. 66f173c2b7SSean Bruno.Pp 67f173c2b7SSean BrunoFor more information on configuring this device, see ifconfig(8). 68f173c2b7SSean Bruno.Sh HARDWARE 69f173c2b7SSean BrunoThe 70f173c2b7SSean Bruno.Nm 71f173c2b7SSean Brunodriver supports the following cards: 72f173c2b7SSean Bruno.Pp 73f173c2b7SSean Bruno.Bl -bullet -compact 74f173c2b7SSean Bruno.It 75f173c2b7SSean BrunoLiquidIO II CN2350 210SV/225SV 76f173c2b7SSean Bruno.It 77f173c2b7SSean BrunoLiquidIO II CN2360 210SV/225SV 78f173c2b7SSean Bruno.El 790f828e14SBjoern A. Zeeb.Sh LOADER TUNABLES 80f173c2b7SSean BrunoTunables can be set at the 81f173c2b7SSean Bruno.Xr loader 8 82f173c2b7SSean Brunoprompt before booting the kernel or stored in 83f173c2b7SSean Bruno.Xr loader.conf 5 . 84f173c2b7SSean Bruno.Bl -tag -width indent 85f173c2b7SSean Bruno.It Va hw.lio.fw_type 86f173c2b7SSean Bruno.Pp 87f173c2b7SSean BrunoString that specifies type of firmware to be loaded. 88f173c2b7SSean BrunoDefault is "nic". Use "none" to load firmware from flash. 89f173c2b7SSean Bruno.It Va hw.lio.num_queues_per_pf0 90f173c2b7SSean Bruno.Pp 91f173c2b7SSean BrunoUnsigned integers that specify number of queues per PF0. 92f173c2b7SSean BrunoValid range is 0 to 64. 93f173c2b7SSean BrunoUse 0 to derive autoconfigures based on the number of 94f173c2b7SSean Brunocpus with a max of 8 95f173c2b7SSean Bruno.It Va hw.lio.num_queues_per_pf1 96f173c2b7SSean Bruno.Pp 97f173c2b7SSean BrunoUnsigned integers that specify number of queues per PF1. 98f173c2b7SSean BrunoValid range is 0 to 64. 99f173c2b7SSean BrunoUse 0 to derive autoconfigures based on the number of 100f173c2b7SSean Brunocpus with a max of 8 101f173c2b7SSean Bruno.It Va hw.lio.console_bitmask 102f173c2b7SSean Bruno.Pp 103f173c2b7SSean BrunoBitmask indicating which consoles have debug output 104f173c2b7SSean Brunoredirected to syslog. 105f173c2b7SSean Bruno.It Va hw.lio.rss 106f173c2b7SSean Bruno.Pp 107f173c2b7SSean BrunoTo enable/disable driver RSS support 108f173c2b7SSean Bruno.It Va hw.lio.hwlro 109f173c2b7SSean Bruno.Pp 110f173c2b7SSean BrunoTo enable/disable hardware LRO 1111adc28f5SChristian Brueffer.El 112f173c2b7SSean Bruno.Sh SUPPORT 113f173c2b7SSean BrunoFor general information and support, 114f173c2b7SSean Brunogo to the Cavium support website at: 115f173c2b7SSean Bruno.Pa http://support.cavium.com . 116f173c2b7SSean Bruno.Sh SEE ALSO 117f173c2b7SSean Bruno.Xr altq 4 , 118f173c2b7SSean Bruno.Xr arp 4 , 119f173c2b7SSean Bruno.Xr netintro 4 , 120f173c2b7SSean Bruno.Xr ng_ether 4 , 121f173c2b7SSean Bruno.Xr vlan 4 , 122f173c2b7SSean Bruno.Xr ifconfig 8 123f173c2b7SSean Bruno.Sh HISTORY 124f173c2b7SSean BrunoThe 125f173c2b7SSean Bruno.Nm 126f173c2b7SSean Brunodevice driver first appeared in 127f173c2b7SSean Bruno.Fx 12.0 . 128f173c2b7SSean Bruno.Sh AUTHORS 129f173c2b7SSean BrunoThe 130f173c2b7SSean Bruno.Nm 131f173c2b7SSean Brunodriver was written by 132f173c2b7SSean Bruno.An Derek Chickles Aq Mt derek.chickles@cavium.com . 133