
Solarflare
Server
Adapter
User
Guide
Solarflare
Adapters
on
Linux
Issue
20
©
Solarflare
Communications
2017
135
ethtool
<iface>
|
grep
‐
A
1
'message
level:'
Current
message
level:
0x00007fff
(32767)
drv
probe
link
timer
ifdown
ifup
rx_err
tx_err
tx_queued
intr
tx_done
rx_status
pktdata
hw
wol
3.30
Running
Adapter
Diagnostics
You
can
use
ethtool
to
run
adapter
diagnostic
tests.
Tests
can
be
run
offline
(default)
or
online.
Offline
runs
the
full
set
of
tests,
which
can
interrupt
normal
operation
during
testing.
Online
performs
a
limited
set
of
tests
without
affecting
normal
adapter
operation.
CAUTION:
Offline
tests
should
not
be
run
while
sfptpd
is
running.
The
PTP
daemon
should
be
terminated
before
running
the
offline
test.
As
root
user,
enter
the
following
command:
ethtool
‐‐
test
ethX
offline|online
The
tests
run
by
the
command
are
as
follows:
Table
29:
Adapter
Diagnostic
Tests
Diagnostic
Test
Purpose
core.nvram
Verifies
the
flash
memory
‘board
configuration’
area
by
parsing
and
examining
checksums.
core.registers
Verifies
the
adapter
registers
by
attempting
to
modify
the
writable
bits
in
a
selection
of
registers.
core.interrupt
Examines
the
available
hardware
interrupts
by
forcing
the
controller
to
generate
an
interrupt
and
verifying
that
the
interrupt
has
been
processed
by
the
network
driver.
tx/rx.loopback
Verifies
that
the
network
driver
is
able
to
pass
packets
to
and
from
the
network
adapter
using
the
MAC
and
Phy
loopback
layers.
core.memory
Verifies
SRAM
memory
by
writing
various
data
patterns
(incrementing
bytes,
all
bit
on
and
off,
alternating
bits
on
and
off)
to
each
memory
location,
reading
back
the
data
and
comparing
it
to
the
written
value.
core.mdio
Verifies
the
MII
registers
by
reading
from
PHY
ID
registers
and
checking
the
data
is
valid
(not
all
zeros
or
all
ones).
Verifies
the
MMD
response
bits
by
checking
each
of
the
MMDs
in
the
Phy
is
present
and
responding.