aboutsummaryrefslogtreecommitdiffstats
path: root/include/rdma/uverbs_types.h
diff options
context:
space:
mode:
authorMichael Guralnik <michaelgur@mellanox.com>2019-01-18 16:33:11 -0800
committerLeon Romanovsky <leonro@mellanox.com>2019-01-24 14:26:09 +0200
commitce4eee5340a966f633fee1e8603aafd223ca394a (patch)
treefbadf5bca4ae9fc5fcfea757d6d59d8e6f47a50c /include/rdma/uverbs_types.h
parentnet/mlx5: Make mlx5_cmd_exec_cb() a safe API (diff)
downloadlinux-dev-ce4eee5340a966f633fee1e8603aafd223ca394a.tar.xz
linux-dev-ce4eee5340a966f633fee1e8603aafd223ca394a.zip
net/mlx5: Add pci AtomicOps request
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: Michael Guralnik <michaelgur@mellanox.com> Reviewed-by: Majd Dibbiny <majd@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com> Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Diffstat (limited to 'include/rdma/uverbs_types.h')
0 files changed, 0 insertions, 0 deletions