netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [patch net-next 00/12] mlxsw: Preparations for restructuring
@ 2017-05-16 17:38 Jiri Pirko
  2017-05-16 17:38 ` [patch net-next 01/12] mlxsw: spectrum_buffer: Reduce scope of shared buffer struct Jiri Pirko
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: Jiri Pirko @ 2017-05-16 17:38 UTC (permalink / raw)
  To: netdev; +Cc: davem, idosch, mlxsw

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

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

end of thread, other threads:[~2017-05-17 18:07 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-05-16 17:38 [patch net-next 00/12] mlxsw: Preparations for restructuring Jiri Pirko
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

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