[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20170208163451.GF30741@oracle.com>
Date: Wed, 8 Feb 2017 08:34:51 -0800
From: Sowmini Varadhan <sowmini.varadhan@...cle.com>
To: Shannon Nelson <shannon.nelson@...cle.com>
Cc: netdev@...r.kernel.org, davem@...emloft.net,
sparclinux@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 net-next 6/9] sunvnet: straighten up message event
handling logic
On (02/08/17 08:28), Shannon Nelson wrote:
> The existing code does this as well - if it first finds a RESET, it handles
> it then hits the return 0. Next if it finds the UP, it does the goto back
> to the ldc_ctrl: to process, and hits the same return 0. Only if neither of
> these bits have been seen does the code move on to process the DATA_READY
> event.
>
> If we're seeing cases of both UP and DATA_READY, then yes we'll wnat to look
> at changing this logic. I think that should be a separate patch.
>
Ok. probably we just make one redundant loop out and back into the function.
Other than that, the patchset looks good to me.
--Sowmini
Powered by blists - more mailing lists