Subject: Re: [PATCH] netdev: driver: ethernet: add sysfs interface for ti cpsw

From: John Fastabend <[email-masked]>
Date: Tue, 03 Jul 2012 16:38:08 -0700

On 7/3/2012 4:16 PM, David Miller wrote:
> From: <[email-masked]>
> Date: Tue, 3 Jul 2012 15:51:26 -0400
>
>> From: Sandeep Paulraj <[email-masked]>
>>
>> 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 <[email-masked]>
>
> 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