[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170315172929.16349.95037.stgit@localhost.localdomain>
Date: Wed, 15 Mar 2017 10:39:12 -0700
From: Alexander Duyck <alexander.duyck@...il.com>
To: netdev@...r.kernel.org, davem@...emloft.net
Cc: thomas.lendacky@....com, bkenward@...arflare.com,
amritha.nambiar@...el.com, madalin.bucur@....com, w-kwok2@...com,
saeedm@...lanox.com, ariel.elior@...ium.com, m-karicheri2@...com,
jeffrey.t.kirsher@...el.com, Yuval.Mintz@...ium.com,
ecree@...arflare.com, michael.chan@...adcom.com,
tariqt@...lanox.com
Subject: [net-next PATCH 0/2] Add support for passing more information in
mqprio offload
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(-)
--
Powered by blists - more mailing lists