
Solarflare
Server
Adapter
User
Guide
Solarflare
Adapters
on
FreeBSD
Issue
20
©
Solarflare
Communications
2017
295
Configuring
Task
Offloading
Solarflare
adapters
support
transmit
(Tx)
and
receive
(Rx)
checksum
offload,
as
well
as
TCP
segmentation
offload.
To
ensure
maximum
performance
from
the
adapter,
all
task
offloads
should
be
enabled,
which
is
the
default
setting
on
the
adapter.
For
more
information,
see
.
Configuring
Jumbo
Frames
Solarflare
adapters
support
a
frame
size
(MTU)
from
1500
bytes
to
9000
bytes.
The
default
maximum
driver
MTU
size
is
1500
bytes.
For
example,
to
set
a
new
frame
size
(MTU)
of
9000
bytes,
enter
the
following
command:
ifconfig
sfxge<n>
inet
mtu
9000
To
view
the
current
MTU,
enter:
#
ifconfig
sfxge<n>
sfxge0:
flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST>
metric
0
mtu
1500
...
If
you
want
to
have
an
MTU
configured
when
the
interface
is
brought
up,
add
an
mtu
parameter
to
the
single
line
of
interface
configuration
data
in
the
/etc/rc.conf
file.
For
example:
ifconfig_sfxge<n>="inet
<IPv4
address>
netmask
<netmask>
mtu
<MTU
size>"
6.6
Setting
Up
VLANs
VLANs
offer
a
method
of
dividing
one
physical
network
into
multiple
broadcast
domains.
In
enterprise
networks,
these
broadcast
domains
usually
match
with
IP
subnet
boundaries,
so
that
each
subnet
has
its
own
VLAN.
The
advantages
of
VLANs
include:
•
Performance
•
Ease
of
management
•
Security
•
Trunks
•
You
don't
have
to
configure
any
hardware
device,
when
physically
moving
your
server
to
another
location.
To
have
a
single
interface
exist
on
multiple
VLANs
(if
the
port
on
the
connected
switch
is
set
to
“trunked”
mode)
see
the
following
documentation: