diff mbox

README: netmap build howto

Message ID 1409821951-5544-1-git-send-email-maxim.uvarov@linaro.org
State New
Headers show

Commit Message

Maxim Uvarov Sept. 4, 2014, 9:12 a.m. UTC
Add steps how to build odp with netmap support.

Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
---
 platform/linux-generic/README | 12 ++++++++++++
 1 file changed, 12 insertions(+)

Comments

Mike Holmes Sept. 4, 2014, 4:31 p.m. UTC | #1
I think we should fix configure.ac to take a pathso that it follows the
form of the other libs such as openssl


On 4 September 2014 05:12, Maxim Uvarov <maxim.uvarov@linaro.org> wrote:

> Add steps how to build odp with netmap support.
>
> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
> ---
>  platform/linux-generic/README | 12 ++++++++++++
>  1 file changed, 12 insertions(+)
>
> diff --git a/platform/linux-generic/README b/platform/linux-generic/README
> index 3e05dab..8c5dbcb 100644
> --- a/platform/linux-generic/README
> +++ b/platform/linux-generic/README
> @@ -15,3 +15,15 @@ linux-generic's SW scheduler.
>  ./bootstrap
>  ./configure
>  make
> +
> +3. Experimental netmap support for linux-generic
> +
> +ODP supports Netmap API for packet i/o. To have it enabled do:
> +Checkout netmap:
> +git clone https://code.google.com/p/netmap/ netmap.git
> +git reset --hard ca3cb7d9a4fe6b08d1b63be7ea0c77c815821eb2
> +
> +Build odp with netmap:
> +./bootstrap
> +./configure --enable-netmap CFLAGS="-I<path-to-netmap>/netmap.git/sys"
> +make
> --
> 1.8.5.1.163.gd7aced9
>
>
> _______________________________________________
> lng-odp mailing list
> lng-odp@lists.linaro.org
> http://lists.linaro.org/mailman/listinfo/lng-odp
>
diff mbox

Patch

diff --git a/platform/linux-generic/README b/platform/linux-generic/README
index 3e05dab..8c5dbcb 100644
--- a/platform/linux-generic/README
+++ b/platform/linux-generic/README
@@ -15,3 +15,15 @@  linux-generic's SW scheduler.
 ./bootstrap
 ./configure
 make
+
+3. Experimental netmap support for linux-generic
+
+ODP supports Netmap API for packet i/o. To have it enabled do:
+Checkout netmap:
+git clone https://code.google.com/p/netmap/ netmap.git
+git reset --hard ca3cb7d9a4fe6b08d1b63be7ea0c77c815821eb2
+
+Build odp with netmap:
+./bootstrap
+./configure --enable-netmap CFLAGS="-I<path-to-netmap>/netmap.git/sys"
+make