Comment 0 for bug 1967754

Revision history for this message
Amir Tzin (amirtz) wrote :

on kernel 5.15.0-23-generic devlink cannot show/change flow steering mode

[test case]

# devlink dev param show pci/0000:24:00.0 name flow_steering_mode
pci/0000:24:00.0:
  name flow_steering_mode type driver-specific
    values:

(flow steering mode description is missing beneath values)

# devlink dev param set pci/0000:24:00.0 name flow_steering_mode value smfs cmode runtime
Segmentation fault (core dumped)

and also with upstream iproute
# ./iproute2/devlink/devlink dev param set pci/0000:24:00.0 name flow_steering_mode value smfs cmode runtime
Configuration mode not supported

this issue is a degradation introduced by commit from jammy tree
76385c47db37 ("net/mlx5: Accept devlink user input after driver initialization complete")
issue do not repro on v5.15.0 or when the above commit is reverted.