From: John Fastabend Date: Tue, 26 May 2015 15:22:49 +0000 (-0700) Subject: ethtool: Add helper routines to pass vf to rx_flow_spec X-Git-Tag: omap-for-v4.2/fixes-rc1^2~134^2~185^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8cf6f497de405ca9eb87ffb34d90699962d10125;p=pandora-kernel.git 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 Signed-off-by: John Fastabend Signed-off-by: Jeff Kirsher --- Reading git-diff-tree failed