diff options
author | Gal Pressman <galpress@amazon.com> | 2020-07-22 16:03:11 +0200 |
---|---|---|
committer | Jason Gunthorpe <jgg@nvidia.com> | 2020-07-29 14:23:40 +0200 |
commit | a5d87b698547233321466b2dc91271f5855a4df6 (patch) | |
tree | 408b2b043ae9aef48aa894c5ec888913c5534b1f /drivers/rtc/rtc-mpc5121.c | |
parent | RDMA/efa: Expose minimum SQ size (diff) | |
download | linux-a5d87b698547233321466b2dc91271f5855a4df6.tar.xz linux-a5d87b698547233321466b2dc91271f5855a4df6.zip |
RDMA/efa: User/kernel compatibility handshake mechanism
Introduce a mechanism that performs an handshake between the userspace
provider and kernel driver which verifies that the user supports all
required features in order to operate correctly.
The handshake verifies the needed functionality by comparing the reported
device caps and the provider caps. If the device reports a non-zero
capability the appropriate comp mask is required from the userspace
provider in order to allocate the context.
Link: https://lore.kernel.org/r/20200722140312.3651-4-galpress@amazon.com
Reviewed-by: Shadi Ammouri <sammouri@amazon.com>
Reviewed-by: Yossi Leybovich <sleybo@amazon.com>
Signed-off-by: Gal Pressman <galpress@amazon.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'drivers/rtc/rtc-mpc5121.c')
0 files changed, 0 insertions, 0 deletions