Branch: refs/heads/cloud-dev
Home: https://github.com/Linaro/odp
Commit: 083b31d9200f5cff4794511f2a9f865506c706ef
https://github.com/Linaro/odp/commit/083b31d9200f5cff4794511f2a9f865506c706ef
Author: Kevin Wang
Date: 2017-09-05 (Tue, 05 Sep 2017)
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page:
platform/linux-generic/odp_pool.c
line 9
@@ -348,6 +348,11 @@ static odp_pool_t pool_create(const char *name,
odp_pool_param_t *params,
break;
case ODP_POOL_PACKET:
+ if
Branch: refs/heads/master
Home: https://github.com/Linaro/odp
Commit: 42184679185ce0c979e065349360167e3fce6ca0
https://github.com/Linaro/odp/commit/42184679185ce0c979e065349360167e3fce6ca0
Author: Dmitry Eremin-Solenikov
Date: 2017-09-04
On 09/04/17 18:09, Andriy Berestovskyy wrote:
> Hey guys,
> There are few __asm__ volatile("" ::: "memory") in the generic ODP code,
> but seems like there is no API for the compiler barrier.
>
> Shall we add one to the api/sync.h?
>
> Andriy
Hello Andriy,
Do you have use case for that?
In my
Branch: refs/heads/master
Home: https://github.com/Linaro/odp
Commit: 29139f725a7d6f2bd9e57a60abf1e55f4ac64c97
https://github.com/Linaro/odp/commit/29139f725a7d6f2bd9e57a60abf1e55f4ac64c97
Author: Dmitry Eremin-Solenikov
Date: 2017-09-04
From: Balasubramanian Manoharan
Adds minimum and maximum headroom in pool capability
Signed-off-by: Balasubramanian Manoharan
---
/** Email created from pull request 152 (bala-manoharan:pool_headroom)
**
From: Balasubramanian Manoharan
Adds pool minimum and maximum headroom in pool capability
Signed-off-by: Balasubramanian Manoharan
---
/** Email created from pull request 152 (bala-manoharan:pool_headroom)
**
github
/** Email created from pull request 152 (bala-manoharan:pool_headroom)
** https://github.com/Linaro/odp/pull/152
** Patch: https://github.com/Linaro/odp/pull/152.patch
** Base sha: 91c0b58fc87ba0431241818758cea94438cd5498
** Merge commit sha:
From: Ilias Apalodimas
Using odp_time_local() on each iteration consumes too much cpu for
no reason. Netmap pktio reported a boost from ~550kpps to ~1.2Mpps
when odp_generator was used as a receiver on 1Gbit links.
Signed-off-by: Ilias Apalodimas
Using odp_time_local() on each iteration consumes too much cpu for no reason
Netmap pktio reported ~550kpps prior to this and ~1.2Mpps after the patch, when
odp_generator was used as a receiver.
Signed-off-by: Ilias Apalodimas ilias.apalodi...@linaro.org
bogdanPricope replied on github web page:
example/generator/odp_generator.c
line 314
@@ -742,6 +809,23 @@ static int gen_recv_thread(void *arg)
continue;
for (i = 0, pkt_cnt = 0; i < ev_cnt; i++) {
pkt =
bogdanPricope replied on github web page:
platform/linux-generic/pktio/dpdk.c
line 125
@@ -436,6 +440,97 @@ static inline int mbuf_to_pkt(pktio_entry_t *pktio_entry,
return (i > 0 ? i : -1);
}
+static inline int packet_parse(void *l3_hdr, odp_bool_t *l3_proto_v4,
+
bogdanPricope replied on github web page:
example/generator/odp_generator.c
line 322
@@ -742,6 +809,23 @@ static int gen_recv_thread(void *arg)
continue;
for (i = 0, pkt_cnt = 0; i < ev_cnt; i++) {
pkt =
bogdanPricope replied on github web page:
platform/linux-generic/pktio/dpdk.c
@@ -426,6 +430,96 @@ static inline int mbuf_to_pkt(pktio_entry_t *pktio_entry,
return (i > 0 ? i : -1);
}
+static inline int packet_parse(void *l3_hdr, uint8_t *l3_proto_v4,
+
bogdanPricope replied on github web page:
example/generator/odp_generator.c
line 33
@@ -116,6 +126,10 @@ static args_t *args;
/** Barrier to sync threads execution */
static odp_barrier_t barrier;
+/** Packet processing function types */
+typedef odp_packet_t (*setup_pkt_ref_t)(odp_pool_t,
bogdanPricope replied on github web page:
platform/linux-generic/pktio/dpdk.c
line 88
@@ -436,6 +440,97 @@ static inline int mbuf_to_pkt(pktio_entry_t *pktio_entry,
return (i > 0 ? i : -1);
}
+static inline int packet_parse(void *l3_hdr, odp_bool_t *l3_proto_v4,
+
bogdanPricope replied on github web page:
platform/linux-generic/pktio/dpdk.c
line 18
@@ -301,6 +301,48 @@ static struct rte_mempool_ops ops_stack = {
MEMPOOL_REGISTER_OPS(ops_stack);
+#define HAS_IP4_PROTO(m, proto) ((m->packet_type & RTE_PTYPE_L3_MASK) == proto)
+#define HAS_IP4_PROTOS(m)
Matias Elo(matiaselo) replied on github web page:
platform/linux-generic/pktio/dpdk.c
line 18
@@ -301,6 +301,48 @@ static struct rte_mempool_ops ops_stack = {
MEMPOOL_REGISTER_OPS(ops_stack);
+#define HAS_IP4_PROTO(m, proto) ((m->packet_type & RTE_PTYPE_L3_MASK) == proto)
+#define
Balasubramanian Manoharan(bala-manoharan) replied on github web page:
platform/linux-generic/odp_pool.c
line 9
@@ -348,6 +348,11 @@ static odp_pool_t pool_create(const char *name,
odp_pool_param_t *params,
break;
case ODP_POOL_PACKET:
+ if
bogdanPricope replied on github web page:
platform/linux-generic/pktio/dpdk.c
line 18
@@ -301,6 +301,48 @@ static struct rte_mempool_ops ops_stack = {
MEMPOOL_REGISTER_OPS(ops_stack);
+#define HAS_IP4_PROTO(m, proto) ((m->packet_type & RTE_PTYPE_L3_MASK) == proto)
+#define HAS_IP4_PROTOS(m)
Balasubramanian Manoharan(bala-manoharan) replied on github web page:
include/odp/api/spec/pool.h
line 27
@@ -214,6 +222,15 @@ typedef struct odp_pool_param_t {
defined by pool capability pkt.max_uarea_size.
Specify as 0 if no user area is
bogdanPricope replied on github web page:
example/generator/odp_generator.c
line 23
@@ -786,8 +787,14 @@ static void print_global_stats(int num_workers)
}
cur = odp_time_local();
- if (odp_time_cmp(next, cur) > 0)
+ if
bogdanPricope replied on github web page:
example/generator/odp_generator.c
line 23
@@ -786,8 +787,14 @@ static void print_global_stats(int num_workers)
}
cur = odp_time_local();
- if (odp_time_cmp(next, cur) > 0)
+ if
Matias Elo(matiaselo) replied on github web page:
platform/linux-generic/pktio/socket.c
@@ -696,19 +696,23 @@ static int sock_mmsg_recv(pktio_entry_t *pktio_entry, int
index ODP_UNUSED,
static uint32_t _tx_pkt_to_iovec(odp_packet_t pkt,
struct iovec
A packet may not have valid L2 offset set, so odp_packet_l2_offset() cannot
be used when transmitting packets.
Signed-off-by: Matias Elo matias@nokia.com
github
/** Email created from pull request 158 (matiaselo:fix/socket_tx)
**
From: Matias Elo
A packet may not have valid L2 offset set, so odp_packet_l2_offset() cannot
be used when transmitting packets.
Signed-off-by: Matias Elo
---
/** Email created from pull request 158 (matiaselo:fix/socket_tx)
**
26 matches
Mail list logo