[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20210226140954.GA752212@llvm-development.us-central1-a.c.llvm-285123.internal>
Date: Fri, 26 Feb 2021 14:09:54 +0000
From: Vinicius Tinti <viniciustinti@...il.com>
To: "David S. Miller" <davem@...emloft.net>,
David Ahern <dsa@...ulusnetworks.com>,
Taehee Yoo <ap420073@...il.com>,
Nathan Chancellor <natechancellor@...il.com>,
Nick Desaulniers <ndesaulniers@...gle.com>
Cc: Vinicius Tinti <viniciustinti@...il.com>, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, clang-built-linux@...glegroups.com
Subject: Similar functions in net/core/dev.c
Hi,
All these functions in net/core/dev.c are very similar.
__netdev_walk_all_upper_dev
netdev_walk_all_upper_dev_rcu
netdev_walk_all_lower_dev
__netdev_walk_all_lower_dev
netdev_walk_all_lower_dev_rcu
Can they be merged in one function? Are they a hot path?
Regards,
Vinicius
Powered by blists - more mailing lists