
Solarflare
Server
Adapter
User
Guide
SR
‐
IOV
Virtualization
Using
KVM
Issue
20
©
Solarflare
Communications
2017
332
•
With
no
VLAN
configuration,
the
PFs
and
VFs
are
in
the
same
Ethernet
layer
2
broadcast
domain
i.e.
a
packet
broadcast
from
the
PF
would
be
received
by
all
VFs.
VLAN
tags
can
optionally
be
assigned
to
VFs
using
standard
libvirt
commands.
•
The
L2
switch
supports
replication
of
received/transmitted
broadcast
packets
to
all
functions.
•
The
L2
switch
will
replicate
received/transmitted
multicast
packets
to
all
functions
that
have
subscribed.
•
The
MUXER
function
is
a
firmware
enabled
layer2
switching
function
for
transmit
and
receive
traffic.
In
the
example
above
there
are
no
virtual
machines
(VM)
created.
Network
interfaces
for
the
PF
and
each
VF
will
appear
in
the
host.
An
sfc
NIC
driver
loaded
in
the
host
will
identify
the
PF
and
each
VF
as
individual
network
interfaces.
SR
‐
IOV
Configuration
Ensure
SR
‐
IOV
and
the
IOMMU
are
enabled
on
the
host
server
kernel
command
line
‐
Refer
to
.
1
The
example
configures
1
PF
per
port
(default),
2
VFs
per
PF):
sfboot
switch
‐
mode=sriov
pf
‐
count=1
vf
‐
count=2
Solarflare
boot
configuration
utility
[v4.5.0]
Copyright
Solarflare
Communications
2006
‐
2014,
Level
5
Networks
2002
‐
2005
eth8:
Boot
image
Option
ROM
only
Link
speed
Negotiated
automatically
Link
‐
up
delay
time
5
seconds
Banner
delay
time
2
seconds
Boot
skip
delay
time
5
seconds
Boot
type
Disabled
Physical
Functions
per
port
1
MSI
‐
X
interrupt
limit
32
Number
of
Virtual
Functions
2
VF
MSI
‐
X
interrupt
limit
8
Firmware
variant
full
feature
/
virtualization
Insecure
filters
Disabled
MAC
spoofing
Disabled
VLAN
tags
None
Switch
mode
SRIOV
2
Create
VFs
‐
see
3
The
server
should
be
cold
rebooted
following
changes
using
sfboot
.
Following
the
reboot,
The
PF
and
VFs
will
be
visible
in
the
host
using
the
ifconfig
command
and
lspci
(the
output
below
is
from
a
dual
‐
port
adapter.
VFs
are
shown
in
bold
text):
#
lspci
‐
d1924:
03:00.0
Ethernet
controller:
Solarflare
Communications
SFC9120
(rev
01)
03:00.1
Ethernet
controller:
Solarflare
Communications
SFC9120
(rev
01)