On Tue, Jun 19, 2018 at 10:59:13AM +0300, Leon Romanovsky wrote: > From: Leon Romanovsky <leonro@xxxxxxxxxxxx> > > >From Parav: > > Now that all the drivers are using the sgid_attr, make it persist throughout > the CM code as well instead of storing loose ifindex or sgid_index values. > > This series is a prerequisite for enabling namespaces for RoCE. It > ensures that while GID entry being used, it cannot get deleted. When the > last user of the GID entry releases the reference, the GID entry is > released in the software cache and in the HCA. > > Series also removes dependency of net+ifindex in the path record entry > for RoCE. Both of those fields of the netdev can change and storing net > namespace without holding reference will lead to use-after-free crash. > Therefore it is removed. Netdevice information for RoCE will be provided > via referenced gid attribute in ib_cm_req entry in future. > > Thanks > > Jason Gunthorpe (1): > RDMA/core: Remove unused ib cache functions > > Parav Pandit (7): > IB: Make ib_init_ah_attr_from_wc set sgid_attr > IB: Make ib_init_ah_from_mcmember set sgid_attr > IB: Make init_ah_attr_grh_fields set sgid_attr > IB/cm: Keep track of the sgid_attr that created the cm id > IB/cm: Pass the sgid_attr through various events > IB/cm: Replace members of sa_path_rec with 'struct sgid_attr *' > IB/cm: Use sgid_attr from the AV Thanks applied to for-next Jason -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html