Skip to content

r8169: replace several function pointers with direct calls

Heiner Kallweit netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3r8169: remove struct mdio_opsdrivers/net/ethernet/realtek/r8169.c+26 -330 replies
2/3r8169: remove struct jumbo_opsdrivers/net/ethernet/realtek/r8169.c+36 -600 replies
3/3r8169: avoid tso csum function indirectiondrivers/net/ethernet/realtek/r8169.c+21 -250 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH net-next 0/3] r8169: replace several function pointers with direct calls

This series removes most function pointers from struct rtl8169_private and uses direct calls instead. This simplifies the code and avoids the penalty of indirect calls in times of retpoline.

Heiner Kallweit (3):
r8169: remove struct mdio_ops
r8169: remove struct jumbo_ops
r8169: avoid tso csum function indirection

 drivers/net/ethernet/realtek/r8169.c | 201 +++++++++++----------------
 1 file changed, 83 insertions(+), 118 deletions(-)
Signature · 1 line
2.21.0