diff options
author | John Fastabend <john.r.fastabend@intel.com> | 2015-05-26 08:22:49 -0700 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2015-05-28 03:31:12 -0700 |
commit | 8cf6f497de405ca9eb87ffb34d90699962d10125 (patch) | |
tree | 1fd67ceca44c918edddc6170cea8a11b3000ff94 /drivers | |
parent | ed2dfd900992aa7b6b3d0abd8ec9a7e9d2c7f827 (diff) |
ethtool: Add helper routines to pass vf to rx_flow_spec
The ring_cookie is 64 bits wide which is much larger than can be used
for actual queue index values. So provide some helper routines to
pack a VF index into the cookie. This is useful to steer packets to
a VF ring without having to know the queue layout of the device.
CC: Alex Duyck <alexander.h.duyck@redhat.com>
Signed-off-by: John Fastabend <john.r.fastabend@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions