[Kernel-packages] [Bug 1967754] Re: ubuntu 22.04 jammy, mlx5, can't change flow steering mode

2022-04-29 Thread dann frazier
We decided the best approach was to revert the break patch which is now
done in 5.15.y upstream:

commit f1607e13ed715f3b6433361f8ea5d4aa79f03b94
Author: dann frazier 
Date:   Thu Apr 7 14:16:42 2022 -0600

Revert "net/mlx5: Accept devlink user input after driver
initialization complete"

Which was released in v5.15.34, and is being tracked for jammy inclusion
in bug 1969107.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1967754

Title:
  ubuntu 22.04 jammy, mlx5, can't change flow steering mode

Status in linux package in Ubuntu:
  Fix Committed

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

  [test case]

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

  (flow steering mode description is missing beneath "values:")

  # devlink  dev param set pci/: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/: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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1967754/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1967754] Re: ubuntu 22.04 jammy, mlx5, can't change flow steering mode

2022-04-19 Thread dann frazier
** Changed in: linux (Ubuntu)
   Status: Confirmed => Fix Committed

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1967754

Title:
  ubuntu 22.04 jammy, mlx5, can't change flow steering mode

Status in linux package in Ubuntu:
  Fix Committed

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

  [test case]

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

  (flow steering mode description is missing beneath "values:")

  # devlink  dev param set pci/: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/: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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1967754/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1967754] Re: ubuntu 22.04 jammy, mlx5, can't change flow steering mode

2022-04-05 Thread dann frazier
@Amir: if that fixes the problem for you, would you mind submitting it
to sta...@vger.kernel.org? I've verified that stable 5.15.y is impacted,
which is where Ubuntu inherited it from. I also tested upstream 5.15.y
w/ cf530217408e applied, and it does seem to fix this issue.

** Changed in: linux (Ubuntu)
   Status: Incomplete => Confirmed

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1967754

Title:
  ubuntu 22.04 jammy, mlx5, can't change flow steering mode

Status in linux package in Ubuntu:
  Confirmed

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

  [test case]

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

  (flow steering mode description is missing beneath "values:")

  # devlink  dev param set pci/: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/: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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1967754/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1967754] Re: ubuntu 22.04 jammy, mlx5, can't change flow steering mode

2022-04-05 Thread Amir Tzin
with cf530217408e ("devlink: Notify users when objects are accessible")
i was able to change steering mode

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1967754

Title:
  ubuntu 22.04 jammy, mlx5, can't change flow steering mode

Status in linux package in Ubuntu:
  Incomplete

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

  [test case]

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

  (flow steering mode description is missing beneath "values:")

  # devlink  dev param set pci/: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/: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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1967754/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1967754] Re: ubuntu 22.04 jammy, mlx5, can't change flow steering mode

2022-04-04 Thread Amir Tzin
https://lore.kernel.org/netdev/cover.1632565508.git.leo...@nvidia.com/

It seems jammy kernel needs cf530217408e ("devlink: Notify users when objects 
are accessible") from v5.16-rc1
(see link) the old  devlink_register (before cf530217408e) implementation do 
not publish the params so we cannot erase the calls to devlink_params_publish. 
i'll update once finished testing with cf530217408e ported.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1967754

Title:
  ubuntu 22.04 jammy, mlx5, can't change flow steering mode

Status in linux package in Ubuntu:
  Incomplete

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

  [test case]

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

  (flow steering mode description is missing beneath "values:")

  # devlink  dev param set pci/: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/: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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1967754/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1967754] Re: ubuntu 22.04 jammy, mlx5, can't change flow steering mode

2022-04-04 Thread Amir Tzin
** Description changed:

- 
- on kernel 5.15.0-23-generic devlink cannot show/change flow steering mode
+ on kernel 5.15.0-23-generic devlink cannot show/change flow steering
+ mode
  
  [test case]
  
  # devlink dev param show  pci/:24:00.0 name flow_steering_mode
  pci/:24:00.0:
-   name flow_steering_mode type driver-specific
- values: 
-  
- (flow steering mode description is missing beneath values)
+   name flow_steering_mode type driver-specific
+ values:
  
+ (flow steering mode description is missing beneath "values:")
  
  # devlink  dev param set pci/: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/: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.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1967754

Title:
  ubuntu 22.04 jammy, mlx5, can't change flow steering mode

Status in linux package in Ubuntu:
  Incomplete

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

  [test case]

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

  (flow steering mode description is missing beneath "values:")

  # devlink  dev param set pci/: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/: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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1967754/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp