RE: [RFC PATCH 00/10] net: hns3: Adds support of debugfs to HNS3 driver

From: Salil Mehta
Date: Sun Nov 11 2018 - 11:48:04 EST


Hi Andrew,

> From: Andrew Lunn [mailto:andrew@xxxxxxx]
> Sent: Sunday, November 11, 2018 4:18 PM
> To: Salil Mehta <salil.mehta@xxxxxxxxxx>
> Cc: davem@xxxxxxxxxxxxx; yuvalm@xxxxxxxxxxxx; leon@xxxxxxxxxx;
> Zhuangyuzeng (Yisen) <yisen.zhuang@xxxxxxxxxx>; lipeng (Y)
> <lipeng321@xxxxxxxxxx>; mehta.salil@xxxxxxxxxx; netdev@xxxxxxxxxxxxxxx;
> linux-kernel@xxxxxxxxxxxxxxx; linux-rdma@xxxxxxxxxxxxxxx; Linuxarm
> <linuxarm@xxxxxxxxxx>
> Subject: Re: [RFC PATCH 00/10] net: hns3: Adds support of debugfs to
> HNS3 driver
>
> > Agreed. But what about if we want to expose anything related to
> > firmware to user-space using the debugfs, assuming we are presenting
> > information in structured way and not as a black-box to some user-
> space
> > application. Is it something which might be discouraged?
>
> Hi Salil
>
> Please take a look at devlink. Mellonex have been adding commands to
> it for dumping firmware states.

sure, thanks for the info. Ill check.

Salil.