eth: gianfar: migrate to new RXFH callbacks
authorJakub Kicinski <kuba@kernel.org>
Fri, 13 Jun 2025 17:27:51 +0000 (10:27 -0700)
committerJakub Kicinski <kuba@kernel.org>
Tue, 17 Jun 2025 01:24:17 +0000 (18:24 -0700)
commit3b5b1c428260152e47c9584bc176f358b87ca82d
tree1771d560e9f5820311903e1161ebeebc89da823f
parent3bfec3827b045766258927c252bc0c53baefad78
eth: gianfar: migrate to new RXFH callbacks

Migrate to new callbacks added by commit 9bb00786fc61 ("net: ethtool:
add dedicated callbacks for getting and setting rxfh fields").

Uniquely, this driver supports only the SET operation. It does not
support GET at all. The SET callback also always returns 0, even
tho it checks a bunch of conditions, and if my quick reading is
right, expects the user to insert filtering rules for given flow
type first? Long story short it seems too convoluted to easily
add the GET as part of the conversion.

Link: https://patch.msgid.link/20250613172751.3754732-1-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/freescale/gianfar_ethtool.c