lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:   Thu, 11 Jan 2018 11:20:57 +0100
From:   Jiri Pirko <jiri@...nulli.us>
To:     netdev@...r.kernel.org
Cc:     nogahf@...lanox.com, yuvalm@...lanox.com, davem@...emloft.net,
        idosch@...lanox.com, mlxsw@...lanox.com, jhs@...atatu.com,
        xiyou.wangcong@...il.com
Subject: [patch net-next 0/5] mlxsw: Offload PRIO qdisc

From: Jiri Pirko <jiri@...lanox.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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ