[ofiwg] Verbs dma-buf detection question

Gal Pressman galpress at amazon.com
Mon Mar 29 06:52:43 PDT 2021


Hey,

I'm looking at the code that tests the kernel for umem dma-buf support in
vrb_set_dmabuf_support() and wondering if I'm missing anything.

The code checks /proc/kallsyms for the ib_umem_dmabuf_get() symbol existence,
which kinda treats it as ABI, although the kernel symbol name could change at
any time.

Wondering what other people thoughts are? Maybe a better detection method is
called for?


More information about the ofiwg mailing list