[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190419052745.GB2247@nanopsycho>
Date: Fri, 19 Apr 2019 07:27:45 +0200
From: Jiri Pirko <jiri@...nulli.us>
To: Jakub Kicinski <jakub.kicinski@...ronome.com>
Cc: netdev@...r.kernel.org, davem@...emloft.net, mlxsw@...lanox.com,
dsahern@...il.com
Subject: Re: [patch net-next 03/15] netdevsim: rename devlink.c to dev.c to
contain per-dev(asic) items
Thu, Apr 18, 2019 at 07:17:22PM CEST, jakub.kicinski@...ronome.com wrote:
>On Thu, 18 Apr 2019 16:06:02 +0200, Jiri Pirko wrote:
>> From: Jiri Pirko <jiri@...lanox.com>
>>
>> The existing devlink.c code is going to be extended to represent asic
>> device on a bus. As this is about more than just devlink,
>> rename the file. Do appropriate prefix renaming alongside with that.
>
>Again, devlink != bus device. I don't like this change at all.
>
>Keep them separate, please, unless you _need_ such a change for testing.
I have them separate. There is just 1:1 mapping between bus_device
(dev.c) file, and devlink instance. There is nothing preventing to have
the mapping in a different way. This is basically just a file name
change to better fit what is done in the file.
Powered by blists - more mailing lists