1. 16 Feb, 2019 2 commits
    • Bodong Wang's avatar
      net/mlx5: Correctly set LAG mode for ECPF · 86b39a66
      Bodong Wang authored
      When bonding is added, driver assumes that it's RoCE LAG if no VF is
      enabled. This is not enough for ECPF as the VF is enabled in host PF
      side. LAG should only choose RoCE mode when both slave devices meet
      conditions below:
       1. E-Switch offloads mode is NONE.
       2. No VF is enabled.
      Signed-off-by: default avatarBodong Wang <bodong@mellanox.com>
      Signed-off-by: default avatarSaeed Mahameed <saeedm@mellanox.com>
      86b39a66
    • Saeed Mahameed's avatar
      Merge branch 'mlx5-next' of git://git.kernel.org/pub/scm/linux/kernel/git/mellanox/linux · 259fae5a
      Saeed Mahameed authored
      Merge mlx5-next shared branched into net-next,
      
      From Bodong Wang:
      1) Introduction of ECPF (Embedded CPU Physical Function), and low level
      bits for mlx5 SmartNic capabilities support.
      2) Vport enumeration refactoring that affect mlx5_ib and mlx5_core
      
      From Aya Levin,
      3) Add support for 50Gbps per lane link modes in the Port Type and Speed
      register (PTYS)
      4) Refactor low level query functions for PTYS register
      5) Add support for 50Gbps per lane link modes to mlx5_ib
      
      Note: due to a change in API in mlx5/core and a later patch from net-next,
      a fixup was squashed with this merge commit that replaces FDB_UPLINK_VPORT
      with MLX5_VPORT_UPLINK which exists only in upstream net-next.
      Signed-off-by: default avatarSaeed Mahameed <saeedm@mellanox.com>
      259fae5a
  2. 14 Feb, 2019 38 commits