From: Kory Maincent (Dent Project) <kory.maincent@bootlin.com>
This patch series adds support for saving and resetting the PD692x0
device's permanent configuration through driver devlink param attributes:
PD692X0_DEVLINK_PARAM_ID_SAVE_CONF and PD692X0_DEVLINK_PARAM_ID_RESET_CONF.
The permanent configuration allows settings to persist across device
resets and power cycles, providing better control over PSE behavior
in production environments.
Signed-off-by: Kory Maincent (Dent Project) <kory.maincent@bootlin.com>
---
Changes in v2:
- Move from sysfs interface to devlink interface for the permanent
configuration support
- Remove the __free macro from pd692x0 driver following net policy.
- Link to v1: https://lore.kernel.org/r/20250822-feature_poe_permanent_conf-v1-0-dcd41290254d@bootlin.com
---
Kory Maincent (4):
net: pse-pd: pd692x0: Replace __free macro with explicit kfree calls
net: pse-pd: pd692x0: Separate configuration parsing from hardware setup
docs: devlink: Sort table of contents alphabetically
net: pse-pd: pd692x0: Add devlink interface for configuration save/reset
Documentation/networking/devlink/index.rst | 21 +-
Documentation/networking/devlink/pd692x0.rst | 32 +++
drivers/net/pse-pd/pd692x0.c | 325 +++++++++++++++++++++++----
3 files changed, 325 insertions(+), 53 deletions(-)
---
base-commit: 01a8d87c13cc9ccd3692d3e750075a772b3626da
change-id: 20250813-feature_poe_permanent_conf-ec640dace1f2
Best regards,
--
Köry Maincent, Bootlin
Embedded Linux and kernel engineering
https://bootlin.com