From: David Ahern <dsa@cumulusnetworks.com>
To: Petr Machata <petrm@mellanox.com>,
"linux-rdma@vger.kernel.org" <linux-rdma@vger.kernel.org>,
"netdev@vger.kernel.org" <netdev@vger.kernel.org>,
"linux-stm32@st-md-mailman.stormreply.com"
<linux-stm32@st-md-mailman.stormreply.com>,
"linux-arm-kernel@lists.infradead.org"
<linux-arm-kernel@lists.infradead.org>,
"devel@linuxdriverproject.org" <devel@linuxdriverproject.org>,
"linux-wireless@vger.kernel.org" <linux-wireless@vger.kernel.org>,
"linux-s390@vger.kernel.org" <linux-s390@vger.kernel.org>,
"devel@driverdev.osuosl.org" <devel@driverdev.osuosl.org>,
"sparmaintainer@unisys.com" <sparmaintainer@unisys.com>,
"linux-bluetooth@vger.kernel.org"
<linux-bluetooth@vger.kernel.org>,
"dev@openvswitch.org" <dev@openvswitch.org>,
"linux-kselftest@vger.kernel.org"
<linux-kselftest@vger.kernel.org>
Cc: "ioana.ciornei@nxp.com" <ioana.ciornei@nxp.com>,
"heiko.carstens@de.ibm.com" <heiko.carstens@de.ibm.com>,
"_govind@gmx.com" <_govind@gmx.com>,
"shrijeet@gmail.com" <shrijeet@gmail.com>,
"ecree@solarflare.com" <ecree@solarflare.com>,
"shuah@kernel.org" <shuah@kernel.org>,
"andy@greyhouse.net" <andy@greyhouse.net>,
"johan.hedberg@gmail.com" <johan.hedberg@gmail.com>,
"sthemmin@microsoft.com" <sthemmin@microsoft.com>,
"jwi@linux.ibm.com" <jwi@linux.ibm.com>,
"pshelar@ovn.org" <pshelar@ovn.org>,
"jgg@ziepe.ca" <jgg@ziepe.ca>,
"dledford@redhat.com" <dledford@redhat.com>,
"joabreu@synopsys.com" <joabreu@synopsys.com>,
"vfalico@gmail.com" <vfalico@gmail.com>,
"kuznet@ms2.inr.ac.ru" <kuznet@ms2.inr.ac.ru>,
"yisen.zhuang@huawei.com" <yisen.zhuang@huawei.com>,
"marcel@holtmann.org" <marcel@holtmann.org>,
"pkaustub@cisco.com" <pkaustub@cisco.com>,
"jiri@resnulli.us" <jiri@resnul>
Subject: Re: [PATCH net-next 5/8] net: core: dev: Add extack argument to __dev_change_flags()
Date: Wed, 5 Dec 2018 09:38:47 -0700 [thread overview]
Message-ID: <2adabd6e-a3a3-ebeb-c56f-e99d9f069991@cumulusnetworks.com> (raw)
In-Reply-To: <6980408947bc34e016f30afba9c5f1444541a2ad.1544006963.git.petrm@mellanox.com>
On 12/5/18 3:51 AM, Petr Machata wrote:
> In order to pass extack together with NETDEV_PRE_UP notifications, it's
> necessary to route the extack to __dev_open() from diverse (possibly
> indirect) callers. The last missing API is __dev_change_flags().
>
> Therefore extend __dev_change_flags() with and extra extack argument and
> update the two existing users.
>
> Since the function declaration line is changed anyway, name the struct
> net_device argument to placate checkpatch.
>
> Signed-off-by: Petr Machata <petrm@mellanox.com>
> Acked-by: Jiri Pirko <jiri@mellanox.com>
> Reviewed-by: Ido Schimmel <idosch@mellanox.com>
> ---
> include/linux/netdevice.h | 3 ++-
> net/core/dev.c | 5 +++--
> net/core/rtnetlink.c | 3 ++-
> 3 files changed, 7 insertions(+), 4 deletions(-)
>
Reviewed-by: David Ahern <dsahern@gmail.com>
next prev parent reply other threads:[~2018-12-05 16:38 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-12-05 10:51 [PATCH net-next 0/8] Pass extack to NETDEV_PRE_UP Petr Machata
[not found] ` <cover.1544006963.git.petrm-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2018-12-05 10:51 ` [PATCH net-next 1/8] net: core: dev: Add extack argument to dev_open() Petr Machata
[not found] ` <58aee6a3c1ecba75a780cc303e5fd6e4d92059be.1544006963.git.petrm-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2018-12-05 16:32 ` David Ahern
2018-12-05 10:51 ` [PATCH net-next 2/8] net: vrf: cycle_netdev(): Add an extack argument Petr Machata
[not found] ` <eb87a73c9e3f48abd7ca7b6ad76924af70cecef1.1544006963.git.petrm-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2018-12-05 16:34 ` David Ahern
2018-12-05 10:51 ` [PATCH net-next 3/8] net: ipvlan: ipvlan_set_port_mode(): " Petr Machata
2018-12-05 10:51 ` [PATCH net-next 4/8] net: core: dev: Add extack argument to dev_change_flags() Petr Machata
[not found] ` <a85ca38ac0470f61758d979bcd1b9e3b9e086d1c.1544006963.git.petrm-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2018-12-05 16:35 ` David Ahern
2018-12-05 10:51 ` [PATCH net-next 5/8] net: core: dev: Add extack argument to __dev_change_flags() Petr Machata
2018-12-05 16:38 ` David Ahern [this message]
2018-12-05 10:51 ` [PATCH net-next 6/8] net: core: dev: Add call_netdevice_notifiers_extack() Petr Machata
2018-12-05 16:43 ` David Ahern
2018-12-05 10:52 ` [PATCH net-next 7/8] net: core: dev: Attach extack to NETDEV_PRE_UP Petr Machata
2018-12-05 16:44 ` David Ahern
2018-12-05 10:52 ` [PATCH net-next 8/8] selftests: mlxsw: Add a new test extack.sh Petr Machata
2018-12-05 19:38 ` [PATCH net-next 0/8] Pass extack to NETDEV_PRE_UP 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=2adabd6e-a3a3-ebeb-c56f-e99d9f069991@cumulusnetworks.com \
--to=dsa@cumulusnetworks.com \
--cc=_govind@gmx.com \
--cc=andy@greyhouse.net \
--cc=dev@openvswitch.org \
--cc=devel@driverdev.osuosl.org \
--cc=devel@linuxdriverproject.org \
--cc=dledford@redhat.com \
--cc=ecree@solarflare.com \
--cc=heiko.carstens@de.ibm.com \
--cc=ioana.ciornei@nxp.com \
--cc=jgg@ziepe.ca \
--cc=jiri@resnul \
--cc=joabreu@synopsys.com \
--cc=johan.hedberg@gmail.com \
--cc=jwi@linux.ibm.com \
--cc=kuznet@ms2.inr.ac.ru \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-bluetooth@vger.kernel.org \
--cc=linux-kselftest@vger.kernel.org \
--cc=linux-rdma@vger.kernel.org \
--cc=linux-s390@vger.kernel.org \
--cc=linux-stm32@st-md-mailman.stormreply.com \
--cc=linux-wireless@vger.kernel.org \
--cc=marcel@holtmann.org \
--cc=netdev@vger.kernel.org \
--cc=petrm@mellanox.com \
--cc=pkaustub@cisco.com \
--cc=pshelar@ovn.org \
--cc=shrijeet@gmail.com \
--cc=shuah@kernel.org \
--cc=sparmaintainer@unisys.com \
--cc=sthemmin@microsoft.com \
--cc=vfalico@gmail.com \
--cc=yisen.zhuang@huawei.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