net: ethtool: Introduce ethnl dump helpers
Status from this message: This series was applied to netdev/net-next.git (main)
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v8 Latest3 patches 0 repliesApplied 3/3
- v73 patches 6 repliesSuperseded
- v62 patches 2 repliesSuperseded
Earlier versions · 5
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v5 | 4 patches | 3 replies | Superseded | |
| v4 | 8 patches | 15 replies | Superseded | |
| v3 | 7 patches | 2 replies | Superseded | |
| v2 | 7 patches | 4 replies | Superseded | |
| v1 | 7 patches | 6 replies | Superseded |
Changes in v8 from the cover letter
- Fixed the dump process WRT refcounting
- Reset the pos_phyindex for non-filtered DUMP
- Reworked kdoc and comments
Patches in v8 All 3 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | net: ethtool: Introduce per-PHY DUMP operationsnet/ | +194 | 0 replies | Applied |
| 2/3 | net: ethtool: phy: Convert the PHY_GET command to generic phy dumpnet/ net/ net/ | +101 | 0 replies | Applied |
| 3/3 | net: ethtool: netlink: Use netdev_hold for dumpit() operationsnet/ | +3 | 0 replies | Applied |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v8 yet.
Cover letter [PATCH net-next v8 0/3] net: ethtool: Introduce ethnl dump helpers
Hi everyone,
This is V8 for per-phy DUMP helpers, improving support for ->dumpit() operations for PHY targetting commands.
This V8 fixes some issues spotted by Jakub (thanks !) on the multi-part DUMP sequence. The netdev reftracking was reworked to make sure that during a filtered DUMP, we only keep a ref on the netdev during individual .dumpit() calls.
Thanks,
Maxime
Changes in V8:
- Fixed the dump process WRT refcounting
- Reset the pos_phyindex for non-filtered DUMP
- Reworked kdoc and comments
Changes in V7:
- Move from dev_hold to netdev_hold()
- Add an extra patch fr dev_hold() conversion.
Changes in V6:
- Squash pse and plca patches into the first one, to avoid unused functions (Jakub)
Changes in V5:
- Move to a less generic approach, focusing only on the PHY case.
Changes in V4:
- Don't grab rcu_read_lock when we already have a refcounter netdev on the filtered dump path (Paolo)
- Move the dump_all stuff in a dedicated helper (Paolo)
- Added patch 1 to set the dev in ctx->req_info
Changes in V3:
- Fixed some typos and xmas tree issues
- Added a missing check for EOPNOTSUPP in patch 1
- Added missing kdoc
- Added missing comments in phy_reply_size
Changes in V2:
- Rebased on the netdev_lock work by Stanislav and the fixes from Eric
- Fixed a bissectability issue
- Fixed kdoc for the new ethnl ops and fields
V1: https://lore.kernel.org/netdev/[email protected]/
V2: https://lore.kernel.org/netdev/[email protected]/
V3: https://lore.kernel.org/netdev/[email protected]/
V4: https://lore.kernel.org/netdev/[email protected]/
V5: https://lore.kernel.org/netdev/[email protected]/
V6: https://lore.kernel.org/netdev/[email protected]/
V7: https://lore.kernel.org/netdev/[email protected]/
Maxime Chevallier (3):
net: ethtool: Introduce per-PHY DUMP operations
net: ethtool: phy: Convert the PHY_GET command to generic phy dump
net: ethtool: netlink: Use netdev_hold for dumpit() operations
net/ethtool/netlink.c | 217 +++++++++++++++++++++++++-- net/ethtool/netlink.h | 4 - net/ethtool/phy.c | 342 ++++++++++++------------------------------ 3 files changed, 298 insertions(+), 265 deletions(-)
Signature · 1 line
2.49.0