[Bridge] [PATCH net-next] bridge: add tracepoint in br_fdb_update

Nikolay Aleksandrov nikolay at cumulusnetworks.com
Thu Aug 31 14:19:33 UTC 2017


On 31/08/17 08:18, Roopa Prabhu wrote:
> From: Roopa Prabhu <roopa at cumulusnetworks.com>
> 
> This extends bridge fdb table tracepoints to also cover
> learned fdb entries in the br_fdb_update path. Note that
> unlike other tracepoints I have moved this to when the fdb
> is modified because this is in the datapath and can generate
> a lot of noise in the trace output. br_fdb_update is also called
> from added_by_user context in the NTF_USE case which is already
> traced ..hence the !added_by_user check.
> 
> Signed-off-by: Roopa Prabhu <roopa at cumulusnetworks.com>
> ---
>  include/trace/events/bridge.h | 31 +++++++++++++++++++++++++++++++
>  net/bridge/br_fdb.c           |  5 ++++-
>  net/core/net-traces.c         |  1 +
>  3 files changed, 36 insertions(+), 1 deletion(-)
> 

Acked-by: Nikolay Aleksandrov <nikolay at cumulusnetworks.com>




More information about the Bridge mailing list