[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190620133748.GD2504@nanopsycho>
Date: Thu, 20 Jun 2019 15:37:48 +0200
From: Jiri Pirko <jiri@...nulli.us>
To: Sudarsana Reddy Kalluru <skalluru@...vell.com>
Cc: Jakub Kicinski <jakub.kicinski@...ronome.com>,
"davem@...emloft.net" <davem@...emloft.net>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
Michal Kalderon <mkalderon@...vell.com>,
Ariel Elior <aelior@...vell.com>
Subject: Re: [EXT] Re: [PATCH net-next 4/4] qed: Add devlink support for
configuration attributes.
Thu, Jun 20, 2019 at 02:09:29PM CEST, skalluru@...vell.com wrote:
>> -----Original Message-----
>> From: Jakub Kicinski <jakub.kicinski@...ronome.com>
>> Sent: Tuesday, June 18, 2019 4:24 AM
>> To: Sudarsana Reddy Kalluru <skalluru@...vell.com>
>> Cc: davem@...emloft.net; netdev@...r.kernel.org; Michal Kalderon
>> <mkalderon@...vell.com>; Ariel Elior <aelior@...vell.com>; Jiri Pirko
>> <jiri@...nulli.us>
>> Subject: [EXT] Re: [PATCH net-next 4/4] qed: Add devlink support for
>> configuration attributes.
>>
>> External Email
>>
>> ----------------------------------------------------------------------
>> On Mon, 17 Jun 2019 04:45:28 -0700, Sudarsana Reddy Kalluru wrote:
>> > This patch adds implementation for devlink callbacks for reading/
>> > configuring the device attributes.
>> >
>> > Signed-off-by: Sudarsana Reddy Kalluru <skalluru@...vell.com>
>> > Signed-off-by: Ariel Elior <aelior@...vell.com>
>>
>> You need to provide documentation for your parameters, plus some of them
>> look like they should potentially be port params, not device params.
>
>Thanks a lot for your review. Will add the required documentation. In case of Marvell adapter, any of the device/adapter/port parameters can be read/configurable via any PF (ethdev) on the port. Hence adding the commands at device level. Hope this is fine.
No it is not. Port param should be port param.
Also please be careful not to add any generic param as driver specific.
Thanks!
Powered by blists - more mailing lists