> Subject: Re: [Patch v2 01/17] net/mana: add basic driver, build environment > and > doc > > On Wed, Jul 6, 2022 at 6:12 PM Long Li <lon...@microsoft.com> wrote: > > > Is there a version dependency on rdma-core? Is that version > > > dependency listed somewhere? > > > > The rdma-core and kernel drivers are being submitted. The expected version > supporting MANA is with rdma-core v42 and Linux 5.19 (or 5.20). > > > > I'm not sure if there is a way to enforce meson to build on a certain > > rdma-core > or kernel version. Is it okay to add the following information to > doc/guides/nics/mana.rst for specifying the version requirement? > > You must check the headers are present (for example, by calling some > cc.compile('include <header>'etc...). > You might also need to check that the part of the API that this driver > requires are > available (common/mlx5/linux has some examples). > > If those requirements are not fulfilled, then skip this driver, setting build > = false > etc...
Thank you, I'm sending v3 to check on required header files and APIs. Long