Dmitry Eremin-Solenikov(lumag) replied on github web page:
example/l2fwd_simple/l2fwd_simple_run.sh
@@ -9,7 +9,7 @@
PCAP_IN=`find . ${TEST_DIR} $(dirname $0) -name udp64.pcap -print -quit`
echo "using PCAP_IN = ${PCAP_IN}"
-./odp_l2fwd_simple pcap:in=${PCAP_IN} pcap:out=pcapout.pcap 02:00:00:0
From: Dmitry Eremin-Solenikov
Signed-off-by: Dmitry Eremin-Solenikov
---
/** Email created from pull request 235 (lumag:plat-def-2)
** https://github.com/Linaro/odp/pull/235
** Patch: https://github.com/Linaro/odp/pull/235.patch
** Base sha: ec0c3145fcafa09ae3a79875e7e07dd4794583cc
** Merge
From: Dmitry Eremin-Solenikov
Signed-off-by: Dmitry Eremin-Solenikov
---
/** Email created from pull request 235 (lumag:plat-def-2)
** https://github.com/Linaro/odp/pull/235
** Patch: https://github.com/Linaro/odp/pull/235.patch
** Base sha: ec0c3145fcafa09ae3a79875e7e07dd4794583cc
** Merge
From: Dmitry Eremin-Solenikov
Use EXEEXT environment variable when calling test programs during
shmem_linux test.
Signed-off-by: Dmitry Eremin-Solenikov
---
/** Email created from pull request 235 (lumag:plat-def-2)
** https://github.com/Linaro/odp/pull/235
** Patch: https://github.com/Linaro
From: Dmitry Eremin-Solenikov
Signed-off-by: Dmitry Eremin-Solenikov
---
/** Email created from pull request 235 (lumag:plat-def-2)
** https://github.com/Linaro/odp/pull/235
** Patch: https://github.com/Linaro/odp/pull/235.patch
** Base sha: ec0c3145fcafa09ae3a79875e7e07dd4794583cc
** Merge
From: Dmitry Eremin-Solenikov
Signed-off-by: Dmitry Eremin-Solenikov
---
/** Email created from pull request 235 (lumag:plat-def-2)
** https://github.com/Linaro/odp/pull/235
** Patch: https://github.com/Linaro/odp/pull/235.patch
** Base sha: ec0c3145fcafa09ae3a79875e7e07dd4794583cc
** Merge
From: Dmitry Eremin-Solenikov
Signed-off-by: Dmitry Eremin-Solenikov
---
/** Email created from pull request 235 (lumag:plat-def-2)
** https://github.com/Linaro/odp/pull/235
** Patch: https://github.com/Linaro/odp/pull/235.patch
** Base sha: ec0c3145fcafa09ae3a79875e7e07dd4794583cc
** Merge
From: Dmitry Eremin-Solenikov
Signed-off-by: Dmitry Eremin-Solenikov
---
/** Email created from pull request 235 (lumag:plat-def-2)
** https://github.com/Linaro/odp/pull/235
** Patch: https://github.com/Linaro/odp/pull/235.patch
** Base sha: ec0c3145fcafa09ae3a79875e7e07dd4794583cc
** Merge
From: Dmitry Eremin-Solenikov
Move setting IMPLEMENTATION_NAME to platform configure.m4. Use AS_IF
instead of handcoded if. Use AC_MSG_ERROR instead of echo & exit.
Signed-off-by: Dmitry Eremin-Solenikov
---
/** Email created from pull request 235 (lumag:plat-def-2)
** https://github.com/Linar
From: Dmitry Eremin-Solenikov
Signed-off-by: Dmitry Eremin-Solenikov
---
/** Email created from pull request 235 (lumag:plat-def-2)
** https://github.com/Linaro/odp/pull/235
** Patch: https://github.com/Linaro/odp/pull/235.patch
** Base sha: ec0c3145fcafa09ae3a79875e7e07dd4794583cc
** Merge
From: Dmitry Eremin-Solenikov
Signed-off-by: Dmitry Eremin-Solenikov
---
/** Email created from pull request 235 (lumag:plat-def-2)
** https://github.com/Linaro/odp/pull/235
** Patch: https://github.com/Linaro/odp/pull/235.patch
** Base sha: ec0c3145fcafa09ae3a79875e7e07dd4794583cc
** Merge
We discussed this during the ODP public call today and had the benefit of
Pascal Van Leeuwen's participation. Pascal is a HW guy and explained some
of the issues that HW IPsec support faces.
HW recognizes an active SA by it being in a HW lookup table. From an ODP
implementation perspective, odp_ip
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page:
example/l2fwd_simple/l2fwd_simple_run.sh
line 5
@@ -9,7 +9,7 @@
PCAP_IN=`find . ${TEST_DIR} $(dirname $0) -name udp64.pcap -print -quit`
echo "using PCAP_IN = ${PCAP_IN}"
-./odp_l2fwd_simple pcap:in=${PCAP_IN} pcap:out=pcapout.p
From: Dmitry Eremin-Solenikov
Use EXEEXT environment variable when calling test programs during
shmem_linux test.
Signed-off-by: Dmitry Eremin-Solenikov
---
/** Email created from pull request 235 (lumag:plat-def-2)
** https://github.com/Linaro/odp/pull/235
** Patch: https://github.com/Linaro
From: Dmitry Eremin-Solenikov
Signed-off-by: Dmitry Eremin-Solenikov
---
/** Email created from pull request 235 (lumag:plat-def-2)
** https://github.com/Linaro/odp/pull/235
** Patch: https://github.com/Linaro/odp/pull/235.patch
** Base sha: ec0c3145fcafa09ae3a79875e7e07dd4794583cc
** Merge
From: Dmitry Eremin-Solenikov
Signed-off-by: Dmitry Eremin-Solenikov
---
/** Email created from pull request 235 (lumag:plat-def-2)
** https://github.com/Linaro/odp/pull/235
** Patch: https://github.com/Linaro/odp/pull/235.patch
** Base sha: ec0c3145fcafa09ae3a79875e7e07dd4794583cc
** Merge
From: Dmitry Eremin-Solenikov
Signed-off-by: Dmitry Eremin-Solenikov
---
/** Email created from pull request 235 (lumag:plat-def-2)
** https://github.com/Linaro/odp/pull/235
** Patch: https://github.com/Linaro/odp/pull/235.patch
** Base sha: ec0c3145fcafa09ae3a79875e7e07dd4794583cc
** Merge
From: Dmitry Eremin-Solenikov
Signed-off-by: Dmitry Eremin-Solenikov
---
/** Email created from pull request 235 (lumag:plat-def-2)
** https://github.com/Linaro/odp/pull/235
** Patch: https://github.com/Linaro/odp/pull/235.patch
** Base sha: ec0c3145fcafa09ae3a79875e7e07dd4794583cc
** Merge
From: Dmitry Eremin-Solenikov
Signed-off-by: Dmitry Eremin-Solenikov
---
/** Email created from pull request 235 (lumag:plat-def-2)
** https://github.com/Linaro/odp/pull/235
** Patch: https://github.com/Linaro/odp/pull/235.patch
** Base sha: ec0c3145fcafa09ae3a79875e7e07dd4794583cc
** Merge
From: Dmitry Eremin-Solenikov
Move setting IMPLEMENTATION_NAME to platform configure.m4. Use AS_IF
instead of handcoded if. Use AC_MSG_ERROR instead of echo & exit.
Signed-off-by: Dmitry Eremin-Solenikov
---
/** Email created from pull request 235 (lumag:plat-def-2)
** https://github.com/Linar
From: Dmitry Eremin-Solenikov
Signed-off-by: Dmitry Eremin-Solenikov
---
/** Email created from pull request 235 (lumag:plat-def-2)
** https://github.com/Linaro/odp/pull/235
** Patch: https://github.com/Linaro/odp/pull/235.patch
** Base sha: ec0c3145fcafa09ae3a79875e7e07dd4794583cc
** Merge
From: Dmitry Eremin-Solenikov
Signed-off-by: Dmitry Eremin-Solenikov
---
/** Email created from pull request 235 (lumag:plat-def-2)
** https://github.com/Linaro/odp/pull/235
** Patch: https://github.com/Linaro/odp/pull/235.patch
** Base sha: ec0c3145fcafa09ae3a79875e7e07dd4794583cc
** Merge
These are the last changes modifying/generifying/cleaning up platform code and
build system.
github
/** Email created from pull request 235 (lumag:plat-def-2)
** https://github.com/Linaro/odp/pull/235
** Patch: https://github.com/Linaro/odp/pull/235.patch
From: Dmitry Eremin-Solenikov
Signed-off-by: Dmitry Eremin-Solenikov
---
/** Email created from pull request 235 (lumag:plat-def-2)
** https://github.com/Linaro/odp/pull/235
** Patch: https://github.com/Linaro/odp/pull/235.patch
** Base sha: ec0c3145fcafa09ae3a79875e7e07dd4794583cc
** Merge
https://bugs.linaro.org/show_bug.cgi?id=3024
Bill Fischofer changed:
What|Removed |Added
Status|CONFIRMED |RESOLVED
Resolution|---
muvarov replied on github web page:
platform/linux-generic/pktio/tap.c
line 105
@@ -412,6 +412,16 @@ static int tap_link_status(pktio_entry_t *pktio_entry)
pktio_entry->s.name + 4);
}
+static int tap_mac_addr_set(pktio_entry_t *pktio_entry, const void *mac_addr)
+{
bogdanPricope replied on github web page:
platform/linux-generic/pktio/tap.c
line 105
@@ -412,6 +412,16 @@ static int tap_link_status(pktio_entry_t *pktio_entry)
pktio_entry->s.name + 4);
}
+static int tap_mac_addr_set(pktio_entry_t *pktio_entry, const void *mac_ad
bogdanPricope replied on github web page:
platform/linux-generic/pktio/tap.c
line 105
@@ -412,6 +412,16 @@ static int tap_link_status(pktio_entry_t *pktio_entry)
pktio_entry->s.name + 4);
}
+static int tap_mac_addr_set(pktio_entry_t *pktio_entry, const void *mac_ad
Branch: refs/heads/api-next
Home: https://github.com/Linaro/odp
Commit: edca8cd1e55898826f79383b689c2c4bd2c28b3a
https://github.com/Linaro/odp/commit/edca8cd1e55898826f79383b689c2c4bd2c28b3a
Author: Dmitry Eremin-Solenikov
Date: 2017-10-17 (Tue, 17 Oct 2017)
Changed paths:
Petri Savolainen(psavol) replied on github web page:
include/odp/api/spec/ipsec.h
line 54
@@ -1129,26 +1139,14 @@ typedef struct odp_ipsec_packet_result_t {
* IPSEC status ID
*/
typedef enum odp_ipsec_status_id_t {
- /** Response to SA disable command
-*
-* Following st
muvarov replied on github web page:
include/odp/api/spec/ipsec.h
line 5
@@ -282,6 +282,9 @@ typedef struct odp_ipsec_capability_t {
* be used for many SAs. */
uint32_t max_queues;
+ /** Maximum anti-replay window size. */
+ uint32_t max_antireplay_ws;
Comment:
ok,
It is expected that platforms that are not able to support
odp_ipsec_sa_disable() status result in a form of separate event will
set SA hard expiry time to 0, submit a dummy packet to that SA. Then
after receiving this packet after IPsec processing (which should result
in hard expiry breach) odp_ip
From: Dmitry Eremin-Solenikov
It is expected that platforms that are not able to support
odp_ipsec_sa_disable() status result in a form of separate event will
set SA hard expiry time to 0, submit a dummy packet to that SA. Then
after receiving this packet after IPsec processing (which should resu
From: Matias Elo
Use stored packet pool segment length (pool_t.seg_len) instead of a define.
This enables creating packet pools with different segment sizes.
Signed-off-by: Matias Elo
---
/** Email created from pull request 233 (matiaselo:dev/pool_dyn_seg_len)
** https://github.com/Linaro/odp/
From: Matias Elo
Adjust 'segmented_packet_len' so that the test packet pool is able to
allocate at least PACKET_POOL_NUM_SEG possibly segmented test packets.
Several validation tests allocate new packets, so it is not enough to be
able allocate a single segmented packet.
Signed-off-by: Matias El
This patch set modifies packet pool implementation to select segment size at
runtime based on the pool parameters. After this patch set an application is
able to create multiple packet pools with varying segment sizes.
V2:
Added CONFIG_PACKET_SEG_DISABLED checks (Bill)
V3:
Document gcc bug fix
From: Matias Elo
Fix invalid gcc error ('array subscript is above array bounds') when
CONFIG_PACKET_SEGS_PER_HDR is set to one. Tested with gcc 5.4.0.
Signed-off-by: Matias Elo
---
/** Email created from pull request 233 (matiaselo:dev/pool_dyn_seg_len)
** https://github.com/Linaro/odp/pull/23
From: Matias Elo
Struct pool_t members 'data_size' and 'max_seg_len' were both used to store
the same value. Replace them with a single 'seg_len' member.
Signed-off-by: Matias Elo
---
/** Email created from pull request 233 (matiaselo:dev/pool_dyn_seg_len)
** https://github.com/Linaro/odp/pull
From: Matias Elo
Use separate defines for the maximum number of segments per packet
(CONFIG_PACKET_MAX_SEGS) and the number of segments stored in a packet
header (CONFIG_PACKET_SEGS_PER_HDR).
A separate define is also added for the maximum packet length.
Signed-off-by: Matias Elo
---
/** Email
From: Petri Savolainen
Implemented max_num info for packet pools.
Signed-off-by: Petri Savolainen
---
/** Email created from pull request 234 (psavol:next-pool-param)
** https://github.com/Linaro/odp/pull/234
** Patch: https://github.com/Linaro/odp/pull/234.patch
** Base sha: afeda4d14bb6f44
From: Petri Savolainen
Remove anonymous union from pool parameter structure.
Union makes it impossible to initialize parameters per
pool type (use other values than all zeros). This change
is not visible to applications (union was anonymous).
Signed-off-by: Petri Savolainen
---
/** Email create
From: Petri Savolainen
Added odp_pool_info() test for packet pools.
Signed-off-by: Petri Savolainen
---
/** Email created from pull request 234 (psavol:next-pool-param)
** https://github.com/Linaro/odp/pull/234
** Patch: https://github.com/Linaro/odp/pull/234.patch
** Base sha: afeda4d14bb6f
From: Petri Savolainen
Test packet pool subparameters when those are supported.
Signed-off-by: Petri Savolainen
---
/** Email created from pull request 234 (psavol:next-pool-param)
** https://github.com/Linaro/odp/pull/234
** Patch: https://github.com/Linaro/odp/pull/234.patch
** Base sha: a
From: Petri Savolainen
Use odp_pool_param_init() to initialize pool parameters.
Signed-off-by: Petri Savolainen
---
/** Email created from pull request 234 (psavol:next-pool-param)
** https://github.com/Linaro/odp/pull/234
** Patch: https://github.com/Linaro/odp/pull/234.patch
** Base sha: a
From: Petri Savolainen
Packet pool parameters does not require application to specify
the maximum number of packet. Application is more portable, if
it does not restrict max_num, but instead uses this info field
after pool creation.
Signed-off-by: Petri Savolainen
---
/** Email created from pul
From: Petri Savolainen
Additional packet length and number specification gives
more information to implementation about intended packet
length distribution in the pool. This enables e.g. correct
initialization when pool implementation is based on multiple
fixed packet / segment sizes (subpools).
Added packet pool parameters for more fine grained pool
configuration. The basic usage of the parameters is not changed,
except that implementation may now round up 'num' by default.
Application can limit the round up with new 'max_num' parameter.
If application does not limit max_num (but is still
From: Petri Savolainen
Added packet pool parameter 'max_num', so that 'num' parameter
can be round up by the implementation. Most implementations have
a fixed segment size, and need this flexibility. For example,
when 'len' is larger than the pool segment size, there may be
e.g. 2 x 'num' segment
Petri Savolainen(psavol) replied on github web page:
include/odp/api/spec/ipsec.h
line 9
@@ -839,8 +839,10 @@ odp_ipsec_sa_t odp_ipsec_sa_create(const
odp_ipsec_sa_param_t *param);
*
* When in synchronous operation mode, the call will return when it's possible
* to destroy the SA. In asynch
Dmitry Eremin-Solenikov(lumag) replied on github web page:
include/odp/api/spec/ipsec.h
line 5
@@ -282,6 +282,9 @@ typedef struct odp_ipsec_capability_t {
* be used for many SAs. */
uint32_t max_queues;
+ /** Maximum anti-replay window size. */
+ uint32_t max_antire
Matias Elo(matiaselo) replied on github web page:
platform/linux-generic/odp_packet.c
@@ -2146,7 +2146,7 @@ odp_packet_t odp_packet_ref(odp_packet_t pkt, uint32_t
offset)
link_hdr->buf_hdr.seg[0].len = seg->len - seg_offset;
buffer_ref_inc(seg->hdr);
- for (i = 1; i < nu
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page:
platform/linux-generic/odp_packet.c
@@ -2146,7 +2146,7 @@ odp_packet_t odp_packet_ref(odp_packet_t pkt, uint32_t
offset)
link_hdr->buf_hdr.seg[0].len = seg->len - seg_offset;
buffer_ref_inc(seg->hdr);
- fo
From: Petri Savolainen
Remove anonymous union from pool parameter structure.
Union makes it impossible to initialize parameters per
pool type (use other values than all zeros). This change
is not visible to applications (union was anonymous).
Signed-off-by: Petri Savolainen
---
/** Email create
From: Petri Savolainen
Added odp_pool_info() test for packet pools.
Signed-off-by: Petri Savolainen
---
/** Email created from pull request 234 (psavol:next-pool-param)
** https://github.com/Linaro/odp/pull/234
** Patch: https://github.com/Linaro/odp/pull/234.patch
** Base sha: afeda4d14bb6f
From: Petri Savolainen
Implemented max_num info for packet pools.
Signed-off-by: Petri Savolainen
---
/** Email created from pull request 234 (psavol:next-pool-param)
** https://github.com/Linaro/odp/pull/234
** Patch: https://github.com/Linaro/odp/pull/234.patch
** Base sha: afeda4d14bb6f44
From: Petri Savolainen
Packet pool parameters does not require application to specify
the maximum number of packet. Application is more portable, if
it does not restrict max_num, but instead uses this info field
after pool creation.
Signed-off-by: Petri Savolainen
---
/** Email created from pul
From: Petri Savolainen
Use odp_pool_param_init() to initialize pool parameters.
Signed-off-by: Petri Savolainen
---
/** Email created from pull request 234 (psavol:next-pool-param)
** https://github.com/Linaro/odp/pull/234
** Patch: https://github.com/Linaro/odp/pull/234.patch
** Base sha: a
From: Petri Savolainen
Test packet pool subparameters when those are supported.
Signed-off-by: Petri Savolainen
---
/** Email created from pull request 234 (psavol:next-pool-param)
** https://github.com/Linaro/odp/pull/234
** Patch: https://github.com/Linaro/odp/pull/234.patch
** Base sha: a
From: Petri Savolainen
Additional packet length and number specification gives
more information to implementation about intended packet
length distribution in the pool. This enables e.g. correct
initialization when pool implementation is based on multiple
fixed packet / segment sizes (subpools).
From: Petri Savolainen
Added packet pool parameter 'max_num', so that 'num' parameter
can be round up by the implementation. Most implementations have
a fixed segment size, and need this flexibility. For example,
when 'len' is larger than the pool segment size, there may be
e.g. 2 x 'num' segment
Added packet pool parameters for more fine grained pool
configuration. The basic usage of the parameters is not changed,
except that implementation may now round up 'num' by default.
Application can limit the round up with new 'max_num' parameter.
If application does not limit max_num (but is still
From: Dmitry Eremin-Solenikov
Use EXEEXT environment variable when calling test programs during
shmem_linux test.
Signed-off-by: Dmitry Eremin-Solenikov
---
/** Email created from pull request 235 (lumag:plat-def-2)
** https://github.com/Linaro/odp/pull/235
** Patch: https://github.com/Linaro
From: Dmitry Eremin-Solenikov
Signed-off-by: Dmitry Eremin-Solenikov
---
/** Email created from pull request 235 (lumag:plat-def-2)
** https://github.com/Linaro/odp/pull/235
** Patch: https://github.com/Linaro/odp/pull/235.patch
** Base sha: ec0c3145fcafa09ae3a79875e7e07dd4794583cc
** Merge
From: Dmitry Eremin-Solenikov
Signed-off-by: Dmitry Eremin-Solenikov
---
/** Email created from pull request 235 (lumag:plat-def-2)
** https://github.com/Linaro/odp/pull/235
** Patch: https://github.com/Linaro/odp/pull/235.patch
** Base sha: ec0c3145fcafa09ae3a79875e7e07dd4794583cc
** Merge
From: Dmitry Eremin-Solenikov
Signed-off-by: Dmitry Eremin-Solenikov
---
/** Email created from pull request 235 (lumag:plat-def-2)
** https://github.com/Linaro/odp/pull/235
** Patch: https://github.com/Linaro/odp/pull/235.patch
** Base sha: ec0c3145fcafa09ae3a79875e7e07dd4794583cc
** Merge
From: Dmitry Eremin-Solenikov
Signed-off-by: Dmitry Eremin-Solenikov
---
/** Email created from pull request 235 (lumag:plat-def-2)
** https://github.com/Linaro/odp/pull/235
** Patch: https://github.com/Linaro/odp/pull/235.patch
** Base sha: ec0c3145fcafa09ae3a79875e7e07dd4794583cc
** Merge
From: Dmitry Eremin-Solenikov
Move setting IMPLEMENTATION_NAME to platform configure.m4. Use AS_IF
instead of handcoded if. Use AC_MSG_ERROR instead of echo & exit.
Signed-off-by: Dmitry Eremin-Solenikov
---
/** Email created from pull request 235 (lumag:plat-def-2)
** https://github.com/Linar
From: Dmitry Eremin-Solenikov
Signed-off-by: Dmitry Eremin-Solenikov
---
/** Email created from pull request 235 (lumag:plat-def-2)
** https://github.com/Linaro/odp/pull/235
** Patch: https://github.com/Linaro/odp/pull/235.patch
** Base sha: ec0c3145fcafa09ae3a79875e7e07dd4794583cc
** Merge
From: Dmitry Eremin-Solenikov
Signed-off-by: Dmitry Eremin-Solenikov
---
/** Email created from pull request 235 (lumag:plat-def-2)
** https://github.com/Linaro/odp/pull/235
** Patch: https://github.com/Linaro/odp/pull/235.patch
** Base sha: ec0c3145fcafa09ae3a79875e7e07dd4794583cc
** Merge
From: Dmitry Eremin-Solenikov
Signed-off-by: Dmitry Eremin-Solenikov
---
/** Email created from pull request 235 (lumag:plat-def-2)
** https://github.com/Linaro/odp/pull/235
** Patch: https://github.com/Linaro/odp/pull/235.patch
** Base sha: ec0c3145fcafa09ae3a79875e7e07dd4794583cc
** Merge
These are the last changes modifying/generifying/cleaning up platform code and
build system.
github
/** Email created from pull request 235 (lumag:plat-def-2)
** https://github.com/Linaro/odp/pull/235
** Patch: https://github.com/Linaro/odp/pull/235.patch
From: Dmitry Eremin-Solenikov
Signed-off-by: Dmitry Eremin-Solenikov
---
/** Email created from pull request 235 (lumag:plat-def-2)
** https://github.com/Linaro/odp/pull/235
** Patch: https://github.com/Linaro/odp/pull/235.patch
** Base sha: ec0c3145fcafa09ae3a79875e7e07dd4794583cc
** Merge
> -Original Message-
> From: Bill Fischofer [mailto:bill.fischo...@linaro.org]
> Sent: Tuesday, October 17, 2017 2:59 PM
> To: Savolainen, Petri (Nokia - FI/Espoo)
> Cc: lng-odp@lists.linaro.org
> Subject: Re: [lng-odp] [Linaro/odp] [PATCH API-NEXT v1] api: pool
> subparameters (#234)
>
On Tue, Oct 17, 2017 at 2:14 AM, Savolainen, Petri (Nokia - FI/Espoo)
wrote:
>
>
> From: Bill Fischofer [mailto:notificati...@github.com]
> Sent: Tuesday, October 17, 2017 2:20 AM
> To: Linaro/odp
> Cc: Savolainen, Petri (Nokia - FI/Espoo) ; Author
>
> Subject: Re: [Linaro/odp] [PATCH API-NEXT
On Tue, Oct 17, 2017 at 3:04 AM, Savolainen, Petri (Nokia - FI/Espoo)
wrote:
>> typedef struct odp_pool_param_t {
>> /** Pool type */
>> @@ -192,17 +193,34 @@ typedef struct odp_pool_param_t {
>>
>> /** Parameters for packet pools */
>> struct {
>> -
muvarov replied on github web page:
include/odp/api/spec/ipsec.h
line 5
@@ -282,6 +282,9 @@ typedef struct odp_ipsec_capability_t {
* be used for many SAs. */
uint32_t max_queues;
+ /** Maximum anti-replay window size. */
+ uint32_t max_antireplay_ws;
Comment:
I t
From: Matias Elo
Adjust 'segmented_packet_len' so that the test packet pool is able to
allocate at least PACKET_POOL_NUM_SEG possibly segmented test packets.
Several validation tests allocate new packets, so it is not enough to be
able allocate a single segmented packet.
Signed-off-by: Matias El
From: Matias Elo
Use stored packet pool segment length (pool_t.seg_len) instead of a define.
This enables creating packet pools with different segment sizes.
Signed-off-by: Matias Elo
---
/** Email created from pull request 233 (matiaselo:dev/pool_dyn_seg_len)
** https://github.com/Linaro/odp/
From: Matias Elo
Fix (invalid) gcc error when CONFIG_PACKET_SEGS_PER_HDR is set to one.
Signed-off-by: Matias Elo
---
/** Email created from pull request 233 (matiaselo:dev/pool_dyn_seg_len)
** https://github.com/Linaro/odp/pull/233
** Patch: https://github.com/Linaro/odp/pull/233.patch
** B
From: Matias Elo
Struct pool_t members 'data_size' and 'max_seg_len' were both used to store
the same value. Replace them with a single 'seg_len' member.
Signed-off-by: Matias Elo
---
/** Email created from pull request 233 (matiaselo:dev/pool_dyn_seg_len)
** https://github.com/Linaro/odp/pull
From: Matias Elo
Use separate defines for the maximum number of segments per packet
(CONFIG_PACKET_MAX_SEGS) and the number of segments stored in a packet
header (CONFIG_PACKET_SEGS_PER_HDR).
A separate define is also added for the maximum packet length.
Signed-off-by: Matias Elo
---
/** Email
This patch set modifies packet pool implementation to select segment size at
runtime based on the pool parameters. After this patch set an application is
able to create multiple packet pools with varying segment sizes.
V2:
Added CONFIG_PACKET_SEG_DISABLED checks (Bill)
github---
Petri Savolainen(psavol) replied on github web page:
include/odp/api/spec/pool.h
line 16
@@ -294,6 +294,19 @@ odp_pool_t odp_pool_lookup(const char *name);
typedef struct odp_pool_info_t {
const char *name; /**< pool name */
odp_pool_param_t params; /**< pool parameters
> typedef struct odp_pool_param_t {
> /** Pool type */
> @@ -192,17 +193,34 @@ typedef struct odp_pool_param_t {
>
> /** Parameters for packet pools */
> struct {
> - /** The number of packets that the pool must provide
> -
Matias Elo(matiaselo) replied on github web page:
platform/linux-generic/include/odp_packet_internal.h
line 9
@@ -197,7 +197,7 @@ static inline void packet_init(odp_packet_hdr_t *pkt_hdr,
uint32_t len)
uint32_t seg_len;
int num = pkt_hdr->buf_hdr.segcount;
- if (odp_likely
Matias Elo(matiaselo) replied on github web page:
platform/linux-generic/odp_packet.c
line 241
@@ -2146,7 +2146,7 @@ odp_packet_t odp_packet_ref(odp_packet_t pkt, uint32_t
offset)
link_hdr->buf_hdr.seg[0].len = seg->len - seg_offset;
buffer_ref_inc(seg->hdr);
- for (i =
Testing spam filter.
From: muvarov [mailto:notificati...@github.com]
Sent: Tuesday, October 17, 2017 3:01 AM
To: Linaro/odp
Cc: Savolainen, Petri (Nokia - FI/Espoo) ; Author
Subject: Re: [Linaro/odp] [PATCH API-NEXT v1] api: pool subparameters (#234)
From: Bill Fischofer
On Mon, Oct 16, 2017 at 8:00 AM, Github
Received mail through Github ... and in HTML format of course.
From: muvarov [mailto:notificati...@github.com]
Sent: Tuesday, October 17, 2017 3:01 AM
To: Linaro/odp
Cc: Savolainen, Petri (Nokia - FI/Espoo) ; Author
Subject: Re: [Linaro/odp] [PATCH API-NEXT v1] api: pool subparameters (#234)
From: Bill Fischofer [mailto:notificati...@github.com]
Sent: Tuesday, October 17, 2017 2:20 AM
To: Linaro/odp
Cc: Savolainen, Petri (Nokia - FI/Espoo) ; Author
Subject: Re: [Linaro/odp] [PATCH API-NEXT v1] api: pool subparameters (#234)
@Bill-Fischofer-Linaro requested changes on this pull r
90 matches
Mail list logo