[Intel-wired-lan] [jkirsher/next-queue PATCH v2 4/7] net: Add support for subordinate traffic classes to netdev_pick_tx

Bowers, AndrewX andrewx.bowers at intel.com
Mon Jul 9 21:17:24 UTC 2018


> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at osuosl.org] On
> Behalf Of Alexander Duyck
> Sent: Monday, July 9, 2018 9:20 AM
> To: netdev at vger.kernel.org; intel-wired-lan at lists.osuosl.org; Kirsher,
> Jeffrey T <jeffrey.t.kirsher at intel.com>
> Subject: [Intel-wired-lan] [jkirsher/next-queue PATCH v2 4/7] net: Add
> support for subordinate traffic classes to netdev_pick_tx
> 
> This change makes it so that we can support the concept of subordinate
> device traffic classes to the core networking code. In doing this we can start
> pulling out the driver specific bits needed to support selecting a queue based
> on an upper device.
> 
> The solution at is currently stands is only partially implemented. I have the
> start of some XPS bits in here, but I would still need to allow for configuration
> of the XPS maps on the queues reserved for the subordinate devices. For
> now I am using the reference to the sb_dev XPS map as just a way to skip the
> lookup of the lower device XPS map for now as that would result in the
> wrong queue being picked.
> 
> Signed-off-by: Alexander Duyck <alexander.h.duyck at intel.com>
> ---
>  drivers/net/ethernet/intel/ixgbe/ixgbe_main.c |   19 +++-----
>  drivers/net/macvlan.c                         |   10 +---
>  include/linux/netdevice.h                     |    4 +-
>  net/core/dev.c                                |   58 +++++++++++++++----------
>  4 files changed, 45 insertions(+), 46 deletions(-)

Tested-by: Andrew Bowers <andrewx.bowers at intel.com>




More information about the Intel-wired-lan mailing list