Re: [lng-odp] odp api to query free/tottal ram

2017-10-24 Thread Francois Ozog
If we think of the context of ODP applications in the field, not on developer machines: The system will be dimensioned to support whatever memory is required for the different components, including ODP. So it is just about doing the proper reservations, not asking what is available. the

[lng-odp] [PATCH 2.0 v1 0/6] Remove duplicate pktio_ops subsystem implementation

2017-10-24 Thread Github ODP bot
Remove duplicate pktio_ops subsystem implementation github /** Email created from pull request 255 (bogdanPricope:2_0_pktio_sub_unif_pr) ** https://github.com/Linaro/odp/pull/255 ** Patch: https://github.com/Linaro/odp/pull/255.patch ** Base sha:

[lng-odp] [PATCH 2.0 v1 2/6] linux-gen: pktio: ipc: build ipc pktio based on configuration option

2017-10-24 Thread Github ODP bot
From: Bogdan Pricope Build ipc pktio based on configuration option Signed-off-by: Bogdan Pricope --- /** Email created from pull request 255 (bogdanPricope:2_0_pktio_sub_unif_pr) ** https://github.com/Linaro/odp/pull/255 ** Patch:

[lng-odp] [PATCH 2.0 v1 3/6] linux-gen: pktio: tap: build TAP pktio based on configuration option

2017-10-24 Thread Github ODP bot
From: Bogdan Pricope Build TAP pktio based on configuration option Signed-off-by: Bogdan Pricope --- /** Email created from pull request 255 (bogdanPricope:2_0_pktio_sub_unif_pr) ** https://github.com/Linaro/odp/pull/255 ** Patch:

[lng-odp] [PATCH 2.0 v1 1/6] linux-dpdk: pktio: dpkd: build dpdk pktio based on configuration option

2017-10-24 Thread Github ODP bot
From: Bogdan Pricope Build dpdk pktio based on configuration option Signed-off-by: Bogdan Pricope --- /** Email created from pull request 255 (bogdanPricope:2_0_pktio_sub_unif_pr) ** https://github.com/Linaro/odp/pull/255 ** Patch:

[lng-odp] [PATCH 2.0 v1 6/6] linux-gen: pktio: remove duplicate pktio_ops subsystem implementation

2017-10-24 Thread Github ODP bot
From: Bogdan Pricope Remove duplicate pktio_ops subsystem implementation Signed-off-by: Bogdan Pricope --- /** Email created from pull request 255 (bogdanPricope:2_0_pktio_sub_unif_pr) ** https://github.com/Linaro/odp/pull/255 ** Patch:

[lng-odp] [PATCH 2.0 v1 4/6] linux-gen: pktio: socket: build SOCKET pktio based on configuration option

2017-10-24 Thread Github ODP bot
From: Bogdan Pricope Build SOCKET pktio based on configuration option Signed-off-by: Bogdan Pricope --- /** Email created from pull request 255 (bogdanPricope:2_0_pktio_sub_unif_pr) ** https://github.com/Linaro/odp/pull/255 ** Patch:

[lng-odp] [PATCH 2.0 v1 5/6] linux-gen: pktio: socket: build SOCKET_MMAP pktio based on configuration option

2017-10-24 Thread Github ODP bot
From: Bogdan Pricope Build SOCKET_MMAP pktio based on configuration option Signed-off-by: Bogdan Pricope --- /** Email created from pull request 255 (bogdanPricope:2_0_pktio_sub_unif_pr) ** https://github.com/Linaro/odp/pull/255 ** Patch:

Re: [lng-odp] [Linaro/odp] [PATCH API-NEXT v1] api: pktio: clarify odp_pktio_config() restrictions (#247)

2017-10-24 Thread Savolainen, Petri (Nokia - FI/Espoo)
From: Bill Fischofer [mailto:notificati...@github.com] Sent: Monday, October 23, 2017 5:55 PM To: Linaro/odp Cc: Savolainen, Petri (Nokia - FI/Espoo) ; Mention Subject: Re: [Linaro/odp] [PATCH API-NEXT v1] api:

Re: [lng-odp] [Linaro/odp] [PATCH API-NEXT v1] api: pktio: clarify odp_pktio_config() restrictions (#247)

2017-10-24 Thread Bogdan Pricope
My opinion is that "undefined behavior" makes sense on the fast processing path (to limit checks, etc.) and makes no sense on slow path, especially on configuration API. On 24 October 2017 at 11:17, Savolainen, Petri (Nokia - FI/Espoo) wrote: > > > From: Bill

Re: [lng-odp] Latest odp_ipsec_sa_disable() discussion and proposed resolution

2017-10-24 Thread Dmitry Eremin-Solenikov
Hello, On 23 October 2017 at 20:56, Bill Fischofer wrote: > 2. All other IPsec events are reported as events of type ODP_EVENT_PACKET, > subtype ODP_EVENT_PACKET_IPSEC with appropriate error/warning bits set. > Implementations are free to use dummy packets to

Re: [lng-odp] [Linaro/odp] [PATCH API-NEXT v1] api: pktio: clarify odp_pktio_config() restrictions (#247)

2017-10-24 Thread Savolainen, Petri (Nokia - FI/Espoo)
> -Original Message- > From: Bogdan Pricope [mailto:bogdan.pric...@linaro.org] > Sent: Tuesday, October 24, 2017 11:26 AM > To: Savolainen, Petri (Nokia - FI/Espoo) > Cc: lng-odp@lists.linaro.org > Subject: Re: [lng-odp] [Linaro/odp] [PATCH API-NEXT v1] api:

Re: [lng-odp] [PATCH 2.0 v1] Remove duplicate pktio_ops subsystem implementation

2017-10-24 Thread Github ODP bot
bogdanPricope replied on github web page: platform/linux-generic/pktio/subsystem.c line 50 @@ -58,7 +60,9 @@ ODP_SUBSYSTEM_CONSTRUCTOR(pktio_ops) #ifdef HAVE_PCAP enable_link_pcap_pktio_ops = 1; #endif +#ifdef ODP_PKTIO_SOCKET enable_link_socket_pktio_ops = 1; Comment: True...

Re: [lng-odp] [PATCH 2.0 v1] Remove duplicate pktio_ops subsystem implementation

2017-10-24 Thread Github ODP bot
He Yi(heyi-linaro) replied on github web page: platform/linux-generic/pktio/subsystem.c line 50 @@ -58,7 +60,9 @@ ODP_SUBSYSTEM_CONSTRUCTOR(pktio_ops) #ifdef HAVE_PCAP enable_link_pcap_pktio_ops = 1; #endif +#ifdef ODP_PKTIO_SOCKET enable_link_socket_pktio_ops = 1; Comment:

[lng-odp] [Linaro/odp] 74d880: travis: fix doxygen error capture

2017-10-24 Thread GitHub
Branch: refs/heads/master Home: https://github.com/Linaro/odp Commit: 74d880d7e20ab4825868bd2013b164d4bc90eb45 https://github.com/Linaro/odp/commit/74d880d7e20ab4825868bd2013b164d4bc90eb45 Author: Maxim Uvarov Date: 2017-10-24 (Tue, 24 Oct 2017)

[lng-odp] [PATCH API-NEXT v1 0/3] IPsec SA_DISABLE implementation

2017-10-24 Thread Github ODP bot
An implementaion of odp_ipsec_sa_disable() semantic changes. Use dummy packet to report sa_disable event completion. github /** Email created from pull request 256 (lumag:ipsec_sa_disable_v2) ** https://github.com/Linaro/odp/pull/256 ** Patch:

[lng-odp] [PATCH API-NEXT v1 3/3] linux-gen: implement odp_ipsec_sa_disable() changes

2017-10-24 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 256 (lumag:ipsec_sa_disable_v2) ** https://github.com/Linaro/odp/pull/256 ** Patch:

[lng-odp] Static ODP library and DPDK drivers

2017-10-24 Thread Elo, Matias (Nokia - FI/Espoo)
Hi Dmitry, Currently, when odp is configured with '--disable-shared' flag, dpdk drivers are not included in the resulting libodp-linux.a library (doesn't include any dpdk driver symbols) and hence an applications using this library doesn't find any dpdk devices. However, if the flag is not

Re: [lng-odp] Static ODP library and DPDK drivers

2017-10-24 Thread Dmitry Eremin-Solenikov
Hello, On 24/10/17 14:02, Elo, Matias (Nokia - FI/Espoo) wrote: > Hi Dmitry, > > Currently, when odp is configured with '--disable-shared' flag, dpdk drivers > are not included in the resulting libodp-linux.a library (doesn't include any > dpdk driver symbols) and hence an applications using

Re: [lng-odp] Static ODP library and DPDK drivers

2017-10-24 Thread Elo, Matias (Nokia - FI/Espoo)
> On 24 Oct 2017, at 14:11, Dmitry Eremin-Solenikov > wrote: > > Hello, > > On 24/10/17 14:02, Elo, Matias (Nokia - FI/Espoo) wrote: >> Hi Dmitry, >> >> Currently, when odp is configured with '--disable-shared' flag, dpdk drivers >> are not included in

[lng-odp] [PATCH API-NEXT v1 2/3] validation: ipsec: adapt to odp_ipsec_sa_disable() change

2017-10-24 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 256 (lumag:ipsec_sa_disable_v2) ** https://github.com/Linaro/odp/pull/256 ** Patch:

[lng-odp] [PATCH API-NEXT v1 1/3] api: ipsec: rework ODP_IPSEC_SA_DISABLE into packet error

2017-10-24 Thread Github ODP bot
From: Dmitry Eremin-Solenikov According to the discussion on mailing list, most of implementations will not be able to support odp_ipsec_sa_disable() status event directly. Instead they will submit a dummy packet to that SA. Then after receiving this packet

Re: [lng-odp] Latest odp_ipsec_sa_disable() discussion and proposed resolution

2017-10-24 Thread Bill Fischofer
On Tue, Oct 24, 2017 at 3:39 AM, Dmitry Eremin-Solenikov < dmitry.ereminsoleni...@linaro.org> wrote: > Hello, > > On 23 October 2017 at 20:56, Bill Fischofer > wrote: > > 2. All other IPsec events are reported as events of type > ODP_EVENT_PACKET, > > subtype

Re: [lng-odp] [PATCH API-NEXT v1 1/3] api: ipsec: rework ODP_IPSEC_SA_DISABLE into packet error

2017-10-24 Thread Peltonen, Janne (Nokia - FI/Espoo)
Hi, Comments below: > -Original Message- > From: lng-odp [mailto:lng-odp-boun...@lists.linaro.org] On Behalf Of Github > ODP bot > Sent: Tuesday, October 24, 2017 2:00 PM > To: lng-odp@lists.linaro.org > Subject: [lng-odp] [PATCH API-NEXT v1 1/3] api: ipsec: rework >

Re: [lng-odp] [PATCH v1] Netmap pktio fixes

2017-10-24 Thread Github ODP bot
muvarov replied on github web page: platform/linux-generic/pktio/netmap.c line 14 @@ -388,13 +389,22 @@ static int netmap_open(odp_pktio_t id ODP_UNUSED, pktio_entry_t *pktio_entry, if (pkt_nm->is_virtual) { static unsigned mac; + uint32_t tid =

[lng-odp] [PATCH 2.0 v2 2/6] linux-gen: pktio: ipc: build ipc pktio based on configuration option

2017-10-24 Thread Github ODP bot
From: Bogdan Pricope Build ipc pktio based on configuration option Signed-off-by: Bogdan Pricope --- /** Email created from pull request 255 (bogdanPricope:2_0_pktio_sub_unif_pr) ** https://github.com/Linaro/odp/pull/255 ** Patch:

[lng-odp] [PATCH 2.0 v2 3/6] linux-gen: pktio: tap: build TAP pktio based on configuration option

2017-10-24 Thread Github ODP bot
From: Bogdan Pricope Build TAP pktio based on configuration option Signed-off-by: Bogdan Pricope --- /** Email created from pull request 255 (bogdanPricope:2_0_pktio_sub_unif_pr) ** https://github.com/Linaro/odp/pull/255 ** Patch:

[lng-odp] [PATCH 2.0 v2 5/6] linux-gen: pktio: socket: build SOCKET_MMAP pktio based on configuration option

2017-10-24 Thread Github ODP bot
From: Bogdan Pricope Build SOCKET_MMAP pktio based on configuration option Signed-off-by: Bogdan Pricope --- /** Email created from pull request 255 (bogdanPricope:2_0_pktio_sub_unif_pr) ** https://github.com/Linaro/odp/pull/255 ** Patch:

[lng-odp] [PATCH 2.0 v2 4/6] linux-gen: pktio: socket: build SOCKET pktio based on configuration option

2017-10-24 Thread Github ODP bot
From: Bogdan Pricope Build SOCKET pktio based on configuration option Signed-off-by: Bogdan Pricope --- /** Email created from pull request 255 (bogdanPricope:2_0_pktio_sub_unif_pr) ** https://github.com/Linaro/odp/pull/255 ** Patch:

Re: [lng-odp] [PATCH v1] linux-gen: dpdk: bump dpdk version to 17.08

2017-10-24 Thread Github ODP bot
muvarov replied on github web page: DEPENDENCIES line 4 @@ -159,14 +159,18 @@ Prerequisites for building the OpenDataPlane (ODP) API 3.4 DPDK packet I/O support (optional) Use DPDK for ODP packet I/O. + Comment: trailing whitespaces here.

[lng-odp] [PATCH 2.0 v2 1/6] linux-dpdk: pktio: dpdk: build dpdk pktio based on configuration option

2017-10-24 Thread Github ODP bot
From: Bogdan Pricope Build dpdk pktio based on configuration option Signed-off-by: Bogdan Pricope --- /** Email created from pull request 255 (bogdanPricope:2_0_pktio_sub_unif_pr) ** https://github.com/Linaro/odp/pull/255 ** Patch:

[lng-odp] [PATCH 2.0 v2 0/6] Remove duplicate pktio_ops subsystem implementation

2017-10-24 Thread Github ODP bot
Remove duplicate pktio_ops subsystem implementation github /** Email created from pull request 255 (bogdanPricope:2_0_pktio_sub_unif_pr) ** https://github.com/Linaro/odp/pull/255 ** Patch: https://github.com/Linaro/odp/pull/255.patch ** Base sha:

[lng-odp] [Linaro/odp] 503722: test: validation: add missing file to .gitignore

2017-10-24 Thread GitHub
Branch: refs/heads/master Home: https://github.com/Linaro/odp Commit: 503722802274ff5de09144613d9262e2cfdb3077 https://github.com/Linaro/odp/commit/503722802274ff5de09144613d9262e2cfdb3077 Author: Bill Fischofer Date: 2017-10-24 (Tue, 24 Oct 2017)

[lng-odp] [PATCH 2.0 v2 6/6] linux-gen: pktio: remove duplicate pktio_ops subsystem implementation

2017-10-24 Thread Github ODP bot
From: Bogdan Pricope Remove duplicate pktio_ops subsystem implementation Signed-off-by: Bogdan Pricope --- /** Email created from pull request 255 (bogdanPricope:2_0_pktio_sub_unif_pr) ** https://github.com/Linaro/odp/pull/255 ** Patch:

Re: [lng-odp] [PATCH API-NEXT v1 1/3] api: ipsec: rework ODP_IPSEC_SA_DISABLE into packet error

2017-10-24 Thread Dmitry Eremin-Solenikov
Hi, On 24/10/17 15:49, Peltonen, Janne (Nokia - FI/Espoo) wrote: Thank for the review! >> @@ -927,7 +930,12 @@ typedef struct odp_ipsec_error_t { >> >> } odp_ipsec_error_t; >> >> -/** IPSEC warnings */ >> +/** IPSEC warnings >> + * >> + * For outbound SAs in ODP_IPSEC_OP_MODE_INLINE mode

Re: [lng-odp] [PATCH API-NEXT v1 1/3] api: ipsec: rework ODP_IPSEC_SA_DISABLE into packet error

2017-10-24 Thread Bill Fischofer
On Tue, Oct 24, 2017 at 7:49 AM, Peltonen, Janne (Nokia - FI/Espoo) < janne.pelto...@nokia.com> wrote: > Hi, > > Comments below: > > > -Original Message- > > From: lng-odp [mailto:lng-odp-boun...@lists.linaro.org] On Behalf Of > Github ODP bot > > Sent: Tuesday, October 24, 2017 2:00 PM >

Re: [lng-odp] [PATCH API-NEXT v1] IPsec SA_DISABLE implementation

2017-10-24 Thread Github ODP bot
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page: include/odp/api/spec/ipsec.h line 22 @@ -914,6 +915,8 @@ typedef struct odp_ipsec_error_t { /** Hard lifetime expired: packets */ uint32_t hard_exp_packets : 1; + +

Re: [lng-odp] [PATCH API-NEXT v1] IPsec SA_DISABLE implementation

2017-10-24 Thread Github ODP bot
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page: include/odp/api/spec/ipsec.h line 22 @@ -914,6 +915,8 @@ typedef struct odp_ipsec_error_t { /** Hard lifetime expired: packets */ uint32_t hard_exp_packets : 1; + +

[lng-odp] [PATCH API-NEXT v2 0/3] IPsec SA_DISABLE implementation

2017-10-24 Thread Github ODP bot
An implementaion of odp_ipsec_sa_disable() semantic changes. Use dummy packet to report sa_disable event completion. github /** Email created from pull request 256 (lumag:ipsec_sa_disable_v2) ** https://github.com/Linaro/odp/pull/256 ** Patch:

[lng-odp] [PATCH API-NEXT v2 3/3] linux-gen: implement odp_ipsec_sa_disable() changes

2017-10-24 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 256 (lumag:ipsec_sa_disable_v2) ** https://github.com/Linaro/odp/pull/256 ** Patch:

[lng-odp] [PATCH API-NEXT v2 1/3] api: ipsec: rework ODP_IPSEC_SA_DISABLE into packet error

2017-10-24 Thread Github ODP bot
From: Dmitry Eremin-Solenikov According to the discussion on mailing list, most of implementations will not be able to support odp_ipsec_sa_disable() status event directly. Instead they will submit a dummy packet to that SA. Then after receiving this packet

[lng-odp] [PATCH API-NEXT v2 2/3] validation: ipsec: adapt to odp_ipsec_sa_disable() change

2017-10-24 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 256 (lumag:ipsec_sa_disable_v2) ** https://github.com/Linaro/odp/pull/256 ** Patch:

[lng-odp] [PATCH v2 1/1] doc: userguide: add section on api specification principles

2017-10-24 Thread Github ODP bot
From: Bill Fischofer Add section to the User Guide that highlights that unless otherwise documented, API behavior is undefined if applications pass invalid parameters to them. Signed-off-by: Bill Fischofer --- /** Email created from pull

[lng-odp] [PATCH API-NEXT v6 0/1] API: pool: Return address range for pool objects

2017-10-24 Thread Github ODP bot
Signed-off-by: Sachin Saxena sachin.sax...@linaro.org github /** Email created from pull request 200 (sachin-saxena:api-next) ** https://github.com/Linaro/odp/pull/200 ** Patch: https://github.com/Linaro/odp/pull/200.patch ** Base sha:

[lng-odp] [PATCH API-NEXT v6 1/1] api: pool: Return address range for pool objects

2017-10-24 Thread Github ODP bot
From: Sachin Saxena Pool info support has been extented to provide minimum and maximum addresses of application accessible data for any pool object (event). Signed-off-by: Sachin Saxena --- /** Email created from pull request 200

[lng-odp] [PATCH v2 0/1] doc: userguide: add section on api specification principles

2017-10-24 Thread Github ODP bot
Add section to the User Guide that highlights that unless otherwise documented, API behavior is undefined if applications pass invalid parameters to them. Signed-off-by: Bill Fischofer bill.fischo...@linaro.org github /** Email created from pull request 257

Re: [lng-odp] [PATCH API-NEXT v2 1/3] api: ipsec: rework ODP_IPSEC_SA_DISABLE into packet error

2017-10-24 Thread Bill Fischofer
On Tue, Oct 24, 2017 at 3:00 PM, Github ODP bot wrote: > From: Dmitry Eremin-Solenikov > > According to the discussion on mailing list, most of implementations > will not be able to support odp_ipsec_sa_disable() status event > directly.

[lng-odp] [PATCH v1 1/1] doc: userguide: add section on api specification principles

2017-10-24 Thread Github ODP bot
From: Bill Fischofer Add section to the User Guide that highlights that unless otherwise documented, API behavior is undefined if applications pass invalid parameters to them. Signed-off-by: Bill Fischofer --- /** Email created from pull

[lng-odp] [PATCH v1 0/1] doc: userguide: add section on api specification principles

2017-10-24 Thread Github ODP bot
Add section to the User Guide that highlights that unless otherwise documented, API behavior is undefined if applications pass invalid parameters to them. Signed-off-by: Bill Fischofer bill.fischo...@linaro.org github /** Email created from pull request 257