mbox series

[0/2] use pkg-config to find Netcope dependencies

Message ID 20190914093700.11451-1-thomas@monjalon.net (mailing list archive)
Headers
Series use pkg-config to find Netcope dependencies |

Message

Thomas Monjalon Sept. 14, 2019, 9:36 a.m. UTC
  The libraries required for Netcope PMDs can be found in
https://www.netcope.com/en/company/community-support/dpdk-libsze2

These libraries are compatible with pkg-config, which is a better solution
than directly looking for libraries and includes.
These patches are using exclusively pkg-config with meson.


Thomas Monjalon (2):
  net/nfb: fix dependency check
  net/szedata2: fix dependency check

 drivers/net/nfb/meson.build      | 9 ++-------
 drivers/net/szedata2/meson.build | 2 +-
 2 files changed, 3 insertions(+), 8 deletions(-)
  

Comments

Ferruh Yigit Sept. 16, 2019, 3:34 p.m. UTC | #1
On 9/14/2019 10:36 AM, Thomas Monjalon wrote:
> The libraries required for Netcope PMDs can be found in
> https://www.netcope.com/en/company/community-support/dpdk-libsze2
> 
> These libraries are compatible with pkg-config, which is a better solution
> than directly looking for libraries and includes.
> These patches are using exclusively pkg-config with meson.
> 
> 
> Thomas Monjalon (2):
>   net/nfb: fix dependency check
>   net/szedata2: fix dependency check
> 

+1 to this patch, unrelated to this patch I remember there was an issue with the
nfb & szedata2 dependencies, that their dependencies conflict with each other,
so it wasn't possible to enable both at the same time.

Jan, Rastislav,

Is it still the case, or is there any improvement there?

Thanks,
ferruh
  
Jan Remes Sept. 16, 2019, 4:52 p.m. UTC | #2
On Mon, Sep 16, 2019 at 5:34 PM Ferruh Yigit <ferruh.yigit@intel.com> wrote:
> +1 to this patch, unrelated to this patch I remember there was an issue with the
> nfb & szedata2 dependencies, that their dependencies conflict with each other,
> so it wasn't possible to enable both at the same time.
>
> Jan, Rastislav,
>
> Is it still the case, or is there any improvement there?
They work with the same hardware, they are (crudely and rudely
speaking) just mutually incompatible versions of the same thing (both
provide configuration access and data transfer for Netcope NFB family
of FPGA cards).

Therefore, there is no motivation to install both of them, "szedata2
(libsze2)" is deprecated and we only want to keep the PMD for existing
users. If it becomes a burden, we will phase it out eventually.

Regards,
  Jan
  
Ferruh Yigit Oct. 3, 2019, 3:23 p.m. UTC | #3
On 9/14/2019 10:36 AM, Thomas Monjalon wrote:
> The libraries required for Netcope PMDs can be found in
> https://www.netcope.com/en/company/community-support/dpdk-libsze2
> 
> These libraries are compatible with pkg-config, which is a better solution
> than directly looking for libraries and includes.
> These patches are using exclusively pkg-config with meson.
> 
> 
> Thomas Monjalon (2):
>   net/nfb: fix dependency check
>   net/szedata2: fix dependency check

Series applied to dpdk-next-net/master, thanks.