1. Jan 31, 2019
  2. Jan 30, 2019
  3. Jan 26, 2019
  4. Jan 25, 2019
  5. Jan 24, 2019
    • Michael Guralnik's avatar
      net/mlx5: Add pci AtomicOps request · ce4eee53
      Michael Guralnik authored
      
      
      Calling pci_enable_atomic_ops_to_root enables AtomicOp requests to pci
      root port.
      
      AtomicOp requests will be enabled only if the completer and all
      intermediate pci bridges support PCI atomic operations.
      This, together with appropriate settings in the NVCONFIG should enable
      PCI atomic operations on the device.
      
      PCI atomic operations were first introduced in PCI Express Base Specification
      2.1. The Supported operations are Swap (Unconditional Swap), CAS (Compare and
      Swap) and FetchAdd (Fetch and Add).
      
      Unlike other atomic operation modes PCI atomic operations gives the user
      the option to do atomic operations on local memory, without involving verbs
      api, without it compromising the operation's atomicity.
      
      Signed-off-by: default avatarMichael Guralnik <michaelgur@mellanox.com>
      Reviewed-by: default avatarMajd Dibbiny <majd@mellanox.com>
      Signed-off-by: default avatarSaeed Mahameed <saeedm@mellanox.com>
      Signed-off-by: default avatarLeon Romanovsky <leonro@mellanox.com>
      ce4eee53