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: <20171106211153.26529-1-vivien.didelot@savoirfairelinux.com>
Date:   Mon,  6 Nov 2017 16:11:42 -0500
From:   Vivien Didelot <vivien.didelot@...oirfairelinux.com>
To:     netdev@...r.kernel.org
Cc:     linux-kernel@...r.kernel.org, kernel@...oirfairelinux.com,
        "David S. Miller" <davem@...emloft.net>,
        Florian Fainelli <f.fainelli@...il.com>,
        Andrew Lunn <andrew@...n.ch>,
        Vivien Didelot <vivien.didelot@...oirfairelinux.com>
Subject: [PATCH net-next 00/11] net: dsa: setup stage

When probing a DSA switch, there is basically two stages.

The first stage is the parsing of the switch device, from either device
tree or platform data. It fetches the DSA tree to which it belongs, and
validates its ports. The switch device is then added to the tree, and
the second stage is called if this was the last switch of the tree.

The second stage is the setup of the tree, which validates that the tree
is complete, sets up the routing tables, the default CPU port for user
ports, sets up the switch drivers and finally the master interfaces,
which makes the whole switch fabric functional.

This patch series covers the second setup stage. The setup and teardown
of a switch tree have been separated into logical steps, and the probing
of a switch now simply parses and adds a switch to a tree.

Vivien Didelot (11):
  net: dsa: constify cpu_dp member of dsa_port
  net: dsa: setup and teardown default CPU port
  net: dsa: setup and teardown master device
  net: dsa: setup and teardown tree
  net: dsa: setup and teardown switches
  net: dsa: setup and teardown ports
  net: dsa: add find port by node helper
  net: dsa: use of_for_each_phandle
  net: dsa: setup routing table
  net: dsa: setup a tree when adding a switch to it
  net: dsa: rename probe and remove switch functions

 include/net/dsa.h  |   4 +-
 net/dsa/dsa2.c     | 615 +++++++++++++++++++++++------------------------------
 net/dsa/dsa_priv.h |   4 +-
 net/dsa/legacy.c   |  20 +-
 net/dsa/master.c   |  30 ++-
 net/dsa/slave.c    |   2 +-
 6 files changed, 296 insertions(+), 379 deletions(-)

-- 
2.14.3

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ