diff options
author | David S. Miller <davem@davemloft.net> | 2018-07-11 23:03:32 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-07-11 23:03:32 -0700 |
commit | e32f55f373217001187ff171e75c5dfbb251f633 (patch) | |
tree | a3c0f9e288cc6b2f19594475de9f07b9e44fca9a /virt | |
parent | 4929c9428a171145f82f81aae0c3c25ef7d82837 (diff) | |
parent | 8ec56fc3c5ee6f9700adac190e9ce5b8859a58b6 (diff) |
Merge branch '10GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/next-queue
Jeff Kirsher says:
====================
L2 Fwd Offload & 10GbE Intel Driver Updates 2018-07-09
This patch series is meant to allow support for the L2 forward offload, aka
MACVLAN offload without the need for using ndo_select_queue.
The existing solution currently requires that we use ndo_select_queue in
the transmit path if we want to associate specific Tx queues with a given
MACVLAN interface. In order to get away from this we need to repurpose the
tc_to_txq array and XPS pointer for the MACVLAN interface and use those as
a means of accessing the queues on the lower device. As a result we cannot
offload a device that is configured as multiqueue, however it doesn't
really make sense to configure a macvlan interfaced as being multiqueue
anyway since it doesn't really have a qdisc of its own in the first place.
The big changes in this set are:
Allow lower device to update tc_to_txq and XPS map of offloaded MACVLAN
Disable XPS for single queue devices
Replace accel_priv with sb_dev in ndo_select_queue
Add sb_dev parameter to fallback function for ndo_select_queue
Consolidated ndo_select_queue functions that appeared to be duplicates
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions