[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <329df165-a6a3-3c3b-cbb3-ea77ce2ea672@gmail.com>
Date: Mon, 4 May 2020 19:25:58 +0200
From: Heiner Kallweit <hkallweit1@...il.com>
To: Realtek linux nic maintainers <nic_swsd@...ltek.com>,
David Miller <davem@...emloft.net>
Cc: "netdev@...r.kernel.org" <netdev@...r.kernel.org>
Subject: [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(-)
--
2.26.2
Powered by blists - more mailing lists