
Solarflare
Server
Adapter
User
Guide
Solarflare
Adapters
on
Linux
Issue
20
©
Solarflare
Communications
2017
98
4
Run
sfupdate
to
update
these
NICs
(command
options
may
vary):
#
sfupdate
‐‐
write
‐‐
yes
‐‐
force
5
Run
the
command
to
unbind
the
interfaces
again.
There
will
be
failures
reported
because
some
of
the
interfaces
are
not
bound:
#
for
bdf
in
$(lspci
‐
D
‐
d
1924:
|
awk
'{
$1
}');
do
\
echo
‐
n
${bdf}\
>
/sys/bus/pci/devices/${bdf}/driver/unbind;
done
6
Repeat
the
process
for
the
other
interfaces
(0000:04:00.x;
0000:83:00.x
and
0000:84:00.x)
doing
so
in
pairs
until
all
the
NICs
have
been
upgraded.
7
Rebind
all
interfaces,
doing
so
en
‐
mass
and
ignoring
errors
from
those
already
bound:
#
for
bdf
in
$(lspci
‐
D
‐
d
1924:
|
awk
'{
$1
}');
do
\
echo
‐
n
${bdf}\
>
/sys/bus/pci/drivers/sfc/bind;
done
Alternatively
reload
the
sfc
driver:
#
onload_tool
reload
or:
#
modprobe
‐
r
sfc
#
modprobe
sfc
8
Run
ifconfig
‐
a
again
to
find
that
all
the
interfaces
are
reported
and
all
have
been
firmware
upgraded
without
having
to
physically
touch
the
server
or
change
the
kernel.
Sfupdate:
SLES
11
Limitation
Due
to
limitations
in
SLES
11
using
kernel
versions
prior
to
2.6.27.54
it
is
necessary
to
reboot
the
server
after
running
the
sfupdate
utility
to
upgrade
server
firmware.
Sfupdate:
Command
Line
Options
lists
the
options
for
sfupdate
.
Table
21:
Sfupdate
Options
Option
Description
‐
h
,
‐‐
help
Shows
help
for
the
available
options
and
command
line
syntax.
‐
i
,
‐‐
adapter=ethX
Specifies
the
target
adapter
when
more
than
one
adapter
is
installed
in
the
localhost.
ethX
=
Adapter
ifname
or
MAC
address
(as
obtained
with
‐‐
list
).
‐‐
list
Shows
the
adapter
ID,
adapter
name
and
MAC
address
of
each
adapter
installed
in
the
localhost.