
Solarflare
Server
Adapter
User
Guide
SR
‐
IOV
Virtualization
Using
ESXi
Issue
20
©
Solarflare
Communications
2017
357
8.7
Configure
VFs
on
the
Host/Adapter
The
following
host
procedure
is
used
to
expose
VFs
from
the
Solarflare
adapter.
1
Set
the
sfc
driver
module
parameter
for
the
required
number
of
VFs:
esxcli
system
module
parameters
set
‐
m
sfc
‐
p
max_vfs=4
esxcli
system
module
parameters
list
‐
m
sfc
2
Use
sfboot
to
create
VFs
on
the
adapter:
sfboot
switch
‐
mode=sriov
vf
‐
count=4
The
server
must
be
restarted
(power
off/power
on)
for
these
changes
to
take
effect.
3
Following
restart
‐
list
VFs
exposed
in
the
host:
#
lspci
|
grep
Solarflare
0000:04:00.0
Network
controller:
Solarflare
SFC9120
[vmnic6]
0000:04:00.1
Network
controller:
Solarflare
SFC9120
[vmnic7]
0000:04:00.2
Network
controller:
Solarflare
[PF_0.4.0_VF_0]
0000:04:00.3
Network
controller:
Solarflare
[PF_0.4.0_VF_1]
0000:04:00.4
Network
controller:
Solarflare
[PF_0.4.0_VF_2]
0000:04:00.5
Network
controller:
Solarflare
[PF_0.4.0_VF_3]
0000:04:00.6
Network
controller:
Solarflare
[PF_0.4.1_VF_0]
0000:04:00.7
Network
controller:
Solarflare
[PF_0.4.1_VF_1]
0000:04:01.0
Network
controller:
Solarflare
[PF_0.4.1_VF_2]
0000:04:01.1
Network
controller:
Solarflare
[PF_0.4.1_VF_3]
The
example
above
is
a
dual
‐
port
adapter.
Each
physical
port
is
exposed
as
1
PF
and
4
VFs
(PFs
are
shown
in
bold
text).