OSDN Git Service

Merge branch 'net-add-helper-eth_hw_addr_crc'
authorDavid S. Miller <davem@davemloft.net>
Mon, 4 May 2020 18:19:58 +0000 (11:19 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 4 May 2020 18:19:58 +0000 (11:19 -0700)
commitcad5eaf74f17049db21a90be9514cb920de5ba39
tree49246aa0456e76e6598214b7990b568fc9fe380c
parente90c9fcedc087c8ba1d34da88381838ed68bfb1c
parentbc54ac3609aa0361dfeb15758b7bacf3637f6d4a
Merge branch 'net-add-helper-eth_hw_addr_crc'

Heiner Kallweit says:

====================
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.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>