]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
ixgbe: Add code to populate and use macvlan TC to Tx queue map
authorAlexander Duyck <alexander.h.duyck@intel.com>
Mon, 9 Jul 2018 16:19:43 +0000 (12:19 -0400)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Mon, 9 Jul 2018 19:27:52 +0000 (12:27 -0700)
commit58b0b3ed4c226f62fcdf82df366d644b7a2226ca
treec1ea98e0c2402d2e77c7ee3385539310d85f57c6
parentffcfe25bb50f27395e15fa999f1a7eb769f55360
ixgbe: Add code to populate and use macvlan TC to Tx queue map

This patch makes it so that we use the tc_to_txq mapping in the macvlan
device in order to select the Tx queue for outgoing packets.

The idea here is to try and move away from using ixgbe_select_queue and to
come up with a generic way to make this work for devices going forward. By
encoding this information in the netdev this can become something that can
be used generically as a solution for similar setups going forward.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c