1. 05 Apr, 2019 2 commits
    • Aya Levin's avatar
      net/mlx5: Handle event of power detection in the PCIE slot · 5d3c537f
      Aya Levin authored
      Handle event of power state change in the PCIE slot. When the event
      occurs, check if query power state and PCI power fields is supported. If
      so, read these fields from MPEIN (management PCIE info) register and
      issue a corresponding message.
      Signed-off-by: default avatarAya Levin <ayal@mellanox.com>
      Signed-off-by: default avatarSaeed Mahameed <saeedm@mellanox.com>
      5d3c537f
    • Saeed Mahameed's avatar
      Merge branch 'mlx5-next' of git://git.kernel.org/pub/scm/linux/kernel/git/mellanox/linux · b6460c72
      Saeed Mahameed authored
      This merge commit includes some misc shared code updates from mlx5-next branch needed
      for net-next.
      
      1) From Maxim, Remove un-used macros and spinlock from mlx5 code.
      
      2) From Aya, Expose Management PCIE info register layout and add rate limit
      print macros.
      
      3) From Tariq, Compilation warning fix in fs_core.c
      
      4) From Vu, Huy and Saeed, Improve mlx5 initialization flow:
      The goal is to provide a better logical separation of mlx5 core
      device initialization flow and will help to seamlessly support
      creating different mlx5 device types such as PF, VF and SF
      mlx5 sub-function virtual devices.
      
      Mlx5_core driver needs to separate HCA resources from pci resources.
      Its initialize/load/unload will be broken into stages:
      1. Initialize common data structures
      2. Setup function which initializes pci resources (for PF/VF)
         or some other specific resources for virtual device
      3. Initialize software objects according to hardware capabilities
      4. Load all mlx5_core components
      
      It is also necessary to detach mlx5_core mdev name/message from pci
      device mdev->pdev name/message for a clearer report/debug of
      different mlx5 device types.
      Signed-off-by: default avatarSaeed Mahameed <saeedm@mellanox.com>
      b6460c72
  2. 02 Apr, 2019 38 commits