1. 24 Sep, 2019 1 commit
  2. 05 Sep, 2019 1 commit
  3. 02 Sep, 2019 1 commit
  4. 28 Aug, 2019 1 commit
  5. 20 Aug, 2019 3 commits
  6. 13 Aug, 2019 1 commit
  7. 08 Aug, 2019 1 commit
  8. 04 Aug, 2019 1 commit
  9. 01 Aug, 2019 3 commits
  10. 25 Jul, 2019 1 commit
  11. 11 Jul, 2019 1 commit
    • Saeed Mahameed's avatar
      net/mlx5e: Rx, Fix checksum calculation for new hardware · db849faa
      Saeed Mahameed authored
      CQE checksum full mode in new HW, provides a full checksum of rx frame.
      Covering bytes starting from eth protocol up to last byte in the received
      frame (frame_size - ETH_HLEN), as expected by the stack.
      Fixing up skb->csum by the driver is not required in such case. This fix
      is to avoid wrong checksum calculation in drivers which already support
      the new hardware with the new checksum mode.
      Fixes: 85327a9c
       ("net/mlx5: Update the list of the PCI supported devices")
      Signed-off-by: default avatarSaeed Mahameed <saeedm@mellanox.com>
  12. 07 Jul, 2019 1 commit
    • Max Gurtovoy's avatar
      net/mlx5: Introduce VHCA tunnel device capability · 1dd7382b
      Max Gurtovoy authored
      When using the device emulation feature (introduced in Bluefield-1 SOC),
      a privileged function (the device emulation manager) will be able to
      create a channel to execute commands on behalf of the emulated function.
      This channel will be a general object of type VHCA_TUNNEL that will have
      a unique ID for each emulated function. This ID will be passed in each
      cmd that will be issued by the emulation SW in a well known offset in
      the command header.
      This channel is needed since the emulated function doesn't have a normal
      command interface to the HCA HW, but some basic configuration for that
      function is needed (e.g. initialize and enable the HCA). For that matter,
      a specific command-set was defined and only those commands will be issued
      by the HCA.
      Signed-off-by: default avatarMax Gurtovoy <maxg@mellanox.com>
      Reviewed-by: default avatarYishai Hadas <yishaih@mellanox.com>
      Signed-off-by: default avatarLeon Romanovsky <leonro@mellanox.com>
  13. 04 Jul, 2019 1 commit
  14. 03 Jul, 2019 3 commits
  15. 01 Jul, 2019 3 commits
    • Bodong Wang's avatar
      net/mlx5: Don't handle VF func change if host PF is disabled · 5ccf2770
      Bodong Wang authored
      When ECPF eswitch manager is at offloads mode, it monitors functions
      changed event from host PF side and acts according to the number of
      VFs enabled/disabled.
      As ECPF and host PF work in two independent hosts, it's possible that
      host PF OS reboots but ECPF system is still kept on and continues
      monitoring events from host PF. When kernel from host PF side is
      booting, PCI iov driver does sriov_init and compute_max_vf_buses by
      iterating over all valid num of VFs. This triggers FLR and generates
      functions changed events, even though host PF HCA is not enabled at
      this time. However, ECPF is not aware of this information, and still
      handles these events as usual. ECPF system will see massive number of
      reps are created, but destroyed immediately once creation finished.
      To eliminate this noise, a bit is added to host parameter context to
      indicate host PF is disabled. ECPF will not handle the VF changed
      event if this bit is set.
      Signed-off-by: default avatarBodong Wang <bodong@mellanox.com>
      Reviewed-by: default avatarDaniel Jurgens <danielj@mellanox.com>
      Signed-off-by: default avatarSaeed Mahameed <saeedm@mellanox.com>
    • Shay Agroskin's avatar
      net/mlx5: Added MCQI and MCQS registers' description to ifc · a82e0b5b
      Shay Agroskin authored
      Given a fw component index, the MCQI register allows us to query
      this component's information (e.g. its version and capabilities).
      Given a fw component index, the MCQS register allows us to query the
      status of a fw component, including its type and state
      (e.g. PRESET/IN_USE).
      It can be used to find the index of a component of a specific type, by
      sequentially increasing the component index, and querying each time the
      type of the returned component.
      If max component index is reached, 'last_index_flag' is set by the HCA.
      These registers' description was added to query the running and pending
      fw version of the HCA.
      Signed-off-by: default avatarShay Agroskin <shayag@mellanox.com>
      Signed-off-by: default avatarSaeed Mahameed <saeedm@mellanox.com>
    • Parav Pandit's avatar
      net/mlx5: Add hardware definitions for sub functions · 1759d322
      Parav Pandit authored
      Update mlx5 device interface data structures for:
      1. New command definitions for allocating, deallocating SF
      2. Query SF partition
      3. Eswitch SF fields
      4. HCA CAP SF fields
      5. Extend Eswitch functions command for SF
      Signed-off-by: default avatarParav Pandit <parav@mellanox.com>
      Signed-off-by: default avatarVu Pham <vuhuong@mellanox.com>
      Signed-off-by: default avatarSaeed Mahameed <saeedm@mellanox.com>
  16. 26 Jun, 2019 1 commit
    • Jianbo Liu's avatar
      net/mlx5: Introduce vport metadata matching bits and enum constants · 65c0f2c1
      Jianbo Liu authored
      When a dual-port VHCA sends a RoCE packet on its non-native port, and
      the packet arrives to its affiliated vport FDB, a mismatch might occur
      on the rules that match the packet source vport. So we replace the
      match on source port with the match on metadata that was configured in
      ingress ACL, and that metadata will be passed further also to the NIC
      RX table of the eswitch manager.
      Introduce vport metadata matching bits and enum constants as a pre-step
      towards metadata matching.
          o metadata type C registers in the misc parameters 2 fields.
          o esw_uplink_ingress_acl bit in esw cap. If it set, the device supports
            ingress ACL for the uplink vport.
          o fdb_to_vport_reg_* bits in flow table cap and esw vport context, to
            support propagating the metadata to the nic rx through the loopback
          o flow_source in flow context, to indicate the known origin of packets.
          o enum constants, to support the above bits.
      Signed-off-by: default avatarJianbo Liu <jianbol@mellanox.com>
      Reviewed-by: default avatarEli Britstein <elibr@mellanox.com>
      Reviewed-by: default avatarRoi Dayan <roid@mellanox.com>
      Reviewed-by: default avatarMark Bloch <markb@mellanox.com>
      Signed-off-by: default avatarSaeed Mahameed <saeedm@mellanox.com>
  17. 13 Jun, 2019 1 commit
  18. 31 May, 2019 4 commits
  19. 14 May, 2019 1 commit
  20. 01 May, 2019 1 commit
  21. 29 Apr, 2019 5 commits
  22. 24 Apr, 2019 2 commits
  23. 02 Apr, 2019 1 commit
  24. 22 Mar, 2019 1 commit