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]
Message-Id: <20191028223236.31642-1-f.fainelli@gmail.com>
Date:   Mon, 28 Oct 2019 15:32:34 -0700
From:   Florian Fainelli <f.fainelli@...il.com>
To:     netdev@...r.kernel.org
Cc:     Florian Fainelli <f.fainelli@...il.com>, andrew@...n.ch,
        vivien.didelot@...il.com, davem@...emloft.net,
        Jakub Kicinski <jakub.kicinski@...ronome.com>
Subject: [PATCH net-next 0/2] net: dsa: Add ability to elect CPU port

Hi all,

This patch series solves a problem we have with Broadcom switches
whereby multiple CPU ports can be defined, and while they should all be
possible choices, it may not be desirable to use, say port 5 instead of
port 8 because port 8 is hard wired as the management port in the switch
logic, or because it simply offers more features.

Add an election callback into the driver to allow the selection of a
particular CPU port when multiple are defined.

Florian Fainelli (2):
  net: dsa: Add ability to elect CPU port
  net: dsa: b53: Add CPU port election callback

 drivers/net/dsa/b53/b53_common.c | 17 +++++++++++++++++
 drivers/net/dsa/b53/b53_priv.h   |  1 +
 drivers/net/dsa/bcm_sf2.c        |  1 +
 include/net/dsa.h                |  1 +
 net/dsa/dsa2.c                   | 19 +++++++++++++++----
 5 files changed, 35 insertions(+), 4 deletions(-)

-- 
2.17.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ