netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Similar functions in net/core/dev.c
@ 2021-02-26 14:09 Vinicius Tinti
  0 siblings, 0 replies; only message in thread
From: Vinicius Tinti @ 2021-02-26 14:09 UTC (permalink / raw)
  To: David S. Miller, David Ahern, Taehee Yoo, Nathan Chancellor,
	Nick Desaulniers
  Cc: Vinicius Tinti, netdev, linux-kernel, clang-built-linux

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-02-26 14:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-02-26 14:09 Similar functions in net/core/dev.c Vinicius Tinti

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).