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, packet-diagram-fix has been created
at 4537d096721a753086592ed5a989beab5647bcfa (commit)
- Log -----------------------------------------------------------------
-----------------------------------------------------------------------
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 b4cd6c50f9f0c2e1fa975b768253d4f4b35fad07 (commit)
from e65248393a0d7263a26e4e8e4f64ac12c7142c54 (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 b4cd6c50f9f0c2e1fa975b768253d4f4b35fad07
Author: Balasubramanian Manoharan <bala.manoharan(a)linaro.org>
Date: Wed Aug 2 08:40:38 2017 -0700
api: packetio: deprecate redundant loop_supported field in capability
removes redundant loop_supported boolean in odp_pktio_capability_t
Fixes https://bugs.linaro.org/show_bug.cgi?id=2861
Signed-off-by: Balasubramanian Manoharan <bala.manoharan(a)linaro.org>
Reviewed-by: Bill Fischofer <bill.fischofer(a)linaro.org>
diff --git a/include/odp/api/spec/packet_io.h b/include/odp/api/spec/packet_io.h
index 88020892..d42cebf0 100644
--- a/include/odp/api/spec/packet_io.h
+++ b/include/odp/api/spec/packet_io.h
@@ -19,6 +19,7 @@
extern "C" {
#endif
+#include <odp/api/deprecated.h>
#include <odp/api/packet_io_stats.h>
#include <odp/api/queue.h>
#include <odp/api/time.h>
@@ -477,11 +478,8 @@ typedef struct odp_pktio_capability_t {
* set to zero. */
odp_pktio_set_op_t set_op;
- /** Support of Loopback mode
- *
- * A boolean to denote whether loop back mode is supported on this
- * specific interface. */
- odp_bool_t loop_supported;
+ /** @deprecated Use enable_loop inside odp_pktin_config_t */
+ odp_bool_t ODP_DEPRECATE(loop_supported);
} odp_pktio_capability_t;
/**
diff --git a/platform/linux-generic/odp_packet_io.c b/platform/linux-generic/odp_packet_io.c
index 64c6e452..94075567 100644
--- a/platform/linux-generic/odp_packet_io.c
+++ b/platform/linux-generic/odp_packet_io.c
@@ -416,7 +416,7 @@ int odp_pktio_config(odp_pktio_t hdl, const odp_pktio_config_t *config)
return -1;
}
- if (config->enable_loop && !capa.loop_supported) {
+ if (config->enable_loop && !capa.config.enable_loop) {
ODP_ERR("Loopback mode not supported\n");
return -1;
}
-----------------------------------------------------------------------
Summary of changes:
include/odp/api/spec/packet_io.h | 8 +++-----
platform/linux-generic/odp_packet_io.c | 2 +-
2 files changed, 4 insertions(+), 6 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, api-next has been updated
via e65248393a0d7263a26e4e8e4f64ac12c7142c54 (commit)
via 4537d096721a753086592ed5a989beab5647bcfa (commit)
via 93cbd8caf4ab5ccf22c092d42df4028969ed8a7b (commit)
via 2050915d34995f4be695a88dd99e9275f346733b (commit)
via ded0918391865956e3b00df3c43e4311a7285d4b (commit)
via a2040db93b114fb9e1da9aeca1d0a1ea91699448 (commit)
from 999042e51837a7ed8c7fb616f75707349515fc3d (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 e65248393a0d7263a26e4e8e4f64ac12c7142c54
Merge: 999042e5 4537d096
Author: Maxim Uvarov <maxim.uvarov(a)linaro.org>
Date: Wed Aug 2 22:22:09 2017 +0300
Merge branch 'master' into api-next
Signed-off-by: Maxim Uvarov <maxim.uvarov(a)linaro.org>
-----------------------------------------------------------------------
Summary of changes:
.travis.yml | 82 ++++++++++++++++++++-----------------
platform/linux-generic/odp_crypto.c | 4 ++
2 files changed, 49 insertions(+), 37 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 4537d096721a753086592ed5a989beab5647bcfa (commit)
from 93cbd8caf4ab5ccf22c092d42df4028969ed8a7b (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 -----------------------------------------------------------------
-----------------------------------------------------------------------
Summary of changes:
.travis.yml | 6 +++---
1 file changed, 3 insertions(+), 3 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, api-next has been updated
via 999042e51837a7ed8c7fb616f75707349515fc3d (commit)
from aaceddaf56175ee207fcbf9c241a7839bdea091b (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 999042e51837a7ed8c7fb616f75707349515fc3d
Author: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov(a)linaro.org>
Date: Mon Jul 31 23:01:04 2017 +0300
linux-gen: timer: set sigev_value in timer_res_init
Even if signal is never to be delivered, it is still required to set
sigev_value in sigevent structure.
Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov(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/platform/linux-generic/odp_timer.c b/platform/linux-generic/odp_timer.c
index 9fc0675d..fdb48902 100644
--- a/platform/linux-generic/odp_timer.c
+++ b/platform/linux-generic/odp_timer.c
@@ -844,6 +844,7 @@ static int timer_res_init(void)
sigev.sigev_notify = SIGEV_THREAD_ID;
sigev._sigev_un._tid = (pid_t)syscall(SYS_gettid);
+ sigev.sigev_value.sival_ptr = NULL;
sigev.sigev_signo = SIGUSR1;
/* Create timer */
-----------------------------------------------------------------------
Summary of changes:
platform/linux-generic/odp_timer.c | 1 +
1 file changed, 1 insertion(+)
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 a2040db93b114fb9e1da9aeca1d0a1ea91699448 (commit)
from a1786671550c5f83a6c9e7cecd9da4cead7b4cc9 (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 a2040db93b114fb9e1da9aeca1d0a1ea91699448
Author: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov(a)linaro.org>
Date: Mon Jul 31 10:09:42 2017 +0300
linux-gen: crypto: check packet length during operation
Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov(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/platform/linux-generic/odp_crypto.c b/platform/linux-generic/odp_crypto.c
index 68fc5658..ab42132a 100644
--- a/platform/linux-generic/odp_crypto.c
+++ b/platform/linux-generic/odp_crypto.c
@@ -242,6 +242,8 @@ int internal_encrypt(EVP_CIPHER_CTX *ctx, odp_crypto_op_param_t *param)
int cipher_len;
int ret;
+ ODP_ASSERT(in_pos + in_len <= odp_packet_len(pkt));
+
while (in_len > 0) {
uint32_t seglen = 0; /* GCC */
uint8_t *insegaddr = odp_packet_offset(pkt, in_pos,
@@ -297,6 +299,8 @@ int internal_decrypt(EVP_CIPHER_CTX *ctx, odp_crypto_op_param_t *param)
int cipher_len;
int ret;
+ ODP_ASSERT(in_pos + in_len <= odp_packet_len(pkt));
+
while (in_len > 0) {
uint32_t seglen = 0; /* GCC */
uint8_t *insegaddr = odp_packet_offset(pkt, in_pos,
-----------------------------------------------------------------------
Summary of changes:
platform/linux-generic/odp_crypto.c | 4 ++++
1 file changed, 4 insertions(+)
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 a1786671550c5f83a6c9e7cecd9da4cead7b4cc9 (commit)
via cd0cd7af17c1c042288141b7968ccf5385398493 (commit)
via c177532c1033b0dfa918774670bb61ad13f56730 (commit)
via f319f7fe8524a2606b32979c365855b83fb4571e (commit)
via 2e474c1a2af0bc4ef28706deee59000c5c6f34f4 (commit)
via acb029364daa3299ea416f1fd2e8feb60e99d0fd (commit)
via d4fe8e46c05d9b590c762502489386421ee025b1 (commit)
via 8745330b32579ab66354f9d2043154f8ef326290 (commit)
via e0738b61c3257145c50d4751bcf4e20b5fc5f0ec (commit)
via a4afaf9198ac0621b4c8e5ade82cb4f98aeb61cd (commit)
from bb0ca193f8c28036fdf8b3d6c8aa5d4f11980e6c (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 -----------------------------------------------------------------
-----------------------------------------------------------------------
Summary of changes:
.../include/odp/api/plat/packet_flag_inlines.h | 3 +-
.../include/odp/api/plat/packet_inlines.h | 74 +--
.../include/odp/api/plat/packet_inlines_api.h | 16 -
.../include/odp/api/plat/packet_types.h | 12 +
.../linux-generic/include/odp_packet_internal.h | 98 +++-
platform/linux-generic/odp_packet.c | 620 +++++++++++++++------
platform/linux-generic/pktio/ipc.c | 7 +-
7 files changed, 599 insertions(+), 231 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, api-next has been updated
via aaceddaf56175ee207fcbf9c241a7839bdea091b (commit)
via a1786671550c5f83a6c9e7cecd9da4cead7b4cc9 (commit)
via cd0cd7af17c1c042288141b7968ccf5385398493 (commit)
via c177532c1033b0dfa918774670bb61ad13f56730 (commit)
via f319f7fe8524a2606b32979c365855b83fb4571e (commit)
via 2e474c1a2af0bc4ef28706deee59000c5c6f34f4 (commit)
via acb029364daa3299ea416f1fd2e8feb60e99d0fd (commit)
via d4fe8e46c05d9b590c762502489386421ee025b1 (commit)
via 8745330b32579ab66354f9d2043154f8ef326290 (commit)
via e0738b61c3257145c50d4751bcf4e20b5fc5f0ec (commit)
via a4afaf9198ac0621b4c8e5ade82cb4f98aeb61cd (commit)
from 30ed14c05ac17406c2f7890b34c4ac580b5e7a45 (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 aaceddaf56175ee207fcbf9c241a7839bdea091b
Merge: 30ed14c0 a1786671
Author: Maxim Uvarov <maxim.uvarov(a)linaro.org>
Date: Wed Aug 2 17:53:48 2017 +0300
Merge branch 'master' into api-next
Signed-off-by: Maxim Uvarov <maxim.uvarov(a)linaro.org>
diff --cc platform/linux-generic/include/odp_packet_internal.h
index e028bc28,d923ee23..91fba1ea
--- a/platform/linux-generic/include/odp_packet_internal.h
+++ b/platform/linux-generic/include/odp_packet_internal.h
@@@ -214,7 -267,10 +272,11 @@@ static inline void packet_init(odp_pack
CONFIG_PACKET_TAILROOM;
pkt_hdr->input = ODP_PKTIO_INVALID;
+ pkt_hdr->buf_hdr.event_subtype = ODP_EVENT_PACKET_BASIC;
+
+ /* By default packet has no references */
+ pkt_hdr->unshared_len = len;
+ pkt_hdr->ref_hdr = NULL;
}
static inline void copy_packet_parser_metadata(odp_packet_hdr_t *src_hdr,
-----------------------------------------------------------------------
Summary of changes:
.../include/odp/api/plat/packet_flag_inlines.h | 3 +-
.../include/odp/api/plat/packet_inlines.h | 74 +--
.../include/odp/api/plat/packet_inlines_api.h | 16 -
.../include/odp/api/plat/packet_types.h | 12 +
.../linux-generic/include/odp_packet_internal.h | 98 +++-
platform/linux-generic/odp_packet.c | 620 +++++++++++++++------
platform/linux-generic/pktio/ipc.c | 7 +-
7 files changed, 599 insertions(+), 231 deletions(-)
hooks/post-receive
--