commit | b7403217656dcf6c51f09d0bca7a12db0de8934a | [log] [tgz] |
---|---|---|
author | Parav Pandit <parav@mellanox.com> | Tue Jun 19 10:59:14 2018 +0300 |
committer | Jason Gunthorpe <jgg@mellanox.com> | Mon Jun 25 14:19:56 2018 -0600 |
tree | 7b33cae5ff1d69441813710a23498bbb606e13cf | |
parent | 70324739ac5e0332dc053eaeaba773f5ab755879 [diff] |
IB: Make ib_init_ah_attr_from_wc set sgid_attr The work completion is inspected to determine what dgid table entry was used to receieve the packet, produces a sgid_attr that matches and sticks it in the ah_attr. All callers of this function are now required to release the ah_attr on success. Signed-off-by: Parav Pandit <parav@mellanox.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com> Signed-off-by: Leon Romanovsky <leonro@mellanox.com>