]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ixgbe: Allow flow director to use entire queue space
authorJohn Fastabend <john.r.fastabend@intel.com>
Tue, 26 May 2015 15:23:33 +0000 (08:23 -0700)
committerSantosh Shilimkar <santosh.shilimkar@oracle.com>
Thu, 27 Aug 2015 15:00:23 +0000 (08:00 -0700)
commitba668c1bcf22d5aa5d8b425ed0a658fe24c52714
tree9afa05d12074e26f5c96075a29587662a2679fb5
parent70a386f92b238a0cedbaf0b123242531494e6055
ixgbe: Allow flow director to use entire queue space

Orabug: 21669416

Flow director is exported to user space using the ethtool ntuple
support. However, currently it only supports steering traffic to a
subset of the queues in use by the hardware. This change allows
flow director to specify queues that have been assigned to virtual
functions by partitioning the ring_cookie into a 8bit VF specifier
followed by 32bit queue index. At the moment we don't have any
ethernet drivers with more than 2^32 queues on a single function
as best I can tell and nor do I expect this to happen anytime
soon. This way the ring_cookie's normal use for specifying a queue
on a specific PCI function continues to work as expected.

CC: Alex Duyck <alexander.h.duyck@redhat.com>
Signed-off-by: John Fastabend <john.r.fastabend@intel.com>
Tested-by: Krishneil Singh <krishneil.k.singh@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
(cherry picked from commit 7aac84259656c4f2dd805223659067b1504ed619)
Signed-off-by: Brian Maly <brian.maly@oracle.com>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c