[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <78bba92c-aa8e-ee1e-4b7a-3625d6f6309a@gmail.com>
Date: Mon, 9 Jan 2017 12:13:19 -0800
From: Florian Fainelli <f.fainelli@...il.com>
To: Marcelo Ricardo Leitner <marcelo.leitner@...il.com>
Cc: netdev@...r.kernel.org, davem@...emloft.net,
vivien.didelot@...oirfairelinux.com, andrew@...n.ch,
jiri@...nulli.us
Subject: Re: [PATCH net-next 3/4] net: switchdev: Add
switchdev_port_bridge_getlink_deferred
On 01/09/2017 12:11 PM, Marcelo Ricardo Leitner wrote:
> On Mon, Jan 09, 2017 at 11:45:02AM -0800, Florian Fainelli wrote:
>> Add switchdev_port_bridge_getlink_deferred() which does a deferred
>> object dump operation, this is required for e.g: DSA switches which
>> typically have sleeping I/O operations which is incompatible with being
>> in atomic context obviously.
>>
>> Signed-off-by: Florian Fainelli <f.fainelli@...il.com>
>> ---
>> struct switchdev_attr attr = {
>> .orig_dev = dev,
>> @@ -829,12 +841,49 @@ int switchdev_port_bridge_getlink(struct sk_buff *skb, u32 pid, u32 seq,
>> if (err && err != -EOPNOTSUPP)
>> return err;
>>
>> - return ndo_dflt_bridge_getlink(skb, pid, seq, dev, mode,
>> + return ndo_dflt_bridge_getlink(skb, pid, seq, d, mode,
>
> Was this s/dev/d/ by mistake?
No, it's not a mistake, it was made so that the function signature could
be within 80 columns.
--
Florian
Powered by blists - more mailing lists