netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jiri Pirko <jiri@resnulli.us>
To: netdev@vger.kernel.org
Cc: davem@davemloft.net, idosch@mellanox.com, mlxsw@mellanox.com
Subject: [patch net-next 00/12] mlxsw: Preparations for restructuring
Date: Tue, 16 May 2017 19:38:23 +0200	[thread overview]
Message-ID: <20170516173835.2978-1-jiri@resnulli.us> (raw)

From: Jiri Pirko <jiri@mellanox.com>

This patchset doesn't introduce any functional changes and merely meant
to make the code base more receptive for upcoming restructuring.

The first six patches mainly shuffle code in order to reduce the scope of
structs that shouldn't be defined in the main driver header. Most of them
will be later expanded, so it makes sense to correctly place them now.

The last patches mostly simplify bridge-related functions, so that they
could be more easily modified later on.

Ido Schimmel (12):
  mlxsw: spectrum_buffer: Reduce scope of shared buffer struct
  mlxsw: spectrum_router: Reduce scope of router struct
  mlxsw: spectrum_switchdev: Reduce scope of bridge struct
  mlxsw: spectrum_router: Move RIFs array to its rightful place
  mlxsw: spectrum_router: Move FIB notification block to router struct
  mlxsw: spectrum_router: Initialize RIFs in a separate function
  mlxsw: spectrum_switchdev: Remove redundant check
  mlxsw: spectrum_switchdev: Don't batch VLAN operations
  mlxsw: spectrum_switchdev: Don't batch STP operations
  mlxsw: spectrum_switchdev: Don't batch learning operations
  mlxsw: spectrum: Move PVID code to appropriate place
  mlxsw: spectrum: Default ports to non-virtual mode

 drivers/net/ethernet/mellanox/mlxsw/spectrum.c     | 118 +++++-
 drivers/net/ethernet/mellanox/mlxsw/spectrum.h     | 131 +------
 .../net/ethernet/mellanox/mlxsw/spectrum_buffers.c |  73 +++-
 .../net/ethernet/mellanox/mlxsw/spectrum_dpipe.c   |  17 +-
 .../net/ethernet/mellanox/mlxsw/spectrum_router.c  | 289 +++++++++-----
 .../net/ethernet/mellanox/mlxsw/spectrum_router.h  |   2 +
 .../ethernet/mellanox/mlxsw/spectrum_switchdev.c   | 415 ++++++++-------------
 7 files changed, 529 insertions(+), 516 deletions(-)

-- 
2.9.3

             reply	other threads:[~2017-05-16 17:38 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-16 17:38 Jiri Pirko [this message]
2017-05-16 17:38 ` [patch net-next 01/12] mlxsw: spectrum_buffer: Reduce scope of shared buffer struct Jiri Pirko
2017-05-16 17:38 ` [patch net-next 02/12] mlxsw: spectrum_router: Reduce scope of router struct Jiri Pirko
2017-05-16 17:38 ` [patch net-next 03/12] mlxsw: spectrum_switchdev: Reduce scope of bridge struct Jiri Pirko
2017-05-16 17:38 ` [patch net-next 04/12] mlxsw: spectrum_router: Move RIFs array to its rightful place Jiri Pirko
2017-05-16 17:38 ` [patch net-next 05/12] mlxsw: spectrum_router: Move FIB notification block to router struct Jiri Pirko
2017-05-16 17:38 ` [patch net-next 06/12] mlxsw: spectrum_router: Initialize RIFs in a separate function Jiri Pirko
2017-05-16 17:38 ` [patch net-next 07/12] mlxsw: spectrum_switchdev: Remove redundant check Jiri Pirko
2017-05-16 17:38 ` [patch net-next 08/12] mlxsw: spectrum_switchdev: Don't batch VLAN operations Jiri Pirko
2017-05-16 17:38 ` [patch net-next 09/12] mlxsw: spectrum_switchdev: Don't batch STP operations Jiri Pirko
2017-05-16 17:38 ` [patch net-next 10/12] mlxsw: spectrum_switchdev: Don't batch learning operations Jiri Pirko
2017-05-16 17:38 ` [patch net-next 11/12] mlxsw: spectrum: Move PVID code to appropriate place Jiri Pirko
2017-05-16 17:38 ` [patch net-next 12/12] mlxsw: spectrum: Default ports to non-virtual mode Jiri Pirko
2017-05-17 18:07 ` [patch net-next 00/12] mlxsw: Preparations for restructuring David Miller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170516173835.2978-1-jiri@resnulli.us \
    --to=jiri@resnulli.us \
    --cc=davem@davemloft.net \
    --cc=idosch@mellanox.com \
    --cc=mlxsw@mellanox.com \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).