From: Alexander Duyck <alexander.h.duyck@intel.com>
To: netdev@vger.kernel.org, intel-wired-lan@lists.osuosl.org
Subject: [RFC PATCH 0/4] Add support for DCB and XPS with MACVLAN offload
Date: Mon, 04 Jun 2018 11:17:38 -0400 [thread overview]
Message-ID: <20180604150847.74754.8585.stgit@ahduyck-green-test.jf.intel.com> (raw)
This patch set is meant to address a number of shortcomings in the current
implementation of MACVLAN offload. The main issue being the fact that the
current Tx queue implementation for ixgbe required the use of
ndo_select_queue which doesn't necessarily play well with DCB or XPS.
I started this patch set to address that and thought I would submit the
start of the series as an RFC just to make sure I am headed in the right
direction and to see if there is anything I am overlooking. With these
patches applied we now start seeing what I am calling "subordinate
channels" which show themselves via a "-x" suffix where the "-x" can be
anything from "-1" to "-32767". So for example traffic class 0 with a
subordinate class of 5 will be called out as "0-5" if you dump the traffic
class via the sysfs value for the queue.
The main pieces that still need to be handled are the updating of the
ndo_select_queue function and the fallback call to allow support for
passing the accel_priv which I am changing to a netdev. I figure those
patches will be mostly noise so I didn't see the need to include them in
this RFC.
---
Alexander Duyck (4):
net-sysfs: Drop support for XPS and traffic_class on single queue device
net: Add support for subordinate device traffic classes
ixgbe: Add code to populate and use macvlan tc to Tx queue map
net: Add support for subordinate traffic classes to netdev_pick_tx
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c | 55 +++++++---
drivers/net/macvlan.c | 10 --
include/linux/netdevice.h | 20 +++
net/core/dev.c | 144 +++++++++++++++++++++----
net/core/net-sysfs.c | 36 ++++++
5 files changed, 215 insertions(+), 50 deletions(-)
next reply other threads:[~2018-06-04 15:25 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-04 15:17 Alexander Duyck [this message]
2018-06-04 15:17 ` [RFC PATCH 1/4] net-sysfs: Drop support for XPS and traffic_class on single queue device Alexander Duyck
2018-06-04 15:17 ` [RFC PATCH 2/4] net: Add support for subordinate device traffic classes Alexander Duyck
2018-06-04 15:17 ` [RFC PATCH 3/4] ixgbe: Add code to populate and use macvlan tc to Tx queue map Alexander Duyck
2018-06-04 15:17 ` [RFC PATCH 4/4] net: Add support for subordinate traffic classes to netdev_pick_tx Alexander Duyck
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180604150847.74754.8585.stgit@ahduyck-green-test.jf.intel.com \
--to=alexander.h.duyck@intel.com \
--cc=intel-wired-lan@lists.osuosl.org \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox