[<prev] [next>] [day] [month] [year] [list]
Message-ID: <CAJrKpLYzYufRDHaBzqi4U-1g124qpNnFh7JmqTCyayikx+SFWg@mail.gmail.com>
Date: Wed, 8 Nov 2017 07:13:11 -0500
From: Manish Kurup <kurup.manish@...il.com>
To: David Miller <davem@...emloft.net>
Cc: Alexander Duyck <alexander.duyck@...il.com>,
Pieter Jansen van Vuuren
<pieter.jansenvanvuuren@...ronome.com>,
Jamal Hadi Salim <jhs@...atatu.com>,
Cong Wang <xiyou.wangcong@...il.com>,
Jiri Pirko <jiri@...nulli.us>,
Jakub Kicinski <jakub.kicinski@...ronome.com>,
Simon Horman <simon.horman@...ronome.com>,
john.hurley@...ronome.com, oss-drivers@...ronome.com,
Netdev <netdev@...r.kernel.org>,
Alexander Aring <aring@...atatu.com>,
Roman Mashak <mrv@...atatu.com>,
Manish Kurup <manish.kurup@...izon.com>
Subject: Re: [PATCH net-next v6 3/3] act_vlan: VLAN action rewrite to use RCU
lock/unlock and update
Hi Dave,
On Wed, Nov 8, 2017 at 6:40 AM, Manish Kurup <kurup.manish@...il.com> wrote:
> Hi Dave,
>
> On Tue, Nov 7, 2017 at 7:07 PM, David Miller <davem@...emloft.net> wrote:
>>
>> From: Alexander Duyck <alexander.duyck@...il.com>
>> Date: Tue, 7 Nov 2017 08:54:20 -0800
>>
>> > Are we really going to be so strict about the reverse xmas-tree that
>> > we won't allow for assignment w/ variable declaration because the
>> > dependency order won't fit into that format?
>>
>> Yes.
>>
>> > Last I knew this kind of setup was an exception to the reverse
>> > xmas-tree layout requirement because in this case 'p' relies on 'v' so
>> > we can't reorder these without having to kick the assignment of 'p'
>> > off onto a line by itself.
>>
>> Please just declare the variable naked without the assignment and do
>> the assignment down in the code.
>
> I have a changeset that I had made to incorporate the reverse xmas tree,
> doing the very thing you talk about, above.
> The only reason I didnt not send it out because it made more than minimal
> changes, especially how the 'opt' struct is defined.
>
> I will make the changes and send the review around once more.
>
> Thanks,
>
I have made the required changes, and sent the review around once more
(v10). Please let me know if this looks OK.
Thanks!
-Manish
Powered by blists - more mailing lists