[ovs-dev] [PATCH] acinclude: Autodetect DPDK location when configuring OVS

Panu Matilainen pmatilai at redhat.com
Mon Mar 21 09:23:54 UTC 2016


On 03/20/2016 10:38 PM, Bodireddy, Bhanuprakash wrote:
> Hello Panu,
>
> Thanks for the comments.  I have  follow up question on the auto discovery of DPDK install location.
> As the  DPDK install location can vary with distros, do OVS configure script has to search for DPDK libraries in /usr/local/share as a starting point and proceed to /usr/share location (or) search only in /usr/local/share and throw up an error in case of missing libraries?

I'd say try the most likely prefixes (/usr/local and /usr) and error out 
if not found.

On a related note, if a path is manually specified in --with-dpdk then 
autodiscovery should be skipped, whether the specified path contains 
dpdk or not.

> I shall send out the updated patch based on your feedback.

Thanks for working on this.

Another, a different kind of approach would be working on adding a 
pkg-config file to dpdk which would largely make this kind of guessing 
unnecessary.


>
> --------------------------------------------------------------
> Intel Research and Development Ireland Limited
> Registered in Ireland
> Registered Office: Collinstown Industrial Park, Leixlip, County Kildare
> Registered Number: 308263
>
>
> This e-mail and any attachments may contain confidential material for the sole
> use of the intended recipient(s). Any review or distribution by others is
> strictly prohibited. If you are not the intended recipient, please contact the
> sender and delete all copies.
>

This kind of disclaimer is meaningless and not very appropriate on a 
public mailing list, please remove it.

	- Panu -



More information about the dev mailing list