netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [patch net-next v4 00/13] net: extend devlink port attrs with switch ID
@ 2019-04-03 12:24 Jiri Pirko
  2019-04-03 12:24 ` [patch net-next v4 01/13] net: devlink: convert devlink_port_attrs bools to bits Jiri Pirko
                   ` (13 more replies)
  0 siblings, 14 replies; 15+ messages in thread
From: Jiri Pirko @ 2019-04-03 12:24 UTC (permalink / raw)
  To: netdev
  Cc: davem, mlxsw, idosch, jakub.kicinski, f.fainelli, andrew,
	vivien.didelot, michael.chan

From: Jiri Pirko <jiri@mellanox.com>

Extend devlink port attrs to contain switch ID and change drivers that
register devlink ports to use that.

Jiri Pirko (13):
  net: devlink: convert devlink_port_attrs bools to bits
  net: devlink: extend port attrs for switch ID
  net: devlink: introduce devlink_compat_switch_id_get() helper
  mlxsw: Pass switch ID through devlink_port_attrs_set()
  mlxsw: Remove ndo_get_port_parent_id implementation
  bnxt: move bp->switch_id initialization to PF probe
  bnxt: pass switch ID through devlink_port_attrs_set()
  bnxt: remove ndo_get_port_parent_id implementation for physical ports
  nfp: pass switch ID through devlink_port_attrs_set()
  nfp: remove ndo_get_port_parent_id implementation
  mlxsw: switch_ib: Pass valid HW id down to mlxsw_core_port_init()
  dsa: pass switch ID through devlink_port_attrs_set()
  net: devlink: add warning for ndo_get_port_parent_id set when not
    needed

 drivers/net/ethernet/broadcom/bnxt/bnxt.c     | 26 ++++++++-
 .../net/ethernet/broadcom/bnxt/bnxt_devlink.c |  3 +-
 drivers/net/ethernet/broadcom/bnxt/bnxt_vfr.c | 25 ---------
 drivers/net/ethernet/mellanox/mlxsw/core.c    |  7 ++-
 drivers/net/ethernet/mellanox/mlxsw/core.h    |  4 +-
 drivers/net/ethernet/mellanox/mlxsw/minimal.c | 17 ++----
 .../net/ethernet/mellanox/mlxsw/spectrum.c    | 17 ++----
 .../net/ethernet/mellanox/mlxsw/switchib.c    | 22 +++++++-
 .../net/ethernet/mellanox/mlxsw/switchx2.c    | 16 +-----
 .../net/ethernet/netronome/nfp/nfp_devlink.c  |  5 +-
 .../ethernet/netronome/nfp/nfp_net_common.c   |  1 -
 .../net/ethernet/netronome/nfp/nfp_net_repr.c |  1 -
 drivers/net/ethernet/netronome/nfp/nfp_port.c | 16 ------
 include/net/devlink.h                         | 19 +++++--
 net/core/dev.c                                | 15 ++++--
 net/core/devlink.c                            | 53 +++++++++++++++++--
 net/dsa/dsa2.c                                |  4 +-
 net/dsa/slave.c                               |  7 +++
 18 files changed, 155 insertions(+), 103 deletions(-)

-- 
2.17.2


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

end of thread, other threads:[~2019-04-05  0:42 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-04-03 12:24 [patch net-next v4 00/13] net: extend devlink port attrs with switch ID Jiri Pirko
2019-04-03 12:24 ` [patch net-next v4 01/13] net: devlink: convert devlink_port_attrs bools to bits Jiri Pirko
2019-04-03 12:24 ` [patch net-next v4 02/13] net: devlink: extend port attrs for switch ID Jiri Pirko
2019-04-03 12:24 ` [patch net-next v4 03/13] net: devlink: introduce devlink_compat_switch_id_get() helper Jiri Pirko
2019-04-03 12:24 ` [patch net-next v4 04/13] mlxsw: Pass switch ID through devlink_port_attrs_set() Jiri Pirko
2019-04-03 12:24 ` [patch net-next v4 05/13] mlxsw: Remove ndo_get_port_parent_id implementation Jiri Pirko
2019-04-03 12:24 ` [patch net-next v4 06/13] bnxt: move bp->switch_id initialization to PF probe Jiri Pirko
2019-04-03 12:24 ` [patch net-next v4 07/13] bnxt: pass switch ID through devlink_port_attrs_set() Jiri Pirko
2019-04-03 12:24 ` [patch net-next v4 08/13] bnxt: remove ndo_get_port_parent_id implementation for physical ports Jiri Pirko
2019-04-03 12:24 ` [patch net-next v4 09/13] nfp: pass switch ID through devlink_port_attrs_set() Jiri Pirko
2019-04-03 12:24 ` [patch net-next v4 10/13] nfp: remove ndo_get_port_parent_id implementation Jiri Pirko
2019-04-03 12:24 ` [patch net-next v4 11/13] mlxsw: switch_ib: Pass valid HW id down to mlxsw_core_port_init() Jiri Pirko
2019-04-03 12:24 ` [patch net-next v4 12/13] dsa: pass switch ID through devlink_port_attrs_set() Jiri Pirko
2019-04-03 12:24 ` [patch net-next v4 13/13] net: devlink: add warning for ndo_get_port_parent_id set when not needed Jiri Pirko
2019-04-05  0:42 ` [patch net-next v4 00/13] net: extend devlink port attrs with switch ID 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).