[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <4FF38260.2040702@intel.com>
Date: Tue, 03 Jul 2012 16:38:08 -0700
From: John Fastabend <john.r.fastabend@...el.com>
To: s-paulraj@...com
CC: David Miller <davem@...emloft.net>, cyril@...com,
mugunthanvnm@...com, netdev@...r.kernel.org
Subject: Re: [PATCH] netdev: driver: ethernet: add sysfs interface for ti
cpsw
On 7/3/2012 4:16 PM, David Miller wrote:
> From: <s-paulraj@...com>
> Date: Tue, 3 Jul 2012 15:51:26 -0400
>
>> From: Sandeep Paulraj <s-paulraj@...com>
>>
>> This patch adds sysfs entries for address lookup engine entries and
>> control for the ALE(address lookup engine) found in TI SOC's.
>>
>>
>> Signed-off-by: Sandeep Paulraj <s-paulraj@...com>
>
> You may not create private, driver specific, unique interfaces to
> configure your hardware.
>
> You must use existing facilities such as ethtool to add such things.
> If the existing facilities are insufficient, you must extend them to
> meet your (and potentially other's) needs.
> --
I can't seem to dig up the original email perhaps my server is slow
today but did you consider using these hooks ndo_fdb_add(),
ndo_fdb_del(), and ndo_fdb_dump() added recently.
These are for adding/deleting and dumping the address forwarding
databases. Failing that would something like this RFC with another
attribute work,
http://comments.gmane.org/gmane.linux.network/232104
Thanks,
John
--
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