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 d7c097e4a1168efa7393f8028179a2ff2f96505d (commit)
from 6d91fe717d2e62e048fb8837a67cc1118a3113d1 (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 d7c097e4a1168efa7393f8028179a2ff2f96505d
Author: Matias Elo <matias.elo(a)nokia.com>
Date: Fri Jul 27 11:01:26 2018 +0300
linux-gen: netmap: fix incorrect debug message
Move debug message to the correct code branch and add more debug info.
Signed-off-by: Matias Elo <matias.elo(a)nokia.com>
Reported-by: Gyanesh Patra <pgyanesh.patra(a)gmail.com>
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/pktio/netmap.c b/platform/linux-generic/pktio/netmap.c
index 0da2b7af..53d3e58c 100644
--- a/platform/linux-generic/pktio/netmap.c
+++ b/platform/linux-generic/pktio/netmap.c
@@ -836,8 +836,10 @@ static inline int netmap_recv_desc(pktio_entry_t *pktio_entry,
if (odp_likely(ring->slot[slot_id].len <= mtu)) {
slot_tbl[num_rx].buf = buf;
slot_tbl[num_rx].len = ring->slot[slot_id].len;
- ODP_DBG("dropped oversized packet\n");
num_rx++;
+ } else {
+ ODP_DBG("Dropped oversized packet: %" PRIu16 " "
+ "B\n", ring->slot[slot_id].len);
}
ring->cur = nm_ring_next(ring, slot_id);
}
-----------------------------------------------------------------------
Summary of changes:
platform/linux-generic/pktio/netmap.c | 4 +++-
1 file changed, 3 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 6d91fe717d2e62e048fb8837a67cc1118a3113d1 (commit)
from 9b7d0f9116a6e040f151c994ed10e958b9399295 (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 6d91fe717d2e62e048fb8837a67cc1118a3113d1
Author: Matias Elo <matias.elo(a)nokia.com>
Date: Fri Jul 6 09:39:55 2018 +0300
thread: increase ODP_THREAD_COUNT_MAX to 256
Signed-off-by: Matias Elo <matias.elo(a)nokia.com>
Reviewed-by: Bill Fischofer <bill.fischofer(a)linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uvarov(a)linaro.org>
diff --git a/include/odp/api/abi-default/thread.h b/include/odp/api/abi-default/thread.h
index 0420e245..e31651a2 100644
--- a/include/odp/api/abi-default/thread.h
+++ b/include/odp/api/abi-default/thread.h
@@ -21,7 +21,7 @@ extern "C" {
* @{
*/
-#define ODP_THREAD_COUNT_MAX 128
+#define ODP_THREAD_COUNT_MAX 256
/**
* @}
-----------------------------------------------------------------------
Summary of changes:
include/odp/api/abi-default/thread.h | 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, master has been updated
via 24201040f2a8e66f11359f29b283831db8550c84 (commit)
via 55b8ccb80bee2eaf7932a5bbb7963544d8fc906b (commit)
from 6add70a4ff916acb331b961bc230cf946fbe835a (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 24201040f2a8e66f11359f29b283831db8550c84
Author: Bill Fischofer <bill.fischofer(a)linaro.org>
Date: Mon Jul 16 17:55:24 2018 -0500
configure: add warning about --without-openssl implications
ODP now supports the --without-openssl configure option to not
use OpenSSL as part of building odp-linux. However, omitting
OpenSSL will make strong cryptographic support unavailable.
Display the OpenSSL inclusion status as part of configure
output and include a warning to be sure the user understands
this implication of omitting this support.
Signed-off-by: Bill Fischofer <bill.fischofer(a)linaro.org>
Reviewed-by: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov(a)linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uvarov(a)linaro.org>
diff --git a/configure.ac b/configure.ac
index 0eacac32..c07b2c9b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -381,6 +381,7 @@ AC_MSG_RESULT([
includedir: ${includedir}
testdir: ${testdir}
WITH_ARCH: ${WITH_ARCH}
+ with_openssl: ${with_openssl}
cc: ${CC}
cc version: ${CC_VERSION}
@@ -405,3 +406,7 @@ AC_MSG_RESULT([
user_guides: ${user_guides}
pcapng: ${have_pcapng}
])
+
+AS_IF([test "${with_openssl}" = "no"],
+ [AC_MSG_WARN([Strong cryptography is not available without OpenSSL])]
+ )
commit 55b8ccb80bee2eaf7932a5bbb7963544d8fc906b
Author: Maxim Uvarov <maxim.uvarov(a)linaro.org>
Date: Tue Jul 17 16:31:06 2018 +0300
fix code check warning using CC in code
Fix error when code check finds CC inside patch
itself and wants to validate it as description note.
ERROR: Unrecognized email address: '${CC}'
Signed-off-by: Maxim Uvarov <maxim.uvarov(a)linaro.org>
Reviewed-by: Bill Fischofer <bill.fischofer(a)linaro.org>
Reviewed-by: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov(a)linaro.org>
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
index d5ffd1dd..a0d18972 100755
--- a/scripts/checkpatch.pl
+++ b/scripts/checkpatch.pl
@@ -2487,7 +2487,7 @@ sub process {
# Check the patch for a signoff:
if ($line =~ /^\s*signed-off-by:/i) {
$signoff++;
- $in_commit_log = 0;
+ #$in_commit_log = 0;
}
# Check if MAINTAINERS is being updated. If so, there's probably no need to
@@ -2497,7 +2497,7 @@ sub process {
}
# Check signature styles
- if (!$in_header_lines &&
+ if (!$in_header_lines && $in_commit_log &&
$line =~ /^(\s*)([a-z0-9_-]+by:|$signature_tags)(\s*)(.*)/i) {
my $space_before = $1;
my $sign_off = $2;
-----------------------------------------------------------------------
Summary of changes:
configure.ac | 5 +++++
scripts/checkpatch.pl | 4 ++--
2 files changed, 7 insertions(+), 2 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 6add70a4ff916acb331b961bc230cf946fbe835a (commit)
from ee6fdca6b647d1c92ba6d07400c7d1e23c9e0ce3 (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 6add70a4ff916acb331b961bc230cf946fbe835a
Author: Matias Elo <matias.elo(a)nokia.com>
Date: Thu Jul 12 11:35:07 2018 +0300
linux-gen: ipsec: fall back to lower odp_random_kind_t if necessary
Create IV with lower random kind if ODP_RANDOM_CRYPTO is not supported.
This enables passing validation tests using odp_random_null.
Signed-off-by: Matias Elo <matias.elo(a)nokia.com>
Reviewed-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/include/odp_global_data.h b/platform/linux-generic/include/odp_global_data.h
index 009862a8..1ddc49ea 100644
--- a/platform/linux-generic/include/odp_global_data.h
+++ b/platform/linux-generic/include/odp_global_data.h
@@ -13,6 +13,7 @@ extern "C" {
#include <odp/api/init.h>
#include <odp/api/cpumask.h>
+#include <odp/api/random.h>
#include <sys/types.h>
#include <pthread.h>
#include <stdint.h>
@@ -58,6 +59,7 @@ struct odp_global_data_s {
int inotify_watch_fd;
pthread_t inotify_thread;
int inotify_pcapng_is_running;
+ odp_random_kind_t ipsec_rand_kind;
};
extern struct odp_global_data_s odp_global_data;
diff --git a/platform/linux-generic/odp_ipsec.c b/platform/linux-generic/odp_ipsec.c
index 71258fe9..5b739cc1 100644
--- a/platform/linux-generic/odp_ipsec.c
+++ b/platform/linux-generic/odp_ipsec.c
@@ -13,6 +13,7 @@
#include <odp/api/byteorder.h>
#include <odp/api/plat/byteorder_inlines.h>
+#include <odp_global_data.h>
#include <odp_init_internal.h>
#include <odp_debug_internal.h>
#include <odp_packet_internal.h>
@@ -1003,7 +1004,7 @@ static int ipsec_out_iv(ipsec_state_t *state,
uint32_t len;
len = odp_random_data(state->iv, ipsec_sa->esp_iv_len,
- ODP_RANDOM_CRYPTO);
+ odp_global_data.ipsec_rand_kind);
if (len != ipsec_sa->esp_iv_len)
return -1;
@@ -1892,6 +1893,10 @@ int _odp_ipsec_init_global(void)
memset(&default_out_opt, 0, sizeof(default_out_opt));
+ odp_global_data.ipsec_rand_kind = ODP_RANDOM_CRYPTO;
+ if (odp_global_data.ipsec_rand_kind > odp_random_max_kind())
+ odp_global_data.ipsec_rand_kind = odp_random_max_kind();
+
return 0;
}
-----------------------------------------------------------------------
Summary of changes:
platform/linux-generic/include/odp_global_data.h | 2 ++
platform/linux-generic/odp_ipsec.c | 7 ++++++-
2 files changed, 8 insertions(+), 1 deletion(-)
hooks/post-receive
--