Matias Elo(matiaselo) replied on github web page:
platform/linux-generic/libodp-linux.pc.in
line 7
@@ -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@ @DPDK_LIBS@
Matias Elo(matiaselo) replied on github web page:
platform/linux-generic/pktio/dpdk.c
line 51
@@ -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, int *val)
+{
+
Matias Elo(matiaselo) 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, int *val)
+{
+
Dmitry Eremin-Solenikov(lumag) 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
Dmitry Eremin-Solenikov(lumag) 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; /*<
Dmitry Eremin-Solenikov(lumag) replied on github web page:
platform/linux-generic/libodp-linux.pc.in
line 7
@@ -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@
bogdanPricope replied on github web page:
.travis.yml
line 13
@@ -254,7 +255,7 @@ script:
- make -j $(nproc)
- mkdir /dev/shm/odp
- if [ -z "$CROSS_ARCH" ] ; then
- sudo
LD_LIBRARY_PATH="$HOME/cunit-install/$CROSS_ARCH/lib:$LD_LIBRARY_PATH"
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,
Dmitry Eremin-Solenikov(lumag) replied on github web page:
CHANGELOG
line 209
@@ -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 of ODP
Dmitry Eremin-Solenikov(lumag) replied on github web page:
CHANGELOG
line 200
@@ -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 of ODP
Dmitry Eremin-Solenikov(lumag) replied on github web page:
CHANGELOG
line 197
@@ -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 of ODP
Dmitry Eremin-Solenikov(lumag) replied on github web page:
CHANGELOG
line 29
@@ -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 of ODP
Dmitry Eremin-Solenikov(lumag) replied on github web page:
CHANGELOG
line 122
@@ -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 of ODP
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
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
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)
**
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: c91eae61d19350dd19aacf18c1148c9491398c14
** Merge commit sha:
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: Maxim Uvarov
update Copyrights with the same script in rebased branch.
Signed-off-by: Maxim Uvarov
---
/** Email created from pull request 501 (muvarov:devel/api_next_copyrights2)
** https://github.com/Linaro/odp/pull/501
** Patch:
update Copyrights with the same script in rebased branch.
Signed-off-by: Maxim Uvarov maxim.uva...@linaro.org
github
/** Email created from pull request 501 (muvarov:devel/api_next_copyrights2)
** https://github.com/Linaro/odp/pull/501
** 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:
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 intead. An example
configuration
From: Michal Mazur
Allocate maximum number of packets from pool and verify that packet
data are located inside range returned by odp_pool_info.
Signed-off-by: Michal Mazur
---
/** Email created from pull request 495 (semihalf-mazur-michal:master)
**
From: Michal Mazur
Implement support in odp_pool_info function to provide
address range of pool data available to application.
Pull request of related API change:
https://github.com/Linaro/odp/pull/200
Signed-off-by: Michal Mazur
---
/** Email created
Implement support in odp_pool_info function to provide
address range of pool data available to application.
Similar change was already merged to caterpillar/linux-dpdk:
#400
Pull request of related API change:
#200
github
/** Email created from pull request
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page:
platform/linux-generic/include/odp_ring_st_internal.h
line 78
@@ -0,0 +1,118 @@
+/* Copyright (c) 2018, Linaro Limited
+ * All rights reserved.
+ *
+ * SPDX-License-Identifier: BSD-3-Clause
+ */
+
+#ifndef
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
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page:
include/odp/api/spec/packet.h
line 39
@@ -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
From: Michal Mazur
Implement support in odp_pool_info function to provide
address range of pool data available to application.
Pull request of related API change:
https://github.com/Linaro/odp/pull/200
Signed-off-by: Michal Mazur
---
/** Email created
From: Michal Mazur
Allocate maximum number of packets from pool and verify that packet
data are located inside range returned by odp_pool_info.
Signed-off-by: Michal Mazur
---
/** Email created from pull request 495 (semihalf-mazur-michal:master)
**
Implement support in odp_pool_info function to provide
address range of pool data available to application.
Similar change was already merged to caterpillar/linux-dpdk:
#400
Pull request of related API change:
#200
github
/** Email created from pull request
Petri Savolainen(psavol) replied on github web page:
include/odp/api/spec/packet.h
line 39
@@ -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
Balasubramanian Manoharan(bala-manoharan) replied on github web page:
include/odp/api/spec/packet.h
line 39
@@ -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
Petri Savolainen(psavol) replied on github web page:
test/validation/api/pool/pool.c
line 40
@@ -217,6 +217,50 @@ static void pool_test_info_packet(void)
CU_ASSERT(odp_pool_destroy(pool) == 0);
}
+static void pool_test_info_data_range(void)
+{
+ odp_pool_t pool;
+
Petri Savolainen(psavol) replied on github web page:
platform/linux-generic/odp_pool.c
line 28
@@ -296,7 +282,9 @@ static void init_buffers(pool_t *pool)
memset(buf_hdr, 0, (uintptr_t)data - (uintptr_t)buf_hdr);
/* Initialize buffer metadata */
-
Petri Savolainen(psavol) replied on github web page:
platform/linux-generic/include/odp_ring_st_internal.h
line 78
@@ -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:
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 28
@@ -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
Petri Savolainen(psavol) replied on github web page:
include/odp/api/spec/packet.h
line 9
@@ -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 points
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page:
platform/linux-generic/odp_queue.c
line 103
@@ -192,6 +201,9 @@ static odp_queue_t queue_create(const char *name,
param = _param;
}
+ if (param->size > CONFIG_QUEUE_SIZE)
Comment:
Agreed, this is
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page:
platform/linux-generic/odp_queue.c
line 95
@@ -143,8 +150,10 @@ static int queue_capability(odp_queue_capability_t *capa)
capa->max_sched_groups = sched_fn->num_grps();
capa->sched_prios =
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page:
platform/linux-generic/odp_queue.c
line 92
@@ -143,8 +150,10 @@ static int queue_capability(odp_queue_capability_t *capa)
capa->max_sched_groups = sched_fn->num_grps();
capa->sched_prios =
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page:
platform/linux-generic/odp_pool.c
line 28
@@ -296,7 +282,9 @@ static void init_buffers(pool_t *pool)
memset(buf_hdr, 0, (uintptr_t)data - (uintptr_t)buf_hdr);
/* Initialize buffer metadata */
-
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page:
platform/linux-generic/odp_queue.c
line 420
@@ -584,8 +556,9 @@ static int queue_init(queue_entry_t *queue, const char
*name,
queue->s.pktin = PKTIN_INVALID;
queue->s.pktout = PKTOUT_INVALID;
-
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page:
platform/linux-generic/include/odp_ring_st_internal.h
line 78
@@ -0,0 +1,118 @@
+/* Copyright (c) 2018, Linaro Limited
+ * All rights reserved.
+ *
+ * SPDX-License-Identifier: BSD-3-Clause
+ */
+
+#ifndef
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
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page:
include/odp/api/spec/ipsec.h
line 8
@@ -1346,9 +1346,7 @@ int odp_ipsec_in(const odp_packet_t pkt_in[], int num_in,
* and content of packet data before the IP header is undefined. Use outbound
* operation parameters to specify
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page:
platform/linux-generic/odp_ipsec.c
line 245
@@ -1165,6 +1167,8 @@ static int ipsec_out_esp(odp_packet_t *pkt,
ipsec_offset + _ODP_ESPHDR_LEN,
ipsec_sa->esp_iv_len,
Dmitry Eremin-Solenikov(lumag) replied on github web page:
include/odp/api/spec/packet.h
line 28
@@ -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
Dmitry Eremin-Solenikov(lumag) replied on github web page:
include/odp/api/spec/packet.h
line 9
@@ -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
From: Michal Mazur
Allocate maximum number of packets from pool and verify that packet
data are located inside range returned by odp_pool_info.
Signed-off-by: Michal Mazur
---
/** Email created from pull request 495 (semihalf-mazur-michal:master)
**
From: Michal Mazur
Implement support in odp_pool_info function to provide
address range of pool data available to application.
Pull request of related API change:
https://github.com/Linaro/odp/pull/200
Signed-off-by: Michal Mazur
---
/** Email created
Implement support in odp_pool_info function to provide
address range of pool data available to application.
Similar change was already merged to caterpillar/linux-dpdk:
#400
Pull request of related API change:
#200
github
/** Email created from pull request
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page:
platform/linux-generic/include/odp_ring_st_internal.h
line 24
@@ -0,0 +1,118 @@
+/* Copyright (c) 2018, Linaro Limited
+ * All rights reserved.
+ *
+ * SPDX-License-Identifier: BSD-3-Clause
+ */
+
+#ifndef
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page:
platform/linux-generic/include/odp_ring_st_internal.h
line 32
@@ -0,0 +1,118 @@
+/* Copyright (c) 2018, Linaro Limited
+ * All rights reserved.
+ *
+ * SPDX-License-Identifier: BSD-3-Clause
+ */
+
+#ifndef
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page:
platform/linux-generic/odp_queue.c
@@ -471,51 +476,18 @@ static inline int deq_multi(queue_entry_t *queue,
odp_buffer_hdr_t *buf_hdr[],
}
UNLOCK(>s.lock);
- return 0;
- }
-
-
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page:
platform/linux-generic/odp_queue.c
@@ -263,7 +275,7 @@ static int queue_destroy(odp_queue_t handle)
ODP_ERR("queue \"%s\" already destroyed\n", queue->s.name);
return -1;
}
- if
semihalf-mazur-michal replied on github web page:
test/validation/api/pool/pool.c
@@ -217,6 +217,50 @@ static void pool_test_info_packet(void)
CU_ASSERT(odp_pool_destroy(pool) == 0);
}
+static void pool_test_info_data_range(void)
+{
+ odp_pool_t pool;
+ odp_pool_info_t
From: Petri Savolainen
Test the new combined packet data and seg_len function.
Signed-off-by: Petri Savolainen
---
/** Email created from pull request 497 (psavol:next-packet-data-doc)
** https://github.com/Linaro/odp/pull/497
**
From: Michal Mazur
Allocate maximum number of packets from pool and verify that packet
data are located inside range returned by odp_pool_info.
Signed-off-by: Michal Mazur
---
/** Email created from pull request 495 (semihalf-mazur-michal:master)
**
From: Michal Mazur
Implement support in odp_pool_info function to provide
address range of pool data available to application.
Pull request of related API change:
https://github.com/Linaro/odp/pull/200
Signed-off-by: Michal Mazur
---
/** Email created
Implement support in odp_pool_info function to provide
address range of pool data available to application.
Similar change was already merged to caterpillar/linux-dpdk:
#400
Pull request of related API change:
#200
github
/** Email created from pull request
From: Petri Savolainen
Implement the new combined packet data and seg_len function.
Signed-off-by: Petri Savolainen
---
/** Email created from pull request 497 (psavol:next-packet-data-doc)
** https://github.com/Linaro/odp/pull/497
**
From: Petri Savolainen
Packet data pointer and segment length used often. Combine
two calls into one call. One call performs better in ABI
compatible mode than two calls.
Signed-off-by: Petri Savolainen
---
/** Email created from pull
From: Petri Savolainen
Improve documentation text to be more explicit that
packets may be segmented.
Signed-off-by: Petri Savolainen
---
/** Email created from pull request 497 (psavol:next-packet-data-doc)
**
Improved documentation and added new combined function for better performance
in ABI compat mode.
github
/** Email created from pull request 497 (psavol:next-packet-data-doc)
** https://github.com/Linaro/odp/pull/497
** Patch:
Petri Savolainen(psavol) replied on github web page:
platform/linux-generic/odp_queue.c
line 420
@@ -584,8 +556,9 @@ static int queue_init(queue_entry_t *queue, const char
*name,
queue->s.pktin = PKTIN_INVALID;
queue->s.pktout = PKTOUT_INVALID;
- queue->s.head = NULL;
-
Petri Savolainen(psavol) replied on github web page:
platform/linux-generic/include/odp_config_internal.h
line 5
@@ -144,7 +144,7 @@ extern "C" {
* This controls the burst size on various enqueue, dequeue, etc calls. Large
* burst size improves throughput, but may degrade QoS (increase
Petri Savolainen(psavol) replied on github web page:
platform/linux-generic/odp_queue.c
@@ -471,51 +476,18 @@ static inline int deq_multi(queue_entry_t *queue,
odp_buffer_hdr_t *buf_hdr[],
}
UNLOCK(>s.lock);
- return 0;
- }
-
- for (i =
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page:
platform/linux-generic/include/odp_ring_st_internal.h
line 32
@@ -0,0 +1,118 @@
+/* Copyright (c) 2018, Linaro Limited
+ * All rights reserved.
+ *
+ * SPDX-License-Identifier: BSD-3-Clause
+ */
+
+#ifndef
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page:
platform/linux-generic/odp_queue.c
line 95
@@ -143,8 +150,10 @@ static int queue_capability(odp_queue_capability_t *capa)
capa->max_sched_groups = sched_fn->num_grps();
capa->sched_prios =
Petri Savolainen(psavol) replied on github web page:
platform/linux-generic/odp_queue.c
line 103
@@ -192,6 +201,9 @@ static odp_queue_t queue_create(const char *name,
param = _param;
}
+ if (param->size > CONFIG_QUEUE_SIZE)
Comment:
One entry is not lost. User
Petri Savolainen(psavol) replied on github web page:
platform/linux-generic/odp_queue.c
line 95
@@ -143,8 +150,10 @@ static int queue_capability(odp_queue_capability_t *capa)
capa->max_sched_groups = sched_fn->num_grps();
capa->sched_prios = odp_schedule_num_prio();
Petri Savolainen(psavol) replied on github web page:
platform/linux-generic/odp_queue.c
line 92
@@ -143,8 +150,10 @@ static int queue_capability(odp_queue_capability_t *capa)
capa->max_sched_groups = sched_fn->num_grps();
capa->sched_prios = odp_schedule_num_prio();
Petri Savolainen(psavol) replied on github web page:
platform/linux-generic/include/odp_buffer_internal.h
line 17
@@ -41,11 +41,19 @@ typedef struct seg_entry_t {
uint32_t len;
} seg_entry_t;
+typedef union buffer_index_t {
+ uint32_t u32;
+
+ struct {
+
Petri Savolainen(psavol) replied on github web page:
platform/linux-generic/include/odp_ring_st_internal.h
@@ -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
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page:
platform/linux-generic/odp_queue.c
line 103
@@ -192,6 +201,9 @@ static odp_queue_t queue_create(const char *name,
param = _param;
}
+ if (param->size > CONFIG_QUEUE_SIZE)
Comment:
Change to `if
Petri Savolainen(psavol) replied on github web page:
platform/linux-generic/include/odp_ring_st_internal.h
line 78
@@ -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:
platform/linux-generic/include/odp_ring_st_internal.h
line 32
@@ -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:
platform/linux-generic/odp_queue.c
@@ -263,7 +275,7 @@ static int queue_destroy(odp_queue_t handle)
ODP_ERR("queue \"%s\" already destroyed\n", queue->s.name);
return -1;
}
- if (queue->s.head !=
Petri Savolainen(psavol) replied on github web page:
platform/linux-generic/include/odp_ring_st_internal.h
line 24
@@ -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:
platform/linux-generic/odp_pool.c
line 28
@@ -296,7 +282,9 @@ static void init_buffers(pool_t *pool)
memset(buf_hdr, 0, (uintptr_t)data - (uintptr_t)buf_hdr);
/* Initialize buffer metadata */
-
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page:
platform/linux-generic/odp_ipsec.c
line 245
@@ -1165,6 +1167,8 @@ static int ipsec_out_esp(odp_packet_t *pkt,
ipsec_offset + _ODP_ESPHDR_LEN,
ipsec_sa->esp_iv_len,
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page:
platform/linux-generic/include/odp_config_internal.h
line 5
@@ -144,7 +144,7 @@ extern "C" {
* This controls the burst size on various enqueue, dequeue, etc calls. Large
* burst size improves throughput, but may degrade QoS
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page:
platform/linux-generic/odp_queue.c
line 420
@@ -584,8 +556,9 @@ static int queue_init(queue_entry_t *queue, const char
*name,
queue->s.pktin = PKTIN_INVALID;
queue->s.pktout = PKTOUT_INVALID;
-
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page:
platform/linux-generic/odp_queue.c
@@ -471,51 +476,18 @@ static inline int deq_multi(queue_entry_t *queue,
odp_buffer_hdr_t *buf_hdr[],
}
UNLOCK(>s.lock);
- return 0;
- }
-
-
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page:
platform/linux-generic/odp_queue.c
@@ -263,7 +275,7 @@ static int queue_destroy(odp_queue_t handle)
ODP_ERR("queue \"%s\" already destroyed\n", queue->s.name);
return -1;
}
- if
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page:
platform/linux-generic/odp_packet.c
line 5
@@ -1286,7 +1286,7 @@ int odp_packet_l2_offset_set(odp_packet_t pkt, uint32_t
offset)
{
odp_packet_hdr_t *pkt_hdr = packet_hdr(pkt);
- if (offset >= pkt_hdr->frame_len)
+
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page:
platform/linux-generic/include/odp_ring_st_internal.h
@@ -0,0 +1,118 @@
+/* Copyright (c) 2018, Linaro Limited
+ * All rights reserved.
+ *
+ * SPDX-License-Identifier: BSD-3-Clause
+ */
+
+#ifndef ODP_RING_ST_INTERNAL_H_
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page:
platform/linux-generic/odp_queue.c
line 92
@@ -143,8 +150,10 @@ static int queue_capability(odp_queue_capability_t *capa)
capa->max_sched_groups = sched_fn->num_grps();
capa->sched_prios =
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page:
platform/linux-generic/include/odp_buffer_internal.h
line 17
@@ -41,11 +41,19 @@ typedef struct seg_entry_t {
uint32_t len;
} seg_entry_t;
+typedef union buffer_index_t {
+ uint32_t u32;
+
+ struct {
+
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page:
platform/linux-generic/odp_pool.c
line 28
@@ -296,7 +282,9 @@ static void init_buffers(pool_t *pool)
memset(buf_hdr, 0, (uintptr_t)data - (uintptr_t)buf_hdr);
/* Initialize buffer metadata */
-
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page:
platform/linux-generic/include/odp_ring_st_internal.h
line 78
@@ -0,0 +1,118 @@
+/* Copyright (c) 2018, Linaro Limited
+ * All rights reserved.
+ *
+ * SPDX-License-Identifier: BSD-3-Clause
+ */
+
+#ifndef
501 - 600 of 7216 matches
Mail list logo