commit | 980f91c3a62852ebfd0e60387d4a9d13934d9760 | [log] [tgz] |
---|---|---|
author | Alex Vesker <valex@mellanox.com> | Wed Jun 14 22:18:48 2017 +0300 |
committer | Saeed Mahameed <saeedm@mellanox.com> | Sat Oct 14 11:22:08 2017 -0700 |
tree | a5fb3a307d27bbd5d6bc7b917e7a0eb95ffebc9b | |
parent | b4b678b06f6eef18bff44a338c01870234db0bc9 [diff] |
IB/ipoib: Add ability to set PKEY index to lower device driver To support passing child interfaces to the lower device a new rdma_netdev function was used, set_id. This will allow us to attach the PKEY index lower device resources such as TIS/QP. For devices that do not support offloads in IPoIB same logic will be used, setting the PKEY index to priv struct. Signed-off-by: Alex Vesker <valex@mellanox.com> Reviewed-by: Erez Shitrit <erezsh@mellanox.com>