RE: [PATCH for-next v9 0/5] On-Demand Paging on SoftRoCE

Daisuke Matsuda (Fujitsu)
2025-02-19T10:49:42Z

On Thu, Jan 30, 2025 7:52 PM Daisuke Matsuda (Fujitsu):
> On Tue, Jan 14, 2025 5:16 AM Jason Gunthorpe:
> > On Mon, Jan 13, 2025 at 02:15:27PM +0100, Joe Klein wrote:
> >
> > > > > > Possibly, there was a regression in libibverbs between v39.0-1 and v50.0-2build2.
> > > > > > We need to take a closer look to resolve the malfunction of rxe on Ubuntu 24.04.
> > > > >
> > > > > That's distressing.
>
> I am going to start bisecting the root cause to fix it.
> It may take a while, so please stay patient.

On Ubuntu 22.04.5, both v50.0 branch and master branch pass the pyverbs testcases,
so it is not a regression of libibverbs. However, on Ubuntu 24.04.1, the test causes
segmentation fault with both branches. The issue looks specific to Ubuntu 24.04.

Could it be possible the update of python version leads to the failure? I saw strange
warnings while running build.sh, which did not appear on Ubuntu 22.04.5. I would like
to hear from those who have tried building rdma-core on Ubuntu 24.04.1 or with Python 3.12.3.

[422/607] Cythonizing /home/ubuntu/rdma-core/pyverbs/pd.pyx
warning: /home/ubuntu/rdma-core/pyverbs/pd.pyx:102:21: Implicit noexcept declaration is deprecated. Function declaration should contain 'noexcept' keyword.
warning: /home/ubuntu/rdma-core/pyverbs/pd.pyx:124:27: Implicit noexcept declaration is deprecated. Function declaration should contain 'noexcept' keyword.
warning: /home/ubuntu/rdma-core/pyverbs/pd.pyx:142:30: Implicit noexcept declaration is deprecated. Function declaration should contain 'noexcept' keyword.
warning: /home/ubuntu/rdma-core/pyverbs/pd.pyx:158:61: Implicit noexcept declaration is deprecated. Function declaration should contain 'noexcept' keyword.
warning: /home/ubuntu/rdma-core/pyverbs/pd.pyx:180:46: Implicit noexcept declaration is deprecated. Function declaration should contain 'noexcept' keyword.
warning: /home/ubuntu/rdma-core/pyverbs/pd.pyx:272:21: Implicit noexcept declaration is deprecated. Function declaration should contain 'noexcept' keyword.
warning: /home/ubuntu/rdma-core/pyverbs/pd.pyx:279:27: Implicit noexcept declaration is deprecated. Function declaration should contain 'noexcept' keyword.
warning: /home/ubuntu/rdma-core/pyverbs/wr.pxd:12:36: Implicit noexcept declaration is deprecated. Function declaration should contain 'noexcept' keyword.
warning: /home/ubuntu/rdma-core/pyverbs/wr.pxd:21:47: Implicit noexcept declaration is deprecated. Function declaration should contain 'noexcept' keyword.
warning: /home/ubuntu/rdma-core/pyverbs/cmid.pxd:16:27: Implicit noexcept declaration is deprecated. Function declaration should contain 'noexcept' keyword.
warning: /home/ubuntu/rdma-core/pyverbs/cmid.pxd:17:21: Implicit noexcept declaration is deprecated. Function declaration should contain 'noexcept' keyword.
warning: /home/ubuntu/rdma-core/pyverbs/cmid.pxd:22:21: Implicit noexcept declaration is deprecated. Function declaration should contain 'noexcept' keyword.
warning: /home/ubuntu/rdma-core/pyverbs/cmid.pxd:27:21: Implicit noexcept declaration is deprecated. Function declaration should contain 'noexcept' keyword.
warning: /home/ubuntu/rdma-core/pyverbs/cmid.pxd:32:21: Implicit noexcept declaration is deprecated. Function declaration should contain 'noexcept' keyword.
warning: /home/ubuntu/rdma-core/pyverbs/mr.pxd:21:36: Implicit noexcept declaration is deprecated. Function declaration should contain 'noexcept' keyword.
warning: /home/ubuntu/rdma-core/pyverbs/srq.pxd:28:27: Implicit noexcept declaration is deprecated. Function declaration should contain 'noexcept' keyword.
warning: /home/ubuntu/rdma-core/pyverbs/srq.pxd:29:21: Implicit noexcept declaration is deprecated. Function declaration should contain 'noexcept' keyword.
warning: /home/ubuntu/rdma-core/pyverbs/addr.pxd:22:50: Implicit noexcept declaration is deprecated. Function declaration should contain 'noexcept' keyword.
warning: /home/ubuntu/rdma-core/pyverbs/addr.pxd:27:21: Implicit noexcept declaration is deprecated. Function declaration should contain 'noexcept' keyword.
warning: /home/ubuntu/rdma-core/pyverbs/cq.pxd:11:21: Implicit noexcept declaration is deprecated. Function declaration should contain 'noexcept' keyword.
warning: /home/ubuntu/rdma-core/pyverbs/cq.pxd:13:27: Implicit noexcept declaration is deprecated. Function declaration should contain 'noexcept' keyword.
warning: /home/ubuntu/rdma-core/pyverbs/cq.pxd:18:21: Implicit noexcept declaration is deprecated. Function declaration should contain 'noexcept' keyword.
warning: /home/ubuntu/rdma-core/pyverbs/cq.pxd:20:27: Implicit noexcept declaration is deprecated. Function declaration should contain 'noexcept' keyword.
warning: /home/ubuntu/rdma-core/pyverbs/cq.pxd:35:21: Implicit noexcept declaration is deprecated. Function declaration should contain 'noexcept' keyword.
warning: /home/ubuntu/rdma-core/pyverbs/cq.pxd:37:27: Implicit noexcept declaration is deprecated. Function declaration should contain 'noexcept' keyword.
warning: /home/ubuntu/rdma-core/pyverbs/qp.pxd:37:21: Implicit noexcept declaration is deprecated. Function declaration should contain 'noexcept' keyword.
warning: /home/ubuntu/rdma-core/pyverbs/qp.pxd:38:36: Implicit noexcept declaration is deprecated. Function declaration should contain 'noexcept' keyword.
warning: /home/ubuntu/rdma-core/pyverbs/qp.pxd:45:27: Implicit noexcept declaration is deprecated. Function declaration should contain 'noexcept' keyword.
warning: /home/ubuntu/rdma-core/pyverbs/wq.pxd:27:28: Implicit noexcept declaration is deprecated. Function declaration should contain 'noexcept' keyword.
warning: /home/ubuntu/rdma-core/pyverbs/wq.pxd:38:28: Implicit noexcept declaration is deprecated. Function declaration should contain 'noexcept' keyword.
[607/607] Linking C shared library python/pyverbs/providers/mlx5/mlx5dv.cpython-312-x86_64-linux-gnu.so

Daisuke