[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <af0308e5-f6ad-3caa-07eb-0b89c0d65479@linux.vnet.ibm.com>
Date: Thu, 27 Jul 2023 08:29:38 -0500
From: Thinh Tran <thinhtr@...ux.vnet.ibm.com>
To: Jakub Kicinski <kuba@...nel.org>
Cc: aelior@...vell.com, davem@...emloft.net, edumazet@...gle.com,
manishc@...vell.com, netdev@...r.kernel.org, pabeni@...hat.com,
skalluru@...vell.com, drc@...ux.vnet.ibm.com, abdhalee@...ibm.com
Subject: Re: [Patch v3] bnx2x: Fix error recovering in switch configuration
On 7/24/2023 5:50 PM, Jakub Kicinski wrote:
>
> You're sprinkling this if around the same piece of code in multiple
> places. Please factor it out into a function, and add return early
> from it if needed. If possible please keep the code symmetric (i.e.
> also factor out the inverse of this code for starting the NIC).
Thank you for reviewing. I'll work for creating a separate function for
it, and one for the inverse as well if it's possible.
Thinh Tran
Powered by blists - more mailing lists