netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Florian Fainelli <f.fainelli@gmail.com>
To: Jiri Pirko <jiri@resnulli.us>, netdev@vger.kernel.org
Cc: davem@davemloft.net, mlxsw@mellanox.com, idosch@mellanox.com,
	jakub.kicinski@netronome.com, andrew@lunn.ch,
	vivien.didelot@gmail.com, michael.chan@broadcom.com
Subject: Re: [patch net-next v3 11/12] dsa: pass switch ID through devlink_port_attrs_set()
Date: Tue, 2 Apr 2019 11:12:13 -0700	[thread overview]
Message-ID: <d02b019b-bdd5-1a67-fec6-c08386c719e3@gmail.com> (raw)
In-Reply-To: <20190402081512.2988-12-jiri@resnulli.us>

On 4/2/19 1:15 AM, Jiri Pirko wrote:
> From: Jiri Pirko <jiri@mellanox.com>
> 
> Pass the switch ID down the to devlink through devlink_port_attrs_set()
> so it can be used by devlink_compat_switch_id_get(). Leave
> ndo_get_port_parent_id implementation only for legacy.
> 
> Signed-off-by: Jiri Pirko <jiri@mellanox.com>

Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
-- 
Florian

  reply	other threads:[~2019-04-02 18:12 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-02  8:15 [patch net-next v3 00/12] net: extend devlink port attrs with switch ID Jiri Pirko
2019-04-02  8:15 ` [patch net-next v3 01/12] net: devlink: convert devlink_port_attrs bools to bits Jiri Pirko
2019-04-02  8:15 ` [patch net-next v3 02/12] net: devlink: extend port attrs for switch ID Jiri Pirko
2019-04-02  8:15 ` [patch net-next v3 03/12] net: devlink: introduce devlink_compat_switch_id_get() helper Jiri Pirko
2019-04-02  8:15 ` [patch net-next v3 04/12] mlxsw: Pass switch ID through devlink_port_attrs_set() Jiri Pirko
2019-04-02  8:15 ` [patch net-next v3 05/12] mlxsw: Remove ndo_get_port_parent_id implementation Jiri Pirko
2019-04-02  8:15 ` [patch net-next v3 06/12] bnxt: pass switch ID through devlink_port_attrs_set() Jiri Pirko
2019-04-02  8:15 ` [patch net-next v3 07/12] bnxt: remove ndo_get_port_parent_id implementation for physical ports Jiri Pirko
2019-04-02  8:15 ` [patch net-next v3 08/12] nfp: pass switch ID through devlink_port_attrs_set() Jiri Pirko
2019-04-02  8:15 ` [patch net-next v3 09/12] nfp: remove ndo_get_port_parent_id implementation Jiri Pirko
2019-04-02  8:15 ` [patch net-next v3 10/12] mlxsw: switch_ib: Pass valid HW id down to mlxsw_core_port_init() Jiri Pirko
2019-04-02  8:15 ` [patch net-next v3 11/12] dsa: pass switch ID through devlink_port_attrs_set() Jiri Pirko
2019-04-02 18:12   ` Florian Fainelli [this message]
2019-04-02  8:15 ` [patch net-next v3 12/12] net: devlink: add warning for ndo_get_port_parent_id set when not needed Jiri Pirko
2019-04-02 19:53 ` [patch net-next v3 00/12] net: extend devlink port attrs with switch ID Jiri Pirko

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=d02b019b-bdd5-1a67-fec6-c08386c719e3@gmail.com \
    --to=f.fainelli@gmail.com \
    --cc=andrew@lunn.ch \
    --cc=davem@davemloft.net \
    --cc=idosch@mellanox.com \
    --cc=jakub.kicinski@netronome.com \
    --cc=jiri@resnulli.us \
    --cc=michael.chan@broadcom.com \
    --cc=mlxsw@mellanox.com \
    --cc=netdev@vger.kernel.org \
    --cc=vivien.didelot@gmail.com \
    /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).