lkml.org 
[lkml]   [2020]   [Jul]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH net-next RFC 02/13] devlink: Add reload levels data to dev get
    On Mon, 27 Jul 2020 14:02:22 +0300 Moshe Shemesh wrote:
    > Expose devlink reload supported levels and driver's default level to the
    > user through devlink dev get command.
    >
    > Examples:
    > $ devlink dev show
    > pci/0000:82:00.0:
    > reload_levels_info:
    > default_level driver
    > supported_levels:
    > driver fw_reset fw_live_patch
    > pci/0000:82:00.1:
    > reload_levels_info:
    > default_level driver
    > supported_levels:
    > driver fw_reset fw_live_patch
    >
    > $ devlink dev show -jp
    > {
    > "dev": {
    > "pci/0000:82:00.0": {
    > "reload_levels_info": {
    > "default_level": "driver",
    > "supported_levels": [ "driver","fw_reset","fw_live_patch" ]
    > }
    > },
    > "pci/0000:82:00.1": {
    > "reload_levels_info": {
    > "default_level": "driver",
    > "supported_levels": [ "driver","fw_reset","fw_live_patch" ]
    > }
    > }
    > }
    > }
    >
    > Signed-off-by: Moshe Shemesh <moshe@mellanox.com>

    The fact that the driver supports fw_live_patch, does not necessarily
    mean that the currently running FW can be live upgraded to the
    currently flashed one, right?

    This interface does not appear to be optimal for the purpose.

    Again, documentation of what can be lost (in terms of configuration and
    features) upon upgrade is missing.

    \
     
     \ /
      Last update: 2020-07-28 02:58    [W:4.173 / U:0.920 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site