aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/ice/ice_main.c
diff options
context:
space:
mode:
authorArkadiusz Kubalewski <[email protected]>2024-02-09 21:24:32 +0000
committerTony Nguyen <[email protected]>2024-02-20 18:26:24 +0000
commitee89921da471edcb4b1e67f5bbfedddf39749782 (patch)
treea7924a90c4d270ea9bd0608727919e56a7f118f5 /drivers/net/ethernet/intel/ice/ice_main.c
parentice: fix dpll periodic work data updates on PF reset (diff)
downloadkernel-ee89921da471edcb4b1e67f5bbfedddf39749782.tar.gz
kernel-ee89921da471edcb4b1e67f5bbfedddf39749782.zip
ice: fix pin phase adjust updates on PF reset
Do not allow to set phase adjust value for a pin if PF reset is in progress, this would cause confusing netlink extack errors as the firmware cannot process the request properly during the reset time. Return (-EBUSY) and report extack error for the user who tries configure pin phase adjust during the reset time. Test by looping execution of below steps until netlink error appears: - perform PF reset $ echo 1 > /sys/class/net/<ice PF>/device/reset - change pin phase adjust value: $ ./tools/net/ynl/cli.py --spec Documentation/netlink/specs/dpll.yaml \ --do pin-set --json '{"id":0, "phase-adjust":1000}' Fixes: 90e1c90750d7 ("ice: dpll: implement phase related callbacks") Reviewed-by: Igor Bagnucki <[email protected]> Signed-off-by: Arkadiusz Kubalewski <[email protected]> Tested-by: Pucha Himasekhar Reddy <[email protected]> (A Contingent worker at Intel) Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_main.c')
0 files changed, 0 insertions, 0 deletions