Parameter Name
Valid
Range/Settings
Default
Description
Other ethtool Commands:
To enable Flow Director
ethtool -K ethX ntuple on
To add a filter, use -U switch
ethtool -U ethX flow-type
tcp4 src-ip 192.168.0.100
action 1
To see the list of filters currently present
ethtool -u ethX
Perfect Filter: Perfect filter is an interface to load the filter table
that funnels all flow into queue_0 unless an alternative queue
is specified using "action." In that case, any flow that matches
the filter criteria will be directed to the appropriate queue.
Support for Virtual Function (VF) is via the user-data field. You
must update to the version of ethtool built for the 2.6.40 kernel.
Perfect Filter is supported on all kernels 2.6.30 and later. Rules
may be deleted from the table itself. This is done via "ethtool -U
ethX delete N" where N is the rule number to be deleted.
NOTE:
Flow Director Perfect Filters can run in single
queue mode, when SR-IOV is enabled, or when DCB is
enabled.
If the queue is defined as -1, the filter will drop matching pack-
ets.
To account for filter matches and misses, there are two stats in
ethtool: fdir_match and fdir_miss. In addition, rx_queue_N_
packets shows the number of packets processed by the Nth
queue.
NOTES:
l
Receive Packet Steering (RPS) and Receive
Flow Steering (RFS) are not compatible with
Flow Director. If Flow Director is enabled, these
will be disabled.
l
For VLAN Masks only 4 masks are supported.
l
Once a rule is defined, you must supply the same
fields and masks (if masks are specified).
Support for UDP RSS
This feature adds an ON/OFF switch for hashing over certain
flow types. You can't turn on anything other than UDP. The
default setting is disabled. We only support enabling/disabling
hashing on ports for UDP over IPv4 (udp4) or IPv6 (udp6).
NOTE:
Fragmented packets may arrive out of order
when RSS UDP support is configured.
Supported ethtool Commands and Options
-n --show-nfc
Retrieves the receive network flow classification con-
figurations.
rx-flow-hash tcp4|ud-
p4|ah4|esp4|sctp4|tcp6|udp6|ah6|esp6|sctp6
Retrieves the hash options for the specified network traffic type.