[PATCH net-next 0/2] net: dsa: user: minor cleanups
From: Kai Kuang
Date: Mon Nov 09 2026 - 07:10:46 EST
Two small, self-contained cleanups in the DSA user port code, targeted
at net-next:
Patch 1: use u32/u8/u64 in the ->get_strings() and
->get_ethtool_stats() implementations to match the ethtool_ops method
prototypes in include/linux/ethtool.h.
Patch 2: document the plain wmb() in the LAG DSA conduit migration
path. The barrier orders the dp->cpu_dp stores before the new
lag_dev->dsa_ptr is published to the concurrent RX path readers.
Neither patch changes behavior. Reposting now that net-next has
re-opened, as previously requested during the merge window; the patches
are unchanged.
Kai Kuang (2):
net: dsa: user: use kernel types in ethtool callbacks
net: dsa: user: document the write memory barrier on LAG conduit
migration
net/dsa/user.c | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
--
2.25.1
No virus found
Checked by Hillstone Network AntiVirus