Skip to content

net: add helper eth_hw_addr_crc

Heiner Kallweit netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2net: add helper eth_hw_addr_crcinclude/linux/etherdevice.h+12 -00 replies
2/2r8169: use new helper eth_hw_addr_crcdrivers/net/ethernet/realtek/r8169_main.c+1 -20 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/2] net: add helper eth_hw_addr_crc

Several drivers use the same code as basis for filter hashes. Therefore let's factor it out to a helper. This way drivers don't have to access struct netdev_hw_addr internals.

First user is r8169.

Heiner Kallweit (2):
net: add helper eth_hw_addr_crc
r8169: use new helper eth_hw_addr_crc

 drivers/net/ethernet/realtek/r8169_main.c |  3 +--
 include/linux/etherdevice.h               | 12 ++++++++++++
 2 files changed, 13 insertions(+), 2 deletions(-)
Signature · 1 line
2.26.2