netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [patch net-next 0/5] mlxsw: Offload PRIO qdisc
@ 2018-01-11 10:20 Jiri Pirko
  2018-01-11 10:20 ` [patch net-next 1/5] mlxsw: reg: add rdpm register Jiri Pirko
                   ` (5 more replies)
  0 siblings, 6 replies; 21+ messages in thread
From: Jiri Pirko @ 2018-01-11 10:20 UTC (permalink / raw)
  To: netdev; +Cc: nogahf, yuvalm, davem, idosch, mlxsw, jhs, xiyou.wangcong

From: Jiri Pirko <jiri@mellanox.com>

Add an offload support for PRIO qdisc for mlxsw driver.
PRIO qdisc is being offloaded by using ndo_setup_tc. It has three
commands, to set or tune the qdisc, to remove it and to get its stats.

Like RED offloading, offloading this qdisc is not enforced on the driver
and determining its offload state is done in the dump action, when the
stats are being updated.
In the driver, offloading of PRIO is supported as root qdisc only. It
supports only priorities 0-7 (the range that is used by the current static
mapping of DSCP to skb prio and by 1:1 PCP values mapping) and up to 8
bands.

Patches 1-2 offload DSCP to priority mapping in the mlxsw_sp driver.
Patch 3 adds offload support for PRIO qdisc.
Patches 4-5 Add PRIO offload support in the mlxsw_sp driver.

Nogah Frankel (3):
  net: sch: prio: Add offload ability to PRIO qdisc
  mlxsw: spectrum: qdiscs: Support PRIO qdisc offload
  mlxsw: spectrum: qdiscs: Support stats for PRIO qdisc

Yuval Mintz (2):
  mlxsw: reg: add rdpm register
  mlxsw: spectrum_router: Configure default routing priority

 drivers/net/ethernet/mellanox/mlxsw/item.h         |   2 +-
 drivers/net/ethernet/mellanox/mlxsw/reg.h          |  37 +++++
 drivers/net/ethernet/mellanox/mlxsw/spectrum.c     |   2 +
 drivers/net/ethernet/mellanox/mlxsw/spectrum.h     |   2 +
 .../net/ethernet/mellanox/mlxsw/spectrum_qdisc.c   | 174 +++++++++++++++++++++
 .../net/ethernet/mellanox/mlxsw/spectrum_router.c  |  24 +++
 include/linux/netdevice.h                          |   1 +
 include/net/pkt_cls.h                              |  25 +++
 net/sched/sch_prio.c                               |  59 +++++++
 9 files changed, 325 insertions(+), 1 deletion(-)

-- 
2.14.3

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

end of thread, other threads:[~2018-01-12 13:27 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-11 10:20 [patch net-next 0/5] mlxsw: Offload PRIO qdisc Jiri Pirko
2018-01-11 10:20 ` [patch net-next 1/5] mlxsw: reg: add rdpm register Jiri Pirko
2018-01-11 18:47   ` David Miller
2018-01-11 10:20 ` [patch net-next 2/5] mlxsw: spectrum_router: Configure default routing priority Jiri Pirko
2018-01-11 10:21 ` [patch net-next 3/5] net: sch: prio: Add offload ability to PRIO qdisc Jiri Pirko
2018-01-11 23:25   ` Jakub Kicinski
2018-01-11 23:50     ` Yuval Mintz
2018-01-12  0:00       ` Jakub Kicinski
2018-01-12  0:05         ` Yuval Mintz
2018-01-12  9:20           ` Nogah Frankel
2018-01-12  9:42             ` Jakub Kicinski
2018-01-11 10:21 ` [patch net-next 4/5] mlxsw: spectrum: qdiscs: Support PRIO qdisc offload Jiri Pirko
2018-01-11 10:21 ` [patch net-next 5/5] mlxsw: spectrum: qdiscs: Support stats for PRIO qdisc Jiri Pirko
2018-01-12  0:07   ` Jakub Kicinski
2018-01-12  0:39     ` Yuval Mintz
2018-01-12  8:32       ` Jakub Kicinski
2018-01-12  8:46         ` Yuval Mintz
2018-01-12  9:29           ` Nogah Frankel
2018-01-12  9:40             ` Jakub Kicinski
2018-01-12 10:26               ` Nogah Frankel
2018-01-12 13:27 ` [patch net-next 0/5] mlxsw: Offload " Jamal Hadi Salim

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