commit | 34eb009ffe2e2b09e356e24bba548bec80708e86 | [log] [tgz] |
---|---|---|
author | Gal Pressman <galpress@amazon.com> | Fri Jul 31 09:04:17 2020 +0300 |
committer | Jason Gunthorpe <jgg@nvidia.com> | Tue Aug 18 14:52:44 2020 -0300 |
tree | b2521a10fc7159b0d0cfcad7ad2a8111c1decc56 | |
parent | d6673746d69909f9ab52cf9fe1f9a21fca202e0c [diff] |
RDMA/efa: Add a generic capability check helper Instead of adding a new function for each capability added, introduce a generic helper to query device capabilities. Link: https://lore.kernel.org/r/20200731060420.17053-2-galpress@amazon.com Reviewed-by: Firas JahJah <firasj@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>