All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH net-next 0/2] r8169: create function pointer arrays for PHY and chip hw init functions
@ 2019-04-14  8:29 Heiner Kallweit
  2019-04-14  8:30 ` [PATCH net-next 1/2] r8169: create function pointer array for PHY " Heiner Kallweit
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Heiner Kallweit @ 2019-04-14  8:29 UTC (permalink / raw)
  To: Realtek linux nic maintainers, David Miller; +Cc: netdev

Using function pointer arrays makes the code easier to read and better
maintainable. AFAIK function pointer arrays cause some performance
drawback due to Spectre mitigation, but we're not in a hot path.

Heiner Kallweit (2):
  r8169: create function pointer array for PHY init functions
  r8169: create function pointer array for chip hw init functions

 drivers/net/ethernet/realtek/r8169.c | 401 +++++++++------------------
 1 file changed, 127 insertions(+), 274 deletions(-)

-- 
2.21.0


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-04-14 20:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-14  8:29 [PATCH net-next 0/2] r8169: create function pointer arrays for PHY and chip hw init functions Heiner Kallweit
2019-04-14  8:30 ` [PATCH net-next 1/2] r8169: create function pointer array for PHY " Heiner Kallweit
2019-04-14  8:32 ` [PATCH net-next 2/2] r8169: create function pointer array for chip hw " Heiner Kallweit
2019-04-14 20:50 ` [PATCH net-next 0/2] r8169: create function pointer arrays for PHY and " David Miller

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.