All of lore.kernel.org
 help / color / mirror / Atom feed
* [net-next PATCH 0/2] Add support for passing more information in mqprio offload
@ 2017-03-15 17:39 Alexander Duyck
  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
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Alexander Duyck @ 2017-03-15 17:39 UTC (permalink / raw)
  To: netdev, davem
  Cc: thomas.lendacky, bkenward, amritha.nambiar, madalin.bucur,
	w-kwok2, saeedm, ariel.elior, m-karicheri2, jeffrey.t.kirsher,
	Yuval.Mintz, ecree, michael.chan, tariqt

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(-)

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-03-15 22:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-15 17:39 [net-next PATCH 0/2] Add support for passing more information in mqprio offload Alexander Duyck
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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.