[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20151223050750.GA23659@hari-Latitude-E5550>
Date: Wed, 23 Dec 2015 10:37:52 +0530
From: Hariprasad Shenai <hariprasad@...lsio.com>
To: David Miller <davem@...emloft.net>
Cc: gerlitz.or@...il.com, netdev@...r.kernel.org, leedom@...lsio.com,
nirranjan@...lsio.com, john.r.fastabend@...el.com
Subject: Re: [PATCH net-next 3/5] cxgb4: add dcb info node in debugfs
On Tue, Dec 22, 2015 at 15:45:52 -0500, David Miller wrote:
> From: Or Gerlitz <gerlitz.or@...il.com>
> Date: Mon, 21 Dec 2015 09:33:22 +0200
>
> > On Mon, Dec 21, 2015 at 9:16 AM, Hariprasad Shenai
> > <hariprasad@...lsio.com> wrote:
> >> Add new /sys/kernel/debug/cxgb4/*/dcb_info node to dump out
> >> various Data Center Bridging information.
> >
> > why? what's wrong with using the lldp tool for that purpose?
>
> Agreed, and I don't like your explanation.
>
> Even if you are using firmware managed DCB, the lldp tool should be
> usable for querying.
>
> People need to stop putting so much crap into debugfs, it's a serious
> pet peeve of mine.
>
> Every piece of driver unique interface crap you put into debugfs is a
> _HARDSHIP_ for the user. Because they have to learn a unique way to
> do X in every driver that tries to export the same kind of
> functionality.
Will drop this from the series for now and send V2 for the same.
Will send a separate series for adding lldptool support for firmware
managed DCB.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists