Re: [PATCH v1 net-next 1/5] net: mscc: ocelot: add and export MAC table lookup operations

Vladimir Oltean
2020-10-20T23:24:26Z

On Tue, Oct 20, 2020 at 03:23:17PM +0800, Xiaoliang Yang wrote:
> Add ocelot_mact_lookup() function to retrieve the row and column at
> which an FDB entry with the given {DMAC, VID} key is found.
>
> This function is needed in felix DSA driver, so export it.
>
> Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
> Signed-off-by: Xiaoliang Yang <xiaoliang.yang_1@nxp.com>
> ---

Please split the moving of code and the introduction of new code into
different patches where possible (like here).