[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20191101123844.17518-1-nikolay@cumulusnetworks.com>
Date: Fri, 1 Nov 2019 14:38:40 +0200
From: Nikolay Aleksandrov <nikolay@...ulusnetworks.com>
To: netdev@...r.kernel.org
Cc: roopa@...ulusnetworks.com, bridge@...ts.linux-foundation.org,
davem@...emloft.net,
Nikolay Aleksandrov <nikolay@...ulusnetworks.com>
Subject: [PATCH net-next 0/3] net: bridge: minor followup optimizations
Hi,
After the converted flags to bitops we can take advantage of the flags
assignment and remove one test and three atomic bitops from the learning
paths (patch 01 and patch 02), patch 03 restores the unlikely() when taking
over HW learned entries.
Thanks,
Nik
Nikolay Aleksandrov (3):
net: bridge: fdb: br_fdb_update can take flags directly
net: bridge: fdb: avoid two atomic bitops in
br_fdb_external_learn_add()
net: bridge: fdb: restore unlikely() when taking over externally added
entries
include/trace/events/bridge.h | 12 ++++++------
net/bridge/br_fdb.c | 30 +++++++++++++++---------------
net/bridge/br_input.c | 4 ++--
net/bridge/br_private.h | 2 +-
4 files changed, 24 insertions(+), 24 deletions(-)
--
2.21.0
Powered by blists - more mailing lists