net: add helper eth_hw_addr_crc
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | net: add helper eth_hw_addr_crcinclude/ | +12 | 0 replies | |
| 2/2 | r8169: use new helper eth_hw_addr_crcdrivers/ | +1 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
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