
Solarflare
Server
Adapter
User
Guide
Solarflare
Adapters
on
Linux
Issue
20
©
Solarflare
Communications
2017
125
3.28
Linux
ethtool
Statistics
The
Linux
command
ethtool
will
display
an
extensive
range
of
statistics
originated
from
the
MAC
on
the
Solarflare
network
adapter.
To
display
statistics
use
the
following
command:
ethtool
‐
S
ethX
(where
X
is
the
ID
of
the
Solarflare
interface)
Using
a
Solarflare
net
driver
earlier
than
version
4.4.1.1017,
the
ethtool
statistics
counters
can
be
reset
by
reloading
the
sfc
driver:
#
modprobe
‐
r
sfc
#
modprobe
sfc
Drivers
from
version
4.4.1.1017
(included
in
onload
‐
201502)
have
to
manage
multi
‐
PF
configurations
and
for
this
reason
statistics
are
not
reset
by
reloading
the
driver.
The
only
methods
currently
available
to
reset
stats
is
to
cold
‐
reboot
(power
OFF/
ON)
the
server
or
reload
the
firmware
image.
Per
port
statistics
(
port_
)
are
from
the
physical
adapter
port.
Other
statistics
are
from
the
specified
PCIe
function.
below
lists
the
complete
output
from
the
ethtool
‐
S
command.
NOTE:
ethtool
‐
S
output
depends
on
the
features
supported
by
the
adapter
type
rss_numa_local
Constrain
RSS
to
use
CPU
cores
on
the
NUMA
node
local
the
Solarflare
adapter.
Set
to
1
to
restrict,
0
otherwise.
0|1
1
max_vfs
Enable
VFs
in
the
net
driver.
When
specified
as
a
single
integer
the
VF
count
will
be
applied
to
all
PFs.
When
specified
as
a
comma
separated
list,
the
first
VF
count
is
assigned
to
the
PF
with
the
lowest
index
i.e.
the
lowest
MAC
address,
then
the
PF
with
the
next
highest
MAC
address
etc.
uint
0
1.
Check
OS
documentation
for
availability
on
SUSE
and
RHEL
versions.
Table
27:
Driver
Module
Parameters
Parameter
Description
Possible
Value
Default
Value