diff options
author | Jacob Keller <jacob.e.keller@intel.com> | 2017-03-23 23:07:13 -0700 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2017-03-24 15:06:02 -0400 |
commit | 36ee712b0fbcb7cdea291618b2ab2c5c1aab6725 (patch) | |
tree | 5386a3030fe79a6ebda19d237fb8f4aea250b702 /ethtool.8.in | |
parent | e33c8841f26090031d571fddd71dab06f56ab1bf (diff) | |
download | ethtool-36ee712b0fbcb7cdea291618b2ab2c5c1aab6725.tar.gz |
ethtool: support queue and VF fields for rxclass filters
Recent kernels have made it possible to specify filters applying to
a virtual function by partitioning the ring_cookie (action) value. The
lower 32bits will represent the queue, while the next 8bits represent
the virtual function.
Add support to view and specify the ring_cookie in this way so that
users do not have to manually create action values, and don't need to
understand the underlying layout of the ring_cookie value.
Support using queue and VF fields which will fill in their specific bits
of the ring_cookie value, using new customized OPT_RING_VF and
OPT_RING_QUEUE.
Add support to display the ring cookie value as a split VF identifier
and queue.
Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'ethtool.8.in')
-rw-r--r-- | ethtool.8.in | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ethtool.8.in b/ethtool.8.in index 636e7a3..5bb3ae2 100644 --- a/ethtool.8.in +++ b/ethtool.8.in @@ -833,6 +833,13 @@ lB l. 0 or higher Rx queue to route the flow .TE .TP +.BI vf \ N +Specifies the Virtual Function the filter applies to. A value of 0 indicates +the PF, and thus the VF index is offset by 1. Not compatible with action. +.TP +.BI queue \ N +Specifies the Rx queue to send packets to. Not compatible with action. +.TP .BI loc \ N Specify the location/ID to insert the rule. This will overwrite any rule present in that location and will not go through any |