netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Alexander Duyck <alexander.duyck@gmail.com>
To: netdev@vger.kernel.org, davem@davemloft.net
Cc: thomas.lendacky@amd.com, bkenward@solarflare.com,
	amritha.nambiar@intel.com, madalin.bucur@nxp.com, w-kwok2@ti.com,
	saeedm@mellanox.com, ariel.elior@cavium.com, m-karicheri2@ti.com,
	jeffrey.t.kirsher@intel.com, Yuval.Mintz@cavium.com,
	ecree@solarflare.com, michael.chan@broadcom.com,
	tariqt@mellanox.com
Subject: [net-next PATCH 0/2] Add support for passing more information in mqprio offload
Date: Wed, 15 Mar 2017 10:39:12 -0700	[thread overview]
Message-ID: <20170315172929.16349.95037.stgit@localhost.localdomain> (raw)

This patch series lays the groundwork for future work to allow us to make
full use of the mqprio options when offloading them to hardware.

Currently when we specify the hardware offload for mqprio the queue
configuration is completely ignored and the hardware is only notified of
the total number of traffic classes.  The problem is this leads to multiple
issues, one specific issue being you can pass the queue configuration you
want and it is totally ignored by the hardware.

What I am planning to do is add support for "hw" values in the
configuration greater than 1.  So for example we might have one mode of
mqprio offload that uses 1 and only offloads the TC counts like we
currently do.  Then we might look at adding an option 2 which would factor
in the TCs and the queue count information. This way we can select between
the type of offload we actually want and existing drivers that don't
support this can just fall back to their legacy configuration.

---

Alexander Duyck (1):
      mqprio: Change handling of hw u8 to allow for multiple hardware offload modes

Amritha Nambiar (1):
      mqprio: Modify mqprio to pass user parameters via ndo_setup_tc.


 drivers/net/ethernet/amd/xgbe/xgbe-drv.c          |    3 +-
 drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c   |    5 ++-
 drivers/net/ethernet/broadcom/bnxt/bnxt.c         |    4 ++
 drivers/net/ethernet/freescale/dpaa/dpaa_eth.c    |   16 +++++----
 drivers/net/ethernet/intel/fm10k/fm10k_netdev.c   |    4 ++
 drivers/net/ethernet/intel/i40e/i40e_main.c       |    7 +++-
 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c     |    4 ++
 drivers/net/ethernet/mellanox/mlx4/en_netdev.c    |    4 ++
 drivers/net/ethernet/mellanox/mlx5/core/en_main.c |    4 ++
 drivers/net/ethernet/sfc/falcon/tx.c              |    4 ++
 drivers/net/ethernet/sfc/tx.c                     |    4 ++
 drivers/net/ethernet/ti/netcp_core.c              |   12 ++++--
 include/linux/netdevice.h                         |    2 +
 include/uapi/linux/pkt_sched.h                    |    8 ++++
 net/sched/sch_mqprio.c                            |   39 +++++++++++++--------
 15 files changed, 84 insertions(+), 36 deletions(-)

             reply	other threads:[~2017-03-15 17:40 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-15 17:39 Alexander Duyck [this message]
2017-03-15 17:39 ` [net-next PATCH 1/2] mqprio: Change handling of hw u8 to allow for multiple hardware offload modes Alexander Duyck
2017-03-15 17:39 ` [net-next PATCH 2/2] mqprio: Modify mqprio to pass user parameters via ndo_setup_tc Alexander Duyck
2017-03-15 22:20 ` [net-next PATCH 0/2] Add support for passing more information in mqprio offload David Miller

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=20170315172929.16349.95037.stgit@localhost.localdomain \
    --to=alexander.duyck@gmail.com \
    --cc=Yuval.Mintz@cavium.com \
    --cc=amritha.nambiar@intel.com \
    --cc=ariel.elior@cavium.com \
    --cc=bkenward@solarflare.com \
    --cc=davem@davemloft.net \
    --cc=ecree@solarflare.com \
    --cc=jeffrey.t.kirsher@intel.com \
    --cc=m-karicheri2@ti.com \
    --cc=madalin.bucur@nxp.com \
    --cc=michael.chan@broadcom.com \
    --cc=netdev@vger.kernel.org \
    --cc=saeedm@mellanox.com \
    --cc=tariqt@mellanox.com \
    --cc=thomas.lendacky@amd.com \
    --cc=w-kwok2@ti.com \
    /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;
as well as URLs for NNTP newsgroup(s).