From: David Miller <davem@davemloft.net>
To: vivien.didelot@gmail.com
Cc: netdev@vger.kernel.org, marek.behun@nic.cz, f.fainelli@gmail.com,
andrew@lunn.ch
Subject: Re: [PATCH net-next v2 0/6] net: dsa: enable and disable all ports
Date: Tue, 20 Aug 2019 12:34:03 -0700 (PDT) [thread overview]
Message-ID: <20190820.123403.529519756132327697.davem@davemloft.net> (raw)
In-Reply-To: <20190819200053.21637-1-vivien.didelot@gmail.com>
From: Vivien Didelot <vivien.didelot@gmail.com>
Date: Mon, 19 Aug 2019 16:00:47 -0400
> The DSA stack currently calls the .port_enable and .port_disable switch
> callbacks for slave ports only. However, it is useful to call them for all
> port types. For example this allows some drivers to delay the optimization
> of power consumption after the switch is setup. This can also help reducing
> the setup code of drivers a bit.
>
> The first DSA core patches enable and disable all ports of a switch, regardless
> their type. The last mv88e6xxx patches remove redundant code from the driver
> setup and the said callbacks, now that they handle SERDES power for all ports.
>
> Changes in v2: do not guard .port_disable for broadcom switches.
Series applied, thanks Vivien.
prev parent reply other threads:[~2019-08-20 19:34 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-08-19 20:00 [PATCH net-next v2 0/6] net: dsa: enable and disable all ports Vivien Didelot
2019-08-19 20:00 ` [PATCH net-next v2 1/6] net: dsa: use a single switch statement for port setup Vivien Didelot
2019-08-19 20:00 ` [PATCH net-next v2 2/6] net: dsa: do not enable or disable non user ports Vivien Didelot
2019-08-19 20:00 ` [PATCH net-next v2 3/6] net: dsa: enable and disable all ports Vivien Didelot
2019-08-19 20:00 ` [PATCH net-next v2 4/6] net: dsa: mv88e6xxx: do not change STP state on port disabling Vivien Didelot
2019-08-19 20:00 ` [PATCH net-next v2 5/6] net: dsa: mv88e6xxx: enable SERDES after setup Vivien Didelot
2019-08-19 20:00 ` [PATCH net-next v2 6/6] net: dsa: mv88e6xxx: wrap SERDES IRQ in power function Vivien Didelot
2019-08-20 19:34 ` David Miller [this message]
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=20190820.123403.529519756132327697.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=andrew@lunn.ch \
--cc=f.fainelli@gmail.com \
--cc=marek.behun@nic.cz \
--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).