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

From: Vladimir Oltean
Date: Tue Oct 20 2020 - 19:24:27 EST


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@xxxxxxx>
> Signed-off-by: Xiaoliang Yang <xiaoliang.yang_1@xxxxxxx>
> ---

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