]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - share/man/man4/enic.4
Merge llvm-project release/16.x llvmorg-16.0.3-0-gda3cd333bea5
[FreeBSD/FreeBSD.git] / share / man / man4 / enic.4
1 .\" Copyright 2008-2017 Cisco Systems, Inc.
2 .\" All rights reserved.
3 .\"
4 .\" Redistribution and use in source and binary forms, with or without
5 .\" modification, are permitted provided that the following conditions
6 .\" are met:
7 .\" 1. Redistributions of source code must retain the above copyright
8 .\"    notice, this list of conditions and the following disclaimer.
9 .\" 2. Redistributions in binary form must reproduce the above copyright
10 .\"    notice, this list of conditions and the following disclaimer in the
11 .\"    documentation and/or other materials provided with the distribution.
12 .\"
13 .\" THIS SOFTWARE IS PROVIDED BY AUTHOR AND CONTRIBUTORS `AS IS' AND
14 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
15 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
16 .\" ARE DISCLAIMED.  IN NO EVENT SHALL AUTHOR OR CONTRIBUTORS BE LIABLE
17 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
18 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
19 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
23 .\" SUCH DAMAGE.
24 .\"
25 .\" $FreeBSD$
26 .\"
27 .Dd Sept 7, 2022
28 .Dt ENIC 4
29 .Os
30 .Sh NAME
31 .Nm enic
32 .Nd "VIC Ethernet NIC driver"
33 .Sh SYNOPSIS
34 To compile this driver into the kernel,
35 place the following lines in your
36 kernel configuration file:
37 .Bd -ragged -offset indent
38 .Cd "device iflib"
39 .Cd "device enic"
40 .Ed
41 .Pp
42 To load the driver as a module at run-time,
43 run the following command as root:
44 .Bd -literal -offset indent
45 kldload if_enic
46 .Ed
47 .Pp
48 To load the driver as a
49 module at boot time, place the following lines in
50 .Xr loader.conf 5 :
51 .Bd -literal -offset indent
52 if_enic_load="YES"
53 .Ed
54 .Sh DESCRIPTION
55 The
56 .Nm
57 driver provides support for Cisco Virtual Interface Card.
58 Support is limited to basic network connectivity.
59 Media is controlled by the NIC itself since there can be multiple
60 virtual PCI NIC devices exposed to the PCI bus.
61 .Sh HARDWARE
62 The
63 .Nm
64 driver should supports all known Cisco VIC cards.
65 .Sh CONFIGURATION
66 The
67 .Nm
68 network interface is configured using
69 .Xr ifconfig 8
70 and the
71 .Xr sysctl 8
72 tree at
73 .Dv dev.enic.<N> .
74 All configurable entries are also tunables, and can be put directly into the
75 .Xr loader.conf 5
76 for persistent configuration.
77 .Sh SEE ALSO
78 .Xr ifconfig 8
79 .Sh HISTORY
80 The
81 .Nm
82 device driver first appeared in
83 .Fx 14.0 .
84 .Sh AUTHORS
85 .An -nosplit
86 The
87 .Nm
88 driver was written by
89 .An Cisco UCS team
90 based of the DPDK driver.