This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "".
The branch, master has been updated
via 032915e5988d0e1da0562193b8bc925600cdb5f6 (commit)
from da7a72e86db0cf83f7b391d8516f9b7504f4e27a (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 032915e5988d0e1da0562193b8bc925600cdb5f6
Author: Juha Mattila <juha.mattila(a)nokia.com>
Date: Tue Sep 6 16:22:04 2016 +0300
linux-gen: tap: add classifier support
Add missing classifier support to tap pktio.
Resolves bug: https://bugs.linaro.org/show_bug.cgi?id=2504
Reviewed-and-tested-by: Bill Fischofer <bill.fischofer(a)linaro.org>
Signed-off-by: Matias Elo <matias.elo(a)nokia.com>
Signed-off-by: Juha Mattila <juha.mattila(a)nokia.com>
Signed-off-by: Maxim Uvarov <maxim.uvarov(a)linaro.org>
diff --git a/platform/linux-generic/pktio/tap.c b/platform/linux-generic/pktio/tap.c
index d758a39..ac20456 100644
--- a/platform/linux-generic/pktio/tap.c
+++ b/platform/linux-generic/pktio/tap.c
@@ -43,6 +43,7 @@
#include <odp_packet_socket.h>
#include <odp_packet_internal.h>
#include <odp_packet_io_internal.h>
+#include <odp_classification_internal.h>
#define BUF_SIZE 65536
@@ -185,8 +186,17 @@ static odp_packet_t pack_odp_pkt(pktio_entry_t *pktio_entry, const void *data,
{
odp_packet_t pkt;
odp_packet_hdr_t *pkt_hdr;
+ odp_packet_hdr_t parsed_hdr;
int num;
+ if (pktio_cls_enabled(pktio_entry)) {
+ if (cls_classify_packet(pktio_entry, data, len, len,
+ &pktio_entry->s.pkt_tap.pool,
+ &parsed_hdr)) {
+ return ODP_PACKET_INVALID;
+ }
+ }
+
num = packet_alloc_multi(pktio_entry->s.pkt_tap.pool, len, &pkt, 1);
if (num != 1)
@@ -199,7 +209,12 @@ static odp_packet_t pack_odp_pkt(pktio_entry_t *pktio_entry, const void *data,
}
pkt_hdr = odp_packet_hdr(pkt);
- packet_parse_l2(&pkt_hdr->p, len);
+
+ if (pktio_cls_enabled(pktio_entry))
+ copy_packet_cls_metadata(&parsed_hdr, pkt_hdr);
+ else
+ packet_parse_l2(&pkt_hdr->p, len);
+
packet_set_ts(pkt_hdr, ts);
pkt_hdr->input = pktio_entry->s.handle;
-----------------------------------------------------------------------
Summary of changes:
platform/linux-generic/pktio/tap.c | 17 ++++++++++++++++-
1 file changed, 16 insertions(+), 1 deletion(-)
hooks/post-receive
--
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "".
The branch, master has been updated
via 2d63311886330e6acddb55674ff7a7b62d711ef5 (commit)
from d96981e81ecbfc54ac8832d3ed2c32f50eaaf9a1 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 2d63311886330e6acddb55674ff7a7b62d711ef5
Author: Petri Savolainen <petri.savolainen(a)nokia.com>
Date: Mon Sep 5 13:29:50 2016 +0300
test: l2fwd: remove wait time from sched mode
Application requested 100ms timeout for no reason in the
scheduler mode. For example on odp-linux, performance is improved
about 10% when the timeout is removed (as time keeping creates
system calls).
Signed-off-by: Petri Savolainen <petri.savolainen(a)nokia.com>
Signed-off-by: Maxim Uvarov <maxim.uvarov(a)linaro.org>
diff --git a/test/common_plat/performance/odp_l2fwd.c b/test/common_plat/performance/odp_l2fwd.c
index 418382d..4020dea 100644
--- a/test/common_plat/performance/odp_l2fwd.c
+++ b/test/common_plat/performance/odp_l2fwd.c
@@ -305,7 +305,6 @@ static int run_worker_sched_mode(void *arg)
odp_packet_t pkt_tbl[MAX_PKT_BURST];
int pkts;
int thr;
- uint64_t wait;
int dst_idx;
int thr_idx;
int i;
@@ -344,14 +343,13 @@ static int run_worker_sched_mode(void *arg)
odp_barrier_wait(&barrier);
- wait = odp_schedule_wait_time(ODP_TIME_MSEC_IN_NS * 100);
-
/* Loop packets */
while (!exit_threads) {
int sent;
unsigned tx_drops;
- pkts = odp_schedule_multi(NULL, wait, ev_tbl, MAX_PKT_BURST);
+ pkts = odp_schedule_multi(NULL, ODP_SCHED_NO_WAIT, ev_tbl,
+ MAX_PKT_BURST);
if (pkts <= 0)
continue;
-----------------------------------------------------------------------
Summary of changes:
test/common_plat/performance/odp_l2fwd.c | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
hooks/post-receive
--
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "".
The branch, master has been updated
via d96981e81ecbfc54ac8832d3ed2c32f50eaaf9a1 (commit)
from 7cd13f48c935a88d56fd7d393fea6f02e5b0365a (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit d96981e81ecbfc54ac8832d3ed2c32f50eaaf9a1
Author: Maxim Uvarov <maxim.uvarov(a)linaro.org>
Date: Mon Sep 5 22:04:51 2016 +0300
example: l3fwd: fix clang build
Signed-off-by: Maxim Uvarov <maxim.uvarov(a)linaro.org>
Reviewed-and-tested-by: Bill Fischofer <bill.fischofer(a)linaro.org>
diff --git a/example/l3fwd/odp_l3fwd_db.c b/example/l3fwd/odp_l3fwd_db.c
index 4731237..082b2c2 100644
--- a/example/l3fwd/odp_l3fwd_db.c
+++ b/example/l3fwd/odp_l3fwd_db.c
@@ -209,7 +209,7 @@ static void create_fwd_hash_cache(void)
}
size = sizeof(flow_bucket_t) * bucket_count;
- flows = (flow_entry_t *)((char *)bucket + size);
+ flows = (flow_entry_t *)(void *)((char *)bucket + size);
fwd_lookup_cache.bucket = bucket;
fwd_lookup_cache.bkt_cnt = bucket_count;
-----------------------------------------------------------------------
Summary of changes:
example/l3fwd/odp_l3fwd_db.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
hooks/post-receive
--
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "".
The branch, api-next has been updated
discards 9d4c9de84e2877cc5b03769f7bf5b1f3f2c93ec4 (commit)
via 0293146428ef9c6d8d2b24e0bdd6c781486904a5 (commit)
This update added new revisions after undoing existing revisions. That is
to say, the old revision is not a strict subset of the new revision. This
situation occurs when you --force push a change and generate a repository
containing something like this:
* -- * -- B -- O -- O -- O (9d4c9de84e2877cc5b03769f7bf5b1f3f2c93ec4)
\
N -- N -- N (0293146428ef9c6d8d2b24e0bdd6c781486904a5)
When this happens we assume that you've already had alert emails for all
of the O revisions, and so we here report only the revisions in the N
branch from the common base, B.
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 0293146428ef9c6d8d2b24e0bdd6c781486904a5
Author: Christophe Milard <christophe.milard(a)linaro.org>
Date: Fri Aug 19 17:10:12 2016 +0200
doc: application-api-guide: excluding drv interface
The input files parsed to generate the ODP platform specific API doc
included (wrongly) part of the drv interface specification.
This led to warning on undefined symbols.
Fixed by restricting imput files to API only.
Signed-off-by: Christophe Milard <christophe.milard(a)linaro.org>
Reviewed-by: Bill Fischofer <bill.fischofer(a)linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uvarov(a)linaro.org>
diff --git a/doc/platform-api-guide/Doxyfile b/doc/platform-api-guide/Doxyfile
index 93f6edf..fbe7c93 100644
--- a/doc/platform-api-guide/Doxyfile
+++ b/doc/platform-api-guide/Doxyfile
@@ -5,9 +5,9 @@ PROJECT_NUMBER = $(VERSION)
PROJECT_LOGO = $(SRCDIR)/doc/images/ODP-Logo-HQ.svg
INPUT = $(SRCDIR)/doc/application-api-guide \
$(SRCDIR)/doc/platform-api-guide \
- $(SRCDIR)/include \
+ $(SRCDIR)/include/odp/api \
$(SRCDIR)/platform/$(WITH_PLATFORM)/doc \
- $(SRCDIR)/platform/$(WITH_PLATFORM)/include/odp \
+ $(SRCDIR)/platform/$(WITH_PLATFORM)/include/odp/api \
$(SRCDIR)/platform/$(WITH_PLATFORM)/arch/$(WITH_ARCH)
EXAMPLE_PATH = $(SRCDIR)/example $(SRCDIR)/platform $(SRCDIR)
PREDEFINED = __GNUC__ \
-----------------------------------------------------------------------
Summary of changes:
hooks/post-receive
--
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "".
The branch, api-next has been updated
via 9d4c9de84e2877cc5b03769f7bf5b1f3f2c93ec4 (commit)
from a6d9960b81c1c5d4dff0c25b43ac5f9de7e36b8a (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 9d4c9de84e2877cc5b03769f7bf5b1f3f2c93ec4
Author: Christophe Milard <christophe.milard(a)linaro.org>
Date: Fri Aug 19 17:10:12 2016 +0200
doc: application-api-guide: excluding drv interface
The input files parsed to generate the ODP platform specific API doc
included (wrongly) part of the drv interface specification.
This led to warning on undefined symbols.
Fixed by restricting imput files to API only.
Signed-off-by: Christophe Milard <christophe.milard(a)linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uvarov(a)linaro.org>
diff --git a/doc/platform-api-guide/Doxyfile b/doc/platform-api-guide/Doxyfile
index 93f6edf..fbe7c93 100644
--- a/doc/platform-api-guide/Doxyfile
+++ b/doc/platform-api-guide/Doxyfile
@@ -5,9 +5,9 @@ PROJECT_NUMBER = $(VERSION)
PROJECT_LOGO = $(SRCDIR)/doc/images/ODP-Logo-HQ.svg
INPUT = $(SRCDIR)/doc/application-api-guide \
$(SRCDIR)/doc/platform-api-guide \
- $(SRCDIR)/include \
+ $(SRCDIR)/include/odp/api \
$(SRCDIR)/platform/$(WITH_PLATFORM)/doc \
- $(SRCDIR)/platform/$(WITH_PLATFORM)/include/odp \
+ $(SRCDIR)/platform/$(WITH_PLATFORM)/include/odp/api \
$(SRCDIR)/platform/$(WITH_PLATFORM)/arch/$(WITH_ARCH)
EXAMPLE_PATH = $(SRCDIR)/example $(SRCDIR)/platform $(SRCDIR)
PREDEFINED = __GNUC__ \
-----------------------------------------------------------------------
Summary of changes:
doc/platform-api-guide/Doxyfile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
hooks/post-receive
--