mbox series

[rdma-core,0/3] Expose PCI atomic capabilities

Message ID 1548590494-16684-1-git-send-email-yishaih@mellanox.com (mailing list archive)
Headers show
Series Expose PCI atomic capabilities | expand

Message

Yishai Hadas Jan. 27, 2019, 12:01 p.m. UTC
This series from Michael exposes PCI atomic operations capabilities to user space
applications

PCI atomic operations were first introduced in PCIe Base Specification 2.1.

The supported operations are swap, fetch & add and compare & swap.  Each
operation can be supported in a few different operation sizes therefore we
expose the capabilities in a bitmask of supported operation sizes per operation
type.

Each device needs to enable the above PCI capabilities and report on to let
applications use them. The mlx5 driver exposes the capabilities by using the
DEVX interface.

PR was sent:
https://github.com/linux-rdma/rdma-core/pull/458

Michael Guralnik (3):
  mlx5: Infrastructure for building mailbox for devx
  verbs: Expose PCI atomic operations capabilities in query_device_ex
  mlx5: Report PCI atomic capabilities

 libibverbs/man/ibv_query_device_ex.3 |  17 ++++++
 libibverbs/verbs.h                   |  17 ++++++
 providers/mlx5/mlx5_ifc.h            | 100 +++++++++++++++++++++++++++++++++++
 providers/mlx5/mlx5dv.h              |  59 +++++++++++++++++++++
 providers/mlx5/verbs.c               |  31 +++++++++++
 5 files changed, 224 insertions(+)
 create mode 100644 providers/mlx5/mlx5_ifc.h

Comments

Yishai Hadas Feb. 7, 2019, 9:33 a.m. UTC | #1
On 1/27/2019 2:01 PM, Yishai Hadas wrote:
> This series from Michael exposes PCI atomic operations capabilities to user space
> applications
> 
> PCI atomic operations were first introduced in PCIe Base Specification 2.1.
> 
> The supported operations are swap, fetch & add and compare & swap.  Each
> operation can be supported in a few different operation sizes therefore we
> expose the capabilities in a bitmask of supported operation sizes per operation
> type.
> 
> Each device needs to enable the above PCI capabilities and report on to let
> applications use them. The mlx5 driver exposes the capabilities by using the
> DEVX interface.
> 
> PR was sent:
> https://github.com/linux-rdma/rdma-core/pull/458
> 
> Michael Guralnik (3):
>    mlx5: Infrastructure for building mailbox for devx
>    verbs: Expose PCI atomic operations capabilities in query_device_ex
>    mlx5: Report PCI atomic capabilities
> 
>   libibverbs/man/ibv_query_device_ex.3 |  17 ++++++
>   libibverbs/verbs.h                   |  17 ++++++
>   providers/mlx5/mlx5_ifc.h            | 100 +++++++++++++++++++++++++++++++++++
>   providers/mlx5/mlx5dv.h              |  59 +++++++++++++++++++++
>   providers/mlx5/verbs.c               |  31 +++++++++++
>   5 files changed, 224 insertions(+)
>   create mode 100644 providers/mlx5/mlx5_ifc.h
> 

The series was merged.