Dmitry Eremin-Solenikov(lumag) replied on github web page:
m4/odp_libconfig.m4
line 28
@@ -0,0 +1,36 @@
+# ODP_LIBCONFIG([ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
+# -
+AC_DEFUN([ODP_LIBCONFIG],
+[dnl
Matias Elo(matiaselo) replied on github web page:
m4/odp_libconfig.m4
line 29
@@ -0,0 +1,36 @@
+# ODP_LIBCONFIG([ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
+# -
+AC_DEFUN([ODP_LIBCONFIG],
+[dnl
Dmitry Eremin-Solenikov(lumag) replied on github web page:
m4/odp_libconfig.m4
line 29
@@ -0,0 +1,36 @@
+# ODP_LIBCONFIG([ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
+# -
+AC_DEFUN([ODP_LIBCONFIG],
+[dnl
Matias Elo(matiaselo) replied on github web page:
platform/linux-generic/include/odp_internal.h
line 15
@@ -55,10 +56,16 @@ struct odp_global_data_s {
odp_cpumask_t control_cpus;
odp_cpumask_t worker_cpus;
int num_cpus_installed;
+ config_t *libconfig_default;
+
Matias Elo(matiaselo) replied on github web page:
platform/linux-generic/Makefile.am
line 14
@@ -94,6 +96,8 @@ noinst_HEADERS = \
include/odp_forward_typedefs_internal.h \
include/odp_internal.h \
include/odp_ipsec_internal.h \
+
Matias Elo(matiaselo) replied on github web page:
m4/odp_libconfig.m4
line 11
@@ -0,0 +1,36 @@
+# ODP_LIBCONFIG([ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
+# -
+AC_DEFUN([ODP_LIBCONFIG],
+[dnl
Dmitry Eremin-Solenikov(lumag) replied on github web page:
Makefile.am
line 5
@@ -20,7 +20,7 @@ SUBDIRS = \
@DX_RULES@
-EXTRA_DIST = bootstrap CHANGELOG config/README
+EXTRA_DIST = bootstrap CHANGELOG config/README config/odp-linux.conf
Comment:
Should ODP install this header file
Dmitry Eremin-Solenikov(lumag) replied on github web page:
platform/linux-generic/Makefile.am
line 14
@@ -94,6 +96,8 @@ noinst_HEADERS = \
include/odp_forward_typedefs_internal.h \
include/odp_internal.h \
include/odp_ipsec_internal.h \
+
Dmitry Eremin-Solenikov(lumag) replied on github web page:
m4/odp_libconfig.m4
line 31
@@ -0,0 +1,36 @@
+# ODP_LIBCONFIG([ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
+# -
+AC_DEFUN([ODP_LIBCONFIG],
+[dnl
Dmitry Eremin-Solenikov(lumag) replied on github web page:
platform/linux-generic/libodp-linux.pc.in
line 5
@@ -7,5 +7,5 @@ Name: libodp-linux
Description: The ODP packet processing engine
Version: @PKGCONFIG_VERSION@
Libs: -L${libdir} -lodp-linux
-Libs.private: @OPENSSL_STATIC_LIBS@
Dmitry Eremin-Solenikov(lumag) replied on github web page:
m4/odp_libconfig.m4
line 28
@@ -0,0 +1,36 @@
+# ODP_LIBCONFIG([ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
+# -
+AC_DEFUN([ODP_LIBCONFIG],
+[dnl
Dmitry Eremin-Solenikov(lumag) replied on github web page:
platform/linux-generic/include/odp_internal.h
line 15
@@ -55,10 +56,16 @@ struct odp_global_data_s {
odp_cpumask_t control_cpus;
odp_cpumask_t worker_cpus;
int num_cpus_installed;
+ config_t
Dmitry Eremin-Solenikov(lumag) replied on github web page:
m4/odp_libconfig.m4
line 29
@@ -0,0 +1,36 @@
+# ODP_LIBCONFIG([ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
+# -
+AC_DEFUN([ODP_LIBCONFIG],
+[dnl
Dmitry Eremin-Solenikov(lumag) replied on github web page:
m4/odp_libconfig.m4
line 11
@@ -0,0 +1,36 @@
+# ODP_LIBCONFIG([ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
+# -
+AC_DEFUN([ODP_LIBCONFIG],
+[dnl
Changes since RFC:
- addressed issues reported in RFC
- rewrote some functions for easier understanding
- added capability on all input queues
How to test:
sudo mkdir /var/run/odp/
start the ODP application
sudo dd if=/var/run/odp/"odp pid"-"inteface"-flow-"queue number" of=~/test.pcap
From: Ilias Apalodimas
Changes since RFC:
- Addressed issues reported in RFC
- rewrote some functions for easier understanding
- added capability on all input queues
How to test:
sudo mkdir /var/run/odp/
start the ODP application
sudo dd
From: Ilias Apalodimas
Changes since RFC:
- Addressed issues reported in RFC
- rewrote some functions for easier understanding
- added capability on all input queues
How to test:
sudo mkdir /var/run/odp/
start the ODP application
sudo dd
Changes since RFC:
- addressed issues reported in RFC
- rewrote some functions for easier understanding
- added capability on all input queues
How to test:
sudo mkdir /var/run/odp/
start the ODP application
sudo dd if=/var/run/odp/"odp pid"-"inteface"-flow-"queue number" of=~/test.pcap
Dmitry Eremin-Solenikov(lumag) replied on github web page:
m4/odp_libconfig.m4
line 29
@@ -0,0 +1,36 @@
+# ODP_LIBCONFIG([ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
+# -
+AC_DEFUN([ODP_LIBCONFIG],
+[dnl
Matias Elo(matiaselo) replied on github web page:
m4/odp_libconfig.m4
line 29
@@ -0,0 +1,36 @@
+# ODP_LIBCONFIG([ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
+# -
+AC_DEFUN([ODP_LIBCONFIG],
+[dnl
Matias Elo(matiaselo) replied on github web page:
platform/linux-generic/include/odp_internal.h
line 15
@@ -55,10 +56,16 @@ struct odp_global_data_s {
odp_cpumask_t control_cpus;
odp_cpumask_t worker_cpus;
int num_cpus_installed;
+ config_t *libconfig_default;
+
Dmitry Eremin-Solenikov(lumag) replied on github web page:
platform/linux-generic/include/odp_internal.h
line 15
@@ -55,10 +56,16 @@ struct odp_global_data_s {
odp_cpumask_t control_cpus;
odp_cpumask_t worker_cpus;
int num_cpus_installed;
+ config_t
Matias Elo(matiaselo) replied on github web page:
platform/linux-generic/Makefile.am
line 14
@@ -94,6 +96,8 @@ noinst_HEADERS = \
include/odp_forward_typedefs_internal.h \
include/odp_internal.h \
include/odp_ipsec_internal.h \
+
Matias Elo(matiaselo) replied on github web page:
m4/odp_libconfig.m4
line 31
@@ -0,0 +1,36 @@
+# ODP_LIBCONFIG([ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
+# -
+AC_DEFUN([ODP_LIBCONFIG],
+[dnl
Matias Elo(matiaselo) replied on github web page:
m4/odp_libconfig.m4
line 11
@@ -0,0 +1,36 @@
+# ODP_LIBCONFIG([ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
+# -
+AC_DEFUN([ODP_LIBCONFIG],
+[dnl
Dmitry Eremin-Solenikov(lumag) replied on github web page:
m4/odp_libconfig.m4
line 19
@@ -0,0 +1,36 @@
+# ODP_LIBCONFIG([ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
+# -
+AC_DEFUN([ODP_LIBCONFIG],
+[dnl
Dmitry Eremin-Solenikov(lumag) replied on github web page:
Makefile.am
line 5
@@ -20,7 +20,7 @@ SUBDIRS = \
@DX_RULES@
-EXTRA_DIST = bootstrap CHANGELOG config/README
+EXTRA_DIST = bootstrap CHANGELOG config/README config/odp-linux.conf
Comment:
Should ODP install this header file
Dmitry Eremin-Solenikov(lumag) replied on github web page:
platform/linux-generic/odp_libconfig.c
line 37
@@ -0,0 +1,82 @@
+/* Copyright (c) 2018, Linaro Limited
+ * All rights reserved.
+ *
+ * SPDX-License-Identifier: BSD-3-Clause
+ */
+
+#include "config.h"
+
+#include
+#include
+
Dmitry Eremin-Solenikov(lumag) replied on github web page:
platform/linux-generic/libodp-linux.pc.in
line 5
@@ -7,5 +7,5 @@ Name: libodp-linux
Description: The ODP packet processing engine
Version: @PKGCONFIG_VERSION@
Libs: -L${libdir} -lodp-linux
-Libs.private: @OPENSSL_STATIC_LIBS@
Dmitry Eremin-Solenikov(lumag) replied on github web page:
m4/odp_libconfig.m4
line 28
@@ -0,0 +1,36 @@
+# ODP_LIBCONFIG([ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
+# -
+AC_DEFUN([ODP_LIBCONFIG],
+[dnl
Dmitry Eremin-Solenikov(lumag) replied on github web page:
m4/odp_libconfig.m4
line 29
@@ -0,0 +1,36 @@
+# ODP_LIBCONFIG([ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
+# -
+AC_DEFUN([ODP_LIBCONFIG],
+[dnl
Dmitry Eremin-Solenikov(lumag) replied on github web page:
platform/linux-generic/include/odp_internal.h
line 15
@@ -55,10 +56,16 @@ struct odp_global_data_s {
odp_cpumask_t control_cpus;
odp_cpumask_t worker_cpus;
int num_cpus_installed;
+ config_t
Dmitry Eremin-Solenikov(lumag) replied on github web page:
m4/odp_libconfig.m4
line 11
@@ -0,0 +1,36 @@
+# ODP_LIBCONFIG([ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
+# -
+AC_DEFUN([ODP_LIBCONFIG],
+[dnl
Dmitry Eremin-Solenikov(lumag) replied on github web page:
m4/odp_libconfig.m4
line 31
@@ -0,0 +1,36 @@
+# ODP_LIBCONFIG([ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
+# -
+AC_DEFUN([ODP_LIBCONFIG],
+[dnl
From: Dmitry Eremin-Solenikov
sudo will strip most variables from host environment, including precious
CI=true setting, which we use to skip some obscure test results (like
traffic mngr) if tests are running in non-isolated environment. So
enforce CI=true when
sudo will strip most variables from host environment, including precious
CI=true setting, which we use to skip some obscure test results (like
traffic mngr) if tests are running in non-isolated environment. So
enforce CI=true when calling tests.
Signed-off-by: Dmitry Eremin-Solenikov
Rework generator fix for "no null: pktio on non-linux-generic platforms" issue
Change order of tests execution
Move all validation tests to single directory to simplify builds.
github
/** Email created from pull request 496 (lumag:tests-fix-2)
**
From: Dmitry Eremin-Solenikov
Move script back to examples dir, so that platform other than
linux-generic might be able to run this test/example, if they choose to
implement null: PktIO type.
Signed-off-by: Dmitry Eremin-Solenikov
From: Dmitry Eremin-Solenikov
Split init.c/init.h files into individual tests, simplifying setup.
Signed-off-by: Dmitry Eremin-Solenikov
---
/** Email created from pull request 496 (lumag:tests-fix-2)
**
From: Petri Savolainen
Increase number of packets to 16k as 8k packets limit throughput
on 40Gbit testing. Also limit packet count and length to pool
capability maximums when needed.
Signed-off-by: Petri Savolainen
---
/** Email created
From: Petri Savolainen
This ring can be used as simple FIFO when enqueue / dequeue
operation synchronization is not needed, or synchronization is
provided by an upper layer already.
Signed-off-by: Petri Savolainen
---
/** Email created
From: Petri Savolainen
Use queue entry pointer as macro parameter instead of lock
pointer.
Signed-off-by: Petri Savolainen
---
/** Email created from pull request 492 (psavol:master-sched-optim)
**
From: Matias Elo
Enables changing ODP runtime configuration options by using an optional
configuration file (libconfig). Path to the conf file is passed using
environment variable ODP_CONF_FILE. If ODP_CONF_FILE or a particular option
is not set, hardcoded default values
From: Petri Savolainen
Change from linked list of bursts to a ring implementation.
Queues have maximum size but code is simpler and performance
is a bit better. This step helps in a potential future step to
implement queues with a lockless ring.
Signed-off-by: Petri
From: Petri Savolainen
Doxygen documentation is not generated from this file. Remove
unnecessary and incomplete doxygen taggings.
Signed-off-by: Petri Savolainen
---
/** Email created from pull request 492 (psavol:master-sched-optim)
From: Petri Savolainen
Burst size can be now increased without overhead as
buffer header size is not tied to it. Burst size increase
from 16 to 32 improves e.g. l2fwd throughput more than 10%.
Signed-off-by: Petri Savolainen
---
/**
From: Petri Savolainen
When needed, scale down atomic queue size requirement
to maximum queue size capability.
Signed-off-by: Petri Savolainen
---
/** Email created from pull request 492 (psavol:master-sched-optim)
**
From: Petri Savolainen
Limit maximum number of events to maximum pool and queue
capability when needed. Pool size should not be larger than
queue size as test run in validation suite suffers from queue
enqueue failures (queue full) and sequence number checking
does
Optimize queues and scheduling with a ring based implementation. Ring
operations are not atomic and behind locks. Scheduler throughput improves in
L2fwd test about 30%. Buffer header gets smaller and not related to burst size,
which has positive impact to direct mode pktio throughput also.
From: Petri Savolainen
Inline queue handle from queue index conversion function.
Signed-off-by: Petri Savolainen
---
/** Email created from pull request 492 (psavol:master-sched-optim)
** https://github.com/Linaro/odp/pull/492
**
Enables changing ODP runtime configuration options by using an optional
configuration file (libconfig). Path to the conf file is passed using
environment variable ODP_CONF_FILE. If ODP_CONF_FILE or a particular option
is not set, hardcoded default values are used instead. An template
configuration
From: Bill Fischofer
Add updates for v1.18.0.0 (Tiger Moth RC2)
Signed-off-by: Bill Fischofer
---
/** Email created from pull request 500 (Bill-Fischofer-Linaro:v1.18-changelog)
** https://github.com/Linaro/odp/pull/500
** Patch:
Add updates for v1.18.0.0 (Tiger Moth RC2)
Signed-off-by: Bill Fischofer bill.fischo...@linaro.org
github
/** Email created from pull request 500 (Bill-Fischofer-Linaro:v1.18-changelog)
** https://github.com/Linaro/odp/pull/500
** Patch:
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page:
test/validation/api/init/init_main_log.c
line 30
@@ -6,9 +6,81 @@
#include "config.h"
-#include "init.h"
+#include
+#include
+#include
+
+/* flag set when the replacement logging function is used */
+int
From: Dmitry Eremin-Solenikov
Signed-off-by: Dmitry Eremin-Solenikov
---
/** Email created from pull request 467 (lumag:sched-env)
** https://github.com/Linaro/odp/pull/467
** Patch:
From: Dmitry Eremin-Solenikov
Clang 3.8 will miscompile ODP, which results in testsuite crashes. Use
clang 4.0 instead.
Signed-off-by: Dmitry Eremin-Solenikov
---
/** Email created from pull request 467 (lumag:sched-env)
**
From: Dmitry Eremin-Solenikov
Run tests with all schedulers in default CONF setting and while doing
coverage test.
Signed-off-by: Dmitry Eremin-Solenikov
---
/** Email created from pull request 467 (lumag:sched-env)
**
From: Dmitry Eremin-Solenikov
Use ODP_SCHEDULER environment variable to select scheduler/queue
implementation.
Signed-off-by: Dmitry Eremin-Solenikov
---
/** Email created from pull request 467 (lumag:sched-env)
**
From: Dmitry Eremin-Solenikov
Rename traditional scheduler and queue implementations to basic.
Signed-off-by: Dmitry Eremin-Solenikov
---
/** Email created from pull request 467 (lumag:sched-env)
**
From: Dmitry Eremin-Solenikov
Hide calling into sched_fn into sched_if module.
Signed-off-by: Dmitry Eremin-Solenikov
---
/** Email created from pull request 467 (lumag:sched-env)
** https://github.com/Linaro/odp/pull/467
From: Dmitry Eremin-Solenikov
Hide calling into queue_fn into queue_if module.
Signed-off-by: Dmitry Eremin-Solenikov
---
/** Email created from pull request 467 (lumag:sched-env)
** https://github.com/Linaro/odp/pull/467
This would allow us to drop compile-time option in favour of runtime
configuration. We do compile all schedulers anyway, so it's a minor step to
select them in runtime. This would allow us to do code coverage for non-default
schedulers.
github
/** Email
From: Dmitry Eremin-Solenikov
Split init.c/init.h files into individual tests, simplifying setup.
Signed-off-by: Dmitry Eremin-Solenikov
---
/** Email created from pull request 496 (lumag:tests-fix-2)
**
From: Dmitry Eremin-Solenikov
Descend into examples after building/running tests. It is quite logical
that first we build validation & performance tests, then we build
platform tests, helper tests and only after that descend into examples.
Signed-off-by:
From: Dmitry Eremin-Solenikov
Move script back to examples dir, so that platform other than
linux-generic might be able to run this test/example, if they choose to
implement null: PktIO type.
Signed-off-by: Dmitry Eremin-Solenikov
Rework generator fix for "no null: pktio on non-linux-generic platforms" issue
Change order of tests execution
Move all validation tests to single directory to simplify builds.
github
/** Email created from pull request 496 (lumag:tests-fix-2)
**
From: Bill Fischofer
Add updates for v1.18.0.0 (Tiger Moth RC2)
Signed-off-by: Bill Fischofer
---
/** Email created from pull request 500 (Bill-Fischofer-Linaro:v1.18-changelog)
** https://github.com/Linaro/odp/pull/500
** Patch:
Add updates for v1.18.0.0 (Tiger Moth RC2)
Signed-off-by: Bill Fischofer bill.fischo...@linaro.org
github
/** Email created from pull request 500 (Bill-Fischofer-Linaro:v1.18-changelog)
** https://github.com/Linaro/odp/pull/500
** Patch:
From: Dmitry Eremin-Solenikov
Signed-off-by: Dmitry Eremin-Solenikov
---
/** Email created from pull request 502 (lumag:ipsec-imp-upd)
** https://github.com/Linaro/odp/pull/502
** Patch:
From: Dmitry Eremin-Solenikov
Signed-off-by: Dmitry Eremin-Solenikov
---
/** Email created from pull request 502 (lumag:ipsec-imp-upd)
** https://github.com/Linaro/odp/pull/502
** Patch:
From: Dmitry Eremin-Solenikov
Signed-off-by: Dmitry Eremin-Solenikov
---
/** Email created from pull request 502 (lumag:ipsec-imp-upd)
** https://github.com/Linaro/odp/pull/502
** Patch:
From: Dmitry Eremin-Solenikov
Signed-off-by: Dmitry Eremin-Solenikov
---
/** Email created from pull request 502 (lumag:ipsec-imp-upd)
** https://github.com/Linaro/odp/pull/502
** Patch:
From: Dmitry Eremin-Solenikov
Allow per-packet override of IP parameters.
Signed-off-by: Dmitry Eremin-Solenikov
---
/** Email created from pull request 502 (lumag:ipsec-imp-upd)
** https://github.com/Linaro/odp/pull/502
From: Dmitry Eremin-Solenikov
Signed-off-by: Dmitry Eremin-Solenikov
---
/** Email created from pull request 502 (lumag:ipsec-imp-upd)
** https://github.com/Linaro/odp/pull/502
** Patch:
From: Dmitry Eremin-Solenikov
Signed-off-by: Dmitry Eremin-Solenikov
---
/** Email created from pull request 502 (lumag:ipsec-imp-upd)
** https://github.com/Linaro/odp/pull/502
** Patch:
From: Dmitry Eremin-Solenikov
Only override frag_mode if respective flag is set.
Signed-off-by: Dmitry Eremin-Solenikov
---
/** Email created from pull request 502 (lumag:ipsec-imp-upd)
**
From: Dmitry Eremin-Solenikov
Signed-off-by: Dmitry Eremin-Solenikov
---
/** Email created from pull request 502 (lumag:ipsec-imp-upd)
** https://github.com/Linaro/odp/pull/502
** Patch:
From: Dmitry Eremin-Solenikov
Signed-off-by: Dmitry Eremin-Solenikov
---
/** Email created from pull request 502 (lumag:ipsec-imp-upd)
** https://github.com/Linaro/odp/pull/502
** Patch:
From: Dmitry Eremin-Solenikov
Signed-off-by: Dmitry Eremin-Solenikov
---
/** Email created from pull request 502 (lumag:ipsec-imp-upd)
** https://github.com/Linaro/odp/pull/502
** Patch:
github
/** Email created from pull request 502 (lumag:ipsec-imp-upd)
** https://github.com/Linaro/odp/pull/502
** Patch: https://github.com/Linaro/odp/pull/502.patch
** Base sha: ce5c4f9e7ce9fe504451c29429b9ae9fb68083ae
** Merge commit sha:
Dmitry Eremin-Solenikov(lumag) replied on github web page:
platform/linux-generic/odp_ipsec.c
@@ -1307,8 +1308,10 @@ static ipsec_sa_t *ipsec_out_single(odp_packet_t pkt,
ipsec_sa = _odp_ipsec_sa_use(sa);
ODP_ASSERT(NULL != ipsec_sa);
- if ((opt && opt->frag_mode ==
Dmitry Eremin-Solenikov(lumag) replied on github web page:
platform/linux-generic/odp_packet.c
line 22
@@ -2506,6 +2506,16 @@ int odp_packet_has_ref(odp_packet_t pkt)
return 0;
}
+odp_proto_l2_type_t odp_packet_l2_type(odp_packet_t pkt)
+{
+ odp_packet_hdr_t *pkt_hdr =
Dmitry Eremin-Solenikov(lumag) replied on github web page:
test/m4/configure.m4
@@ -7,30 +7,6 @@ AC_CONFIG_FILES([test/Makefile
test/miscellaneous/Makefile
test/performance/Makefile
test/validation/Makefile
-
Dmitry Eremin-Solenikov(lumag) replied on github web page:
example/generator/generator_run.sh
@@ -6,6 +6,12 @@
# SPDX-License-Identifier: BSD-3-Clause
#
+if [ -n "${ODP_PLATFORM}" -a "x${ODP_PLATFORM}" != "xlinux-generic" ]
+then
+ echo "Skipping test on probably unsupported
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page:
CHANGELOG
line 219
@@ -1,3 +1,217 @@
+== OpenDataPlane (1.18.0.0)
+=== New Features
+ODP v1.18.0.0 is Tiger Moth Release Candidate 2 (RC 2). It completes the new
+APIs that are part of the Tiger Moth Long Term Support (LTS) release
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page:
CHANGELOG
line 210
@@ -1,3 +1,217 @@
+== OpenDataPlane (1.18.0.0)
+=== New Features
+ODP v1.18.0.0 is Tiger Moth Release Candidate 2 (RC 2). It completes the new
+APIs that are part of the Tiger Moth Long Term Support (LTS) release
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page:
platform/linux-generic/odp_ipsec.c
line 207
@@ -1307,8 +1308,10 @@ static ipsec_sa_t *ipsec_out_single(odp_packet_t pkt,
ipsec_sa = _odp_ipsec_sa_use(sa);
ODP_ASSERT(NULL != ipsec_sa);
- if ((opt &&
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page:
platform/linux-generic/odp_packet.c
line 22
@@ -2506,6 +2506,16 @@ int odp_packet_has_ref(odp_packet_t pkt)
return 0;
}
+odp_proto_l2_type_t odp_packet_l2_type(odp_packet_t pkt)
+{
+ odp_packet_hdr_t *pkt_hdr =
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page:
platform/linux-generic/odp_ipsec.c
line 269
@@ -1697,7 +1702,7 @@ int odp_ipsec_out_inline(const odp_packet_t pkt_in[], int
num_in,
}
if (0 == param->num_opt)
- opt = NULL;
+
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page:
platform/linux-generic/odp_ipsec.c
line 269
@@ -1602,7 +1607,7 @@ int odp_ipsec_out_enq(const odp_packet_t pkt_in[], int
num_in,
ODP_ASSERT(ODP_IPSEC_SA_INVALID != sa);
if (0 == param->num_opt)
-
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page:
platform/linux-generic/odp_ipsec.c
line 269
@@ -1495,7 +1500,7 @@ int odp_ipsec_out(const odp_packet_t pkt_in[], int num_in,
ODP_ASSERT(ODP_IPSEC_SA_INVALID != sa);
if (0 == param->num_opt)
-
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page:
platform/linux-generic/odp_ipsec.c
line 203
@@ -1307,8 +1308,10 @@ static ipsec_sa_t *ipsec_out_single(odp_packet_t pkt,
ipsec_sa = _odp_ipsec_sa_use(sa);
ODP_ASSERT(NULL != ipsec_sa);
- if ((opt &&
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page:
platform/linux-generic/include/odp_ring_st_internal.h
line 46
@@ -0,0 +1,118 @@
+/* Copyright (c) 2018, Linaro Limited
+ * All rights reserved.
+ *
+ * SPDX-License-Identifier: BSD-3-Clause
+ */
+
+#ifndef
Petri Savolainen(psavol) replied on github web page:
platform/linux-generic/include/odp_ring_st_internal.h
line 46
@@ -0,0 +1,118 @@
+/* Copyright (c) 2018, Linaro Limited
+ * All rights reserved.
+ *
+ * SPDX-License-Identifier: BSD-3-Clause
+ */
+
+#ifndef ODP_RING_ST_INTERNAL_H_
+#define
Petri Savolainen(psavol) replied on github web page:
include/odp/api/spec/packet.h
line 17
@@ -401,30 +401,39 @@ uint32_t odp_packet_buf_len(odp_packet_t pkt);
/**
* Packet data pointer
*
- * Returns the current packet data pointer. When a packet is received
- * from packet input, this
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page:
platform/linux-generic/pktio/dpdk.c
line 67
@@ -93,6 +95,56 @@ void refer_constructors(void)
}
#endif
+static void lookup_opt(config_setting_t *default_opt, config_setting_t
*drv_opt,
+ const char *opt,
Matias Elo(matiaselo) replied on github web page:
platform/linux-generic/include/odp_internal.h
line 13
@@ -55,10 +56,13 @@ struct odp_global_data_s {
odp_cpumask_t control_cpus;
odp_cpumask_t worker_cpus;
int num_cpus_installed;
+ config_t libconfig; /*< Runtime
Matias Elo(matiaselo) replied on github web page:
platform/linux-generic/odp_libconfig.c
line 49
@@ -0,0 +1,57 @@
+/* Copyright (c) 2018, Linaro Limited
+ * All rights reserved.
+ *
+ * SPDX-License-Identifier: BSD-3-Clause
+ */
+
+#include "config.h"
+
+#include
+#include
+
+#include
Matias Elo(matiaselo) replied on github web page:
DEPENDENCIES
line 5
@@ -19,7 +19,7 @@ Prerequisites for building the OpenDataPlane (ODP) API
3. Required libraries
- Libraries currently required to link: openssl, libatomic
+ Libraries currently required to link: openssl, libatomic,
Matias Elo(matiaselo) replied on github web page:
m4/odp_libconfig.m4
line 7
@@ -0,0 +1,60 @@
+# ODP_LIBCONFIG([ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])
+# -
+AC_DEFUN([ODP_LIBCONFIG],
+[dnl
+AC_ARG_VAR([LIBCONFIG_CPPFLAGS], [C preprocessor
401 - 500 of 7216 matches
Mail list logo