[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
Wed Jun 20 17:19:38 UTC 2018
> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at osuosl.org] On
> Behalf Of Alexander Duyck
> Sent: Tuesday, June 12, 2018 8:19 AM
> To: intel-wired-lan at osuosl.org; Kirsher, Jeffrey T
> <jeffrey.t.kirsher at intel.com>; netdev at vger.kernel.org
> 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 | 57 +++++++++++++++----------
> 4 files changed, 45 insertions(+), 45 deletions(-)
Tested-by: Andrew Bowers <andrewx.bowers at intel.com>
More information about the Intel-wired-lan
mailing list