diff --git a/rdma/path.py b/rdma/path.py index 26b76ca..932170a 100644 --- a/rdma/path.py +++ b/rdma/path.py @@ -403,9 +403,9 @@ def get_mad_path(mad,ep_addr,**kwargs): else: path = IBPath(mad.end_port,DLID=ep_addr,**kwargs); - return resolve_path(mad,path,True); + return resolve_path(mad,path); -def resolve_path(mad,path,reversible=False,properties=None): +def resolve_path(mad,path,reversible=True,properties=None): """Resolve *path* to a full path for use with a QP. *path* must have at least a DGID or DLID set. diff --git a/tests/verbs.py b/tests/verbs.py index 75f2c62..6f41767 100644 --- a/tests/verbs.py +++ b/tests/verbs.py @@ -69,7 +69,7 @@ def _get_loop(self,pd,qp_type,depth=16): path_a = rdma.path.IBPath(self.end_port,qkey=999, DGID=self.end_port.default_gid); with rdma.get_gmp_mad(self.end_port,verbs=self.ctx) as vmad: - rdma.path.resolve_path(vmad,path_a,reversible=True); + rdma.path.resolve_path(vmad,path_a); qp_a = pd.qp(qp_type,depth,cq,depth,cq,srq=srq); rdma.path.fill_path(qp_a,path_a,max_rd_atomic=0);