All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-networking][PATCH] netmap: add new package
@ 2015-07-23  3:08 Armin Kuster
  2015-07-29 14:58 ` Martin Jansa
  0 siblings, 1 reply; 3+ messages in thread
From: Armin Kuster @ 2015-07-23  3:08 UTC (permalink / raw)
  To: openembedded-devel, joe_macdonald; +Cc: Armin Kuster

From: Armin Kuster <akuster@mvista.com>

this adds netmap, the fast packet I/O framework
http://info.iet.unipi.it/~luigi/netmap/

Signed-off-by: Armin Kuster <akuster@mvista.com>
---
 .../recipes-kernel/netmap/netmap-modules_git.bb    | 33 ++++++++++++++++++++++
 meta-networking/recipes-kernel/netmap/netmap.inc   | 14 +++++++++
 .../recipes-kernel/netmap/netmap_git.bb            | 32 +++++++++++++++++++++
 3 files changed, 79 insertions(+)
 create mode 100644 meta-networking/recipes-kernel/netmap/netmap-modules_git.bb
 create mode 100644 meta-networking/recipes-kernel/netmap/netmap.inc
 create mode 100644 meta-networking/recipes-kernel/netmap/netmap_git.bb

diff --git a/meta-networking/recipes-kernel/netmap/netmap-modules_git.bb b/meta-networking/recipes-kernel/netmap/netmap-modules_git.bb
new file mode 100644
index 0000000..63ca50f
--- /dev/null
+++ b/meta-networking/recipes-kernel/netmap/netmap-modules_git.bb
@@ -0,0 +1,33 @@
+require netmap.inc
+
+DEPENDS = "virtual/kernel"
+do_configure[depends] += "virtual/kernel:do_shared_workdir"
+
+inherit module
+
+COMPATIBLE_HOST = '(x86_64|i.86|powerpc|aarch64|mips|arm).*-linux'
+
+CLEANBROKEN = "1"
+
+export INSTALL_MOD_DIR="kernel/netmap-modules"
+
+EXTRA_OECONF = "--kernel-dir=${STAGING_KERNEL_BUILDDIR} \
+                --kernel-sources=${STAGING_KERNEL_DIR} \
+                --install-mod-path=${D} \
+                --driver-suffix="-netmap" \
+                "
+
+do_configure () {
+    cd ${S}/LINUX
+    ./configure ${EXTRA_OECONF}
+}
+
+do_compile () {
+    cd ${S}/LINUX
+    make 
+}
+
+do_install () {
+    cd ${S}/LINUX
+    oe_runmake install
+}
diff --git a/meta-networking/recipes-kernel/netmap/netmap.inc b/meta-networking/recipes-kernel/netmap/netmap.inc
new file mode 100644
index 0000000..4a101a1
--- /dev/null
+++ b/meta-networking/recipes-kernel/netmap/netmap.inc
@@ -0,0 +1,14 @@
+SUMMARY = "netmap and VALE - very fast packet I/O from userspace (FreeBSD/Linux)"
+DESCRIPTION= "NETMAP is a framework for very fast packet I/O from userspace.  VALE is an equally fast in-kernel software switch using the netmap API.  Both are implemented as a single kernel module for FreeBSD and Linux, and can deal with line rate on real or emulated 10 Gbit ports."
+SECTION = "networking"
+HOMEPAGE = "http://code.google.com/p/netmap/"
+LICENSE = "GPLv2+"
+
+LIC_FILES_CHKSUM = "file://README;beginline=13;endline=14;md5=f64f2b172fe6903ff7b6272c6edde588"
+
+SRCREV = "a14a35b839fe7ab6855f25f1e86e306ee7ad8123"
+PV = "master+git${SRCPV}"
+
+SRC_URI = "git://github.com/luigirizzo/netmap.git"
+
+S = "${WORKDIR}/git"
diff --git a/meta-networking/recipes-kernel/netmap/netmap_git.bb b/meta-networking/recipes-kernel/netmap/netmap_git.bb
new file mode 100644
index 0000000..da80bad
--- /dev/null
+++ b/meta-networking/recipes-kernel/netmap/netmap_git.bb
@@ -0,0 +1,32 @@
+require netmap.inc
+
+DEPENDS = "netmap-modules"
+
+EXTRA_OECONF = "--kernel-dir=${STAGING_KERNEL_BUILDDIR} \
+                --kernel-sources=${STAGING_KERNEL_DIR} \
+                --install-mod-path=${D} \
+                --no-drivers \
+                --prefix=${prefix} \
+                --destir=${D} \
+                --cc='${CC}' \
+                --ld='${LD}' \
+                "
+
+do_configure () {
+    cd ${S}/LINUX
+    ./configure ${EXTRA_OECONF}
+}
+
+do_compile () {
+    cd ${S}/LINUX
+    make  apps
+}
+
+do_install () {
+    cd ${S}/LINUX
+    make install-apps DESTDIR=${D}
+}
+
+FILES_${PN} += "${bindir}"
+RDEPENDS_${PN} = "kernel-module-netmap"
+RRECOMMENDS_${PN} = "kernel-module-netmap"
-- 
2.3.5



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [meta-networking][PATCH] netmap: add new package
  2015-07-23  3:08 [meta-networking][PATCH] netmap: add new package Armin Kuster
@ 2015-07-29 14:58 ` Martin Jansa
  2015-07-31  0:26   ` akuster808
  0 siblings, 1 reply; 3+ messages in thread
From: Martin Jansa @ 2015-07-29 14:58 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Armin Kuster

[-- Attachment #1: Type: text/plain, Size: 4347 bytes --]

On Wed, Jul 22, 2015 at 08:08:13PM -0700, Armin Kuster wrote:
> From: Armin Kuster <akuster@mvista.com>
> 
> this adds netmap, the fast packet I/O framework
> http://info.iet.unipi.it/~luigi/netmap/

Fails to build on jenkins log in:
http://errors.yoctoproject.org/Errors/Build/7660/

> 
> Signed-off-by: Armin Kuster <akuster@mvista.com>
> ---
>  .../recipes-kernel/netmap/netmap-modules_git.bb    | 33 ++++++++++++++++++++++
>  meta-networking/recipes-kernel/netmap/netmap.inc   | 14 +++++++++
>  .../recipes-kernel/netmap/netmap_git.bb            | 32 +++++++++++++++++++++
>  3 files changed, 79 insertions(+)
>  create mode 100644 meta-networking/recipes-kernel/netmap/netmap-modules_git.bb
>  create mode 100644 meta-networking/recipes-kernel/netmap/netmap.inc
>  create mode 100644 meta-networking/recipes-kernel/netmap/netmap_git.bb
> 
> diff --git a/meta-networking/recipes-kernel/netmap/netmap-modules_git.bb b/meta-networking/recipes-kernel/netmap/netmap-modules_git.bb
> new file mode 100644
> index 0000000..63ca50f
> --- /dev/null
> +++ b/meta-networking/recipes-kernel/netmap/netmap-modules_git.bb
> @@ -0,0 +1,33 @@
> +require netmap.inc
> +
> +DEPENDS = "virtual/kernel"
> +do_configure[depends] += "virtual/kernel:do_shared_workdir"
> +
> +inherit module
> +
> +COMPATIBLE_HOST = '(x86_64|i.86|powerpc|aarch64|mips|arm).*-linux'
> +
> +CLEANBROKEN = "1"
> +
> +export INSTALL_MOD_DIR="kernel/netmap-modules"
> +
> +EXTRA_OECONF = "--kernel-dir=${STAGING_KERNEL_BUILDDIR} \
> +                --kernel-sources=${STAGING_KERNEL_DIR} \
> +                --install-mod-path=${D} \
> +                --driver-suffix="-netmap" \
> +                "
> +
> +do_configure () {
> +    cd ${S}/LINUX
> +    ./configure ${EXTRA_OECONF}
> +}
> +
> +do_compile () {
> +    cd ${S}/LINUX
> +    make 
> +}
> +
> +do_install () {
> +    cd ${S}/LINUX
> +    oe_runmake install
> +}
> diff --git a/meta-networking/recipes-kernel/netmap/netmap.inc b/meta-networking/recipes-kernel/netmap/netmap.inc
> new file mode 100644
> index 0000000..4a101a1
> --- /dev/null
> +++ b/meta-networking/recipes-kernel/netmap/netmap.inc
> @@ -0,0 +1,14 @@
> +SUMMARY = "netmap and VALE - very fast packet I/O from userspace (FreeBSD/Linux)"
> +DESCRIPTION= "NETMAP is a framework for very fast packet I/O from userspace.  VALE is an equally fast in-kernel software switch using the netmap API.  Both are implemented as a single kernel module for FreeBSD and Linux, and can deal with line rate on real or emulated 10 Gbit ports."
> +SECTION = "networking"
> +HOMEPAGE = "http://code.google.com/p/netmap/"
> +LICENSE = "GPLv2+"
> +
> +LIC_FILES_CHKSUM = "file://README;beginline=13;endline=14;md5=f64f2b172fe6903ff7b6272c6edde588"
> +
> +SRCREV = "a14a35b839fe7ab6855f25f1e86e306ee7ad8123"
> +PV = "master+git${SRCPV}"
> +
> +SRC_URI = "git://github.com/luigirizzo/netmap.git"
> +
> +S = "${WORKDIR}/git"
> diff --git a/meta-networking/recipes-kernel/netmap/netmap_git.bb b/meta-networking/recipes-kernel/netmap/netmap_git.bb
> new file mode 100644
> index 0000000..da80bad
> --- /dev/null
> +++ b/meta-networking/recipes-kernel/netmap/netmap_git.bb
> @@ -0,0 +1,32 @@
> +require netmap.inc
> +
> +DEPENDS = "netmap-modules"
> +
> +EXTRA_OECONF = "--kernel-dir=${STAGING_KERNEL_BUILDDIR} \
> +                --kernel-sources=${STAGING_KERNEL_DIR} \
> +                --install-mod-path=${D} \
> +                --no-drivers \
> +                --prefix=${prefix} \
> +                --destir=${D} \
> +                --cc='${CC}' \
> +                --ld='${LD}' \
> +                "
> +
> +do_configure () {
> +    cd ${S}/LINUX
> +    ./configure ${EXTRA_OECONF}
> +}
> +
> +do_compile () {
> +    cd ${S}/LINUX
> +    make  apps
> +}
> +
> +do_install () {
> +    cd ${S}/LINUX
> +    make install-apps DESTDIR=${D}
> +}
> +
> +FILES_${PN} += "${bindir}"
> +RDEPENDS_${PN} = "kernel-module-netmap"
> +RRECOMMENDS_${PN} = "kernel-module-netmap"
> -- 
> 2.3.5
> 
> -- 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa@gmail.com

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 188 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [meta-networking][PATCH] netmap: add new package
  2015-07-29 14:58 ` Martin Jansa
@ 2015-07-31  0:26   ` akuster808
  0 siblings, 0 replies; 3+ messages in thread
From: akuster808 @ 2015-07-31  0:26 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Armin Kuster


Martin,


On 07/29/2015 07:58 AM, Martin Jansa wrote:
> On Wed, Jul 22, 2015 at 08:08:13PM -0700, Armin Kuster wrote:
>> From: Armin Kuster <akuster@mvista.com>
>>
>> this adds netmap, the fast packet I/O framework
>> http://info.iet.unipi.it/~luigi/netmap/
>
> Fails to build on jenkins log in:
> http://errors.yoctoproject.org/Errors/Build/7660/
>

I have a lame typo in the configure parameter that my local build didn't 
show. As I try this on other arch's it is barfing in other areas.

I am going to traveling for the next two weeks so you can remove this or 
black list it until I can resolve the issues. I do hate cause you more work.

my apologizes,
Armin
>>
>> Signed-off-by: Armin Kuster <akuster@mvista.com>
>> ---
>>   .../recipes-kernel/netmap/netmap-modules_git.bb    | 33 ++++++++++++++++++++++
>>   meta-networking/recipes-kernel/netmap/netmap.inc   | 14 +++++++++
>>   .../recipes-kernel/netmap/netmap_git.bb            | 32 +++++++++++++++++++++
>>   3 files changed, 79 insertions(+)
>>   create mode 100644 meta-networking/recipes-kernel/netmap/netmap-modules_git.bb
>>   create mode 100644 meta-networking/recipes-kernel/netmap/netmap.inc
>>   create mode 100644 meta-networking/recipes-kernel/netmap/netmap_git.bb
>>
>> diff --git a/meta-networking/recipes-kernel/netmap/netmap-modules_git.bb b/meta-networking/recipes-kernel/netmap/netmap-modules_git.bb
>> new file mode 100644
>> index 0000000..63ca50f
>> --- /dev/null
>> +++ b/meta-networking/recipes-kernel/netmap/netmap-modules_git.bb
>> @@ -0,0 +1,33 @@
>> +require netmap.inc
>> +
>> +DEPENDS = "virtual/kernel"
>> +do_configure[depends] += "virtual/kernel:do_shared_workdir"
>> +
>> +inherit module
>> +
>> +COMPATIBLE_HOST = '(x86_64|i.86|powerpc|aarch64|mips|arm).*-linux'
>> +
>> +CLEANBROKEN = "1"
>> +
>> +export INSTALL_MOD_DIR="kernel/netmap-modules"
>> +
>> +EXTRA_OECONF = "--kernel-dir=${STAGING_KERNEL_BUILDDIR} \
>> +                --kernel-sources=${STAGING_KERNEL_DIR} \
>> +                --install-mod-path=${D} \
>> +                --driver-suffix="-netmap" \
>> +                "
>> +
>> +do_configure () {
>> +    cd ${S}/LINUX
>> +    ./configure ${EXTRA_OECONF}
>> +}
>> +
>> +do_compile () {
>> +    cd ${S}/LINUX
>> +    make
>> +}
>> +
>> +do_install () {
>> +    cd ${S}/LINUX
>> +    oe_runmake install
>> +}
>> diff --git a/meta-networking/recipes-kernel/netmap/netmap.inc b/meta-networking/recipes-kernel/netmap/netmap.inc
>> new file mode 100644
>> index 0000000..4a101a1
>> --- /dev/null
>> +++ b/meta-networking/recipes-kernel/netmap/netmap.inc
>> @@ -0,0 +1,14 @@
>> +SUMMARY = "netmap and VALE - very fast packet I/O from userspace (FreeBSD/Linux)"
>> +DESCRIPTION= "NETMAP is a framework for very fast packet I/O from userspace.  VALE is an equally fast in-kernel software switch using the netmap API.  Both are implemented as a single kernel module for FreeBSD and Linux, and can deal with line rate on real or emulated 10 Gbit ports."
>> +SECTION = "networking"
>> +HOMEPAGE = "http://code.google.com/p/netmap/"
>> +LICENSE = "GPLv2+"
>> +
>> +LIC_FILES_CHKSUM = "file://README;beginline=13;endline=14;md5=f64f2b172fe6903ff7b6272c6edde588"
>> +
>> +SRCREV = "a14a35b839fe7ab6855f25f1e86e306ee7ad8123"
>> +PV = "master+git${SRCPV}"
>> +
>> +SRC_URI = "git://github.com/luigirizzo/netmap.git"
>> +
>> +S = "${WORKDIR}/git"
>> diff --git a/meta-networking/recipes-kernel/netmap/netmap_git.bb b/meta-networking/recipes-kernel/netmap/netmap_git.bb
>> new file mode 100644
>> index 0000000..da80bad
>> --- /dev/null
>> +++ b/meta-networking/recipes-kernel/netmap/netmap_git.bb
>> @@ -0,0 +1,32 @@
>> +require netmap.inc
>> +
>> +DEPENDS = "netmap-modules"
>> +
>> +EXTRA_OECONF = "--kernel-dir=${STAGING_KERNEL_BUILDDIR} \
>> +                --kernel-sources=${STAGING_KERNEL_DIR} \
>> +                --install-mod-path=${D} \
>> +                --no-drivers \
>> +                --prefix=${prefix} \
>> +                --destir=${D} \
>> +                --cc='${CC}' \
>> +                --ld='${LD}' \
>> +                "
>> +
>> +do_configure () {
>> +    cd ${S}/LINUX
>> +    ./configure ${EXTRA_OECONF}
>> +}
>> +
>> +do_compile () {
>> +    cd ${S}/LINUX
>> +    make  apps
>> +}
>> +
>> +do_install () {
>> +    cd ${S}/LINUX
>> +    make install-apps DESTDIR=${D}
>> +}
>> +
>> +FILES_${PN} += "${bindir}"
>> +RDEPENDS_${PN} = "kernel-module-netmap"
>> +RRECOMMENDS_${PN} = "kernel-module-netmap"
>> --
>> 2.3.5
>>
>> --
>> _______________________________________________
>> Openembedded-devel mailing list
>> Openembedded-devel@lists.openembedded.org
>> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>
>
>


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-07-31  0:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-07-23  3:08 [meta-networking][PATCH] netmap: add new package Armin Kuster
2015-07-29 14:58 ` Martin Jansa
2015-07-31  0:26   ` akuster808

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.