[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1faecfc8-bf75-6ab4-cb7d-44ef27d75bf6@cumulusnetworks.com>
Date: Fri, 27 Apr 2018 18:38:18 +0300
From: Nikolay Aleksandrov <nikolay@...ulusnetworks.com>
To: Ido Schimmel <idosch@...lanox.com>, netdev@...r.kernel.org,
bridge@...ts.linux-foundation.org
Cc: davem@...emloft.net, jiri@...lanox.com, petrm@...lanox.com,
stephen@...workplumber.org, mlxsw@...lanox.com
Subject: Re: [PATCH net-next v2 1/6] net: bridge: Publish bridge accessor
functions
On 27/04/18 18:11, Ido Schimmel wrote:
> From: Petr Machata <petrm@...lanox.com>
>
> Add a couple new functions to allow querying FDB and vlan settings of a
> bridge.
>
> Signed-off-by: Petr Machata <petrm@...lanox.com>
> Signed-off-by: Ido Schimmel <idosch@...lanox.com>
> ---
> include/linux/if_bridge.h | 28 ++++++++++++++++++++++++++++
> net/bridge/br_fdb.c | 22 ++++++++++++++++++++++
> net/bridge/br_private.h | 11 +++++++++++
> net/bridge/br_vlan.c | 39 +++++++++++++++++++++++++++++++++++++++
> 4 files changed, 100 insertions(+)
>
Thanks! This looks good to me although the new exported helpers could've
taken both bridge or port and return the result. Usually when adding a
port-only functions we name them with nbp_ prefix instead of br_.
Anyway this can be done later since the API is internal,
Signed-off-by: Nikolay Aleksandrov <nikolay@...ulusnetworks.com>
Powered by blists - more mailing lists