Pushing patches for this bug to this branch:
https://code.launchpad.net/~bladernr/ubuntu/+source/linux/+git/focal/+ref/1877270-pull-roce-disable-from-5.5

** Description changed:

  [Impact]
  
  RoCE disable feature was added to the kernel v5.5.
  This feature was requested by Mellanox customers that use Ubuntu 20.04,
  and it's a very high important to deliver this feature to the customers
  in one of ubuntu 20.04 SRU.
  
  [SHORT DESCRIPTION]
  
  RoCE enablement state controls driver support for RoCE traffic.
  When RoCE is disabled, there is no gid table, only raw ethernet QPs are 
supported and traffic on the well known UDP RoCE port is handled as raw 
ethernet traffic.
  
  [Test Case]
  
  To change RoCE enablement state a user must change the driverinit cmode
  value and run devlink reload.
  
  User command examples:
  
  - Disable RoCE::
  
      $ devlink dev param set pci/0000:06:00.0 name enable_roce value false 
cmode driverinit
      $ devlink dev reload pci/0000:06:00.0
  
  - Read RoCE enablement state::
  
      $ devlink dev param show pci/0000:06:00.0 name enable_roce
        pci/0000:06:00.0:
        name enable_roce type generic
        values:
           cmode driverinit value true
  
  [Regression Potential]
  
  This feature shouldn't affect the regression because it's only adding support 
for
  RoCE enable/disable.
  Also,
  This feature was tested internally by Mellanox QA teams
  those tests logs/results are private unfortunately i can't share it here
  
  [Other Info]
  
  Feature patchset:
  
- 4383cfcc65e7 net/mlx5: Add devlink reload 
+ 4383cfcc65e7 net/mlx5: Add devlink reload
  32680da71034 net/mlx5: Remove unneeded variable in mlx5_unload_one
  94de879c28d8 IB/mlx5: Load profile according to RoCE enablement state
  b5a498baf929 IB/mlx5: Rename profile and init methods
  cc9defcbb8fa net/mlx5: Handle "enable_roce" devlink param
  e90cde0d76f0 net/mlx5: Document flow_steering_mode devlink param
  6c7295e13ffd devlink: Add new "enable_roce" generic device param
  
- 070c63f20f6c ("net: devlink: allow to change namespaces during
- reload")## This one does not apply cleanly
- 
  All are in upstream in 5.5, so no pick into Groovy necessary
  
  userspace:
  
  No userspace dependency on this. the feature  uses the devlink
  param functionality which already exists in UB20.04.

-- 
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/1877270

Title:
  Devlink -  add RoCE disable kernel support

Status in linux package in Ubuntu:
  In Progress
Status in linux source package in Focal:
  In Progress
Status in linux source package in Groovy:
  In Progress

Bug description:
  [Impact]

  RoCE disable feature was added to the kernel v5.5.
  This feature was requested by Mellanox customers that use Ubuntu 20.04,
  and it's a very high important to deliver this feature to the customers
  in one of ubuntu 20.04 SRU.

  [SHORT DESCRIPTION]

  RoCE enablement state controls driver support for RoCE traffic.
  When RoCE is disabled, there is no gid table, only raw ethernet QPs are 
supported and traffic on the well known UDP RoCE port is handled as raw 
ethernet traffic.

  [Test Case]

  To change RoCE enablement state a user must change the driverinit
  cmode value and run devlink reload.

  User command examples:

  - Disable RoCE::

      $ devlink dev param set pci/0000:06:00.0 name enable_roce value false 
cmode driverinit
      $ devlink dev reload pci/0000:06:00.0

  - Read RoCE enablement state::

      $ devlink dev param show pci/0000:06:00.0 name enable_roce
        pci/0000:06:00.0:
        name enable_roce type generic
        values:
           cmode driverinit value true

  [Regression Potential]

  This feature shouldn't affect the regression because it's only adding support 
for
  RoCE enable/disable.
  Also,
  This feature was tested internally by Mellanox QA teams
  those tests logs/results are private unfortunately i can't share it here

  [Other Info]

  Feature patchset:

  4383cfcc65e7 net/mlx5: Add devlink reload
  32680da71034 net/mlx5: Remove unneeded variable in mlx5_unload_one
  94de879c28d8 IB/mlx5: Load profile according to RoCE enablement state
  b5a498baf929 IB/mlx5: Rename profile and init methods
  cc9defcbb8fa net/mlx5: Handle "enable_roce" devlink param
  e90cde0d76f0 net/mlx5: Document flow_steering_mode devlink param
  6c7295e13ffd devlink: Add new "enable_roce" generic device param

  All are in upstream in 5.5, so no pick into Groovy necessary

  userspace:

  No userspace dependency on this. the feature  uses the devlink
  param functionality which already exists in UB20.04.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1877270/+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

Reply via email to