• John Fastabend's avatar
    ixgbe: Allow flow director to use entire queue space · 7aac8425
    John Fastabend authored
    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: default avatarJohn Fastabend <john.r.fastabend@intel.com>
    Tested-by: default avatarKrishneil Singh <krishneil.k.singh@intel.com>
    Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
    7aac8425
ixgbe_ethtool.c 91.2 KB