
Solarflare
Server
Adapter
User
Guide
Solarflare
Adapters
on
VMware
Issue
20
©
Solarflare
Communications
2017
269
•
VLAN
Configuration
on
Virtual
Switch,
Physical
Switch,
and
virtual
machines:
5.6
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,
possibly
causing
normal
operation
interruption
during
testing.
Online
performs
a
limited
set
of
tests
without
affecting
normal
adapter
operation.
As
root
user,
enter
the
following
command:
ethtool
‐‐
test
vmnicX
offline|online
The
tests
run
by
the
command
are
as
follows:
Table
62:
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.