]> www.infradead.org Git - users/jedix/linux-maple.git/commit
dsa: mv88e6xxx: Centralise common statistics check
authorAndrew Lunn <andrew@lunn.ch>
Sat, 7 Dec 2024 21:18:45 +0000 (15:18 -0600)
committerJakub Kicinski <kuba@kernel.org>
Wed, 11 Dec 2024 02:23:12 +0000 (18:23 -0800)
commit9a4eef6bf2bee375e94a3647cc11906ed3ee58f7
treeac91169b8eea89ae03cd899e55f6e0c6967dfe9e
parent5595e3613ea768b81f600d37ea6880983339f21a
dsa: mv88e6xxx: Centralise common statistics check

With moving information about available statistics into the info
structure, the test becomes identical. Consolidate them into a single
test.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Simon Horman <horms@kernel.org>
Link: https://patch.msgid.link/20241207-v6-13-rc1-net-next-mv88e6xxx-stats-refactor-v1-2-b9960f839846@lunn.ch
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/dsa/mv88e6xxx/chip.c