[lng-odp] [Bug 2910] odph_iplookup_table_put_value() uses overlapping pointer addresses

2017-03-16 Thread bugzilla-daemon
https://bugs.linaro.org/show_bug.cgi?id=2910 --- Comment #3 from Matias Elo --- In code ptr/nexthop and child/cidr members of prefix_entry_t are used in the same context, so they cannot be defined within the same union. You seem to have a better grasp on this code than I, so could you create a p

Re: [lng-odp] Regarding Chained Buffers and Crypto

2017-03-16 Thread Bala Manoharan
On 15 March 2017 at 18:42, Nanda Gopal wrote: > *Hi,* > > > > *When we pass, odp_crypto_op_params_tparams to odp_crypto_operation > (), as per the documentation, if we set params-> out_pkt to INVALID, a new > pkt would be created from the original pkt pool, data copied from original > pkt a

Re: [lng-odp] Regarding Chained Buffers and Crypto

2017-03-16 Thread Verma, Shally
Have a question by chained , do you mean a "Segmented" packets? -Original Message- From: lng-odp [mailto:lng-odp-boun...@lists.linaro.org] On Behalf Of Bala Manoharan Sent: 16 March 2017 14:01 To: Nanda Gopal Cc: lng-odp-forward Subject: Re: [lng-odp] Regarding Chained Buffers and Crypt

Re: [lng-odp] Regarding Chained Buffers and Crypto

2017-03-16 Thread Nanda Gopal
Hi Bala, *If your requirement is to support in-place crypto processing you can specify the output packet* *as same as input packet (i.e out_pkt = pkt).* My requirement is to support out of place, so out_pkt = ODP_PACKET_INVALID? On Thu, 16 Mar 2017 at 14:01 Bala Manoharan wrote: > > On 15 Ma

Re: [lng-odp] Regarding Chained Buffers and Crypto

2017-03-16 Thread Bala Manoharan
On 16 March 2017 at 17:42, Nanda Gopal wrote: > Hi Bala, > > > *If your requirement is to support in-place crypto processing you can > specify the output packet* > *as same as input packet (i.e out_pkt = pkt).* > > My requirement is to support out of place, so out_pkt = ODP_PACKET_INVALID? > Ye

Re: [lng-odp] Regarding Chained Buffers and Crypto

2017-03-16 Thread Nanda Gopal
Hi Shally, Yes, I meant Segmented packets. I am facing the issue when I try to read the Next Header from the ESP trailer. My assumption would be that the end of packet would be l3 ptr + ip-> tot_len. >From this , I would do go back by 1 byte to the ESP trailer ( Something like =>odph_esptrl_t *es

Re: [lng-odp] Regarding Chained Buffers and Crypto

2017-03-16 Thread Bala Manoharan
On 16 March 2017 at 18:03, Nanda Gopal wrote: > Hi Shally, > > Yes, I meant Segmented packets. > > I am facing the issue when I try to read the Next Header from the ESP > trailer. > My assumption would be that the end of packet would be l3 ptr + ip-> > tot_len. > From this , I would do go back by

Re: [lng-odp] Regarding Chained Buffers and Crypto

2017-03-16 Thread Bill Fischofer
Bug https://bugs.linaro.org/show_bug.cgi?id=2895 is already open regarding the current restriction on odp-linux not supporting segmented packets as input to crypto. Nikhil is working on this. On Thu, Mar 16, 2017 at 7:38 AM, Bala Manoharan wrote: > On 16 March 2017 at 18:03, Nanda Gopal wrote:

[lng-odp] [PATCH 1/2] linux-gen: netmap: use pid to make vdev mac addresses unique

2017-03-16 Thread Matias Elo
Previously the mac addresses of virtual netmap devices would clash if multiple odp processes were run on the same host. Signed-off-by: Matias Elo --- platform/linux-generic/pktio/netmap.c | 5 + 1 file changed, 5 insertions(+) diff --git a/platform/linux-generic/pktio/netmap.c b/platform/l

[lng-odp] [PATCH 2/2] linux-gen: netmap: remove minimum frame len check

2017-03-16 Thread Matias Elo
Checking the minimum frame length is unnecessary as netmap drops truncated frames internally. Signed-off-by: Matias Elo --- platform/linux-generic/pktio/netmap.c | 5 - 1 file changed, 5 deletions(-) diff --git a/platform/linux-generic/pktio/netmap.c b/platform/linux-generic/pktio/netmap.c

Re: [lng-odp] Regarding Chained Buffers and Crypto

2017-03-16 Thread Nanda Gopal
Thank you Bill! On Thu, 16 Mar 2017 at 18:34 Bill Fischofer wrote: > Bug https://bugs.linaro.org/show_bug.cgi?id=2895 is already open > regarding the current restriction on odp-linux not supporting segmented > packets as input to crypto. Nikhil is working on this. > > On Thu, Mar 16, 2017 at 7:

[lng-odp] [Bug 2908] Packet validation test fails if implementation does not limit packet length

2017-03-16 Thread bugzilla-daemon
https://bugs.linaro.org/show_bug.cgi?id=2908 --- Comment #2 from Bill Fischofer --- PatchV2 posted at http://patches.opendataplane.org/patch/8313/ The crypto test has a similar restriction so this patch is now expanded to cover that as well. -- You are receiving this mail because: You are on t

[lng-odp] [Bug 2867] code coverage odp_sorted_list.c

2017-03-16 Thread bugzilla-daemon
https://bugs.linaro.org/show_bug.cgi?id=2867 Maxim Uvarov changed: What|Removed |Added CC||maxim.uva...@linaro.org Status|UNCO

[lng-odp] [Bug 2866] code coverage odp_name_table.c

2017-03-16 Thread bugzilla-daemon
https://bugs.linaro.org/show_bug.cgi?id=2866 Maxim Uvarov changed: What|Removed |Added CC||maxim.uva...@linaro.org Resolution|---

[lng-odp] [Bug 2861] Remove redundant loop_support parameter in pktio capability

2017-03-16 Thread bugzilla-daemon
https://bugs.linaro.org/show_bug.cgi?id=2861 Maxim Uvarov changed: What|Removed |Added CC||maxim.uva...@linaro.org --- Comment #1 from Max

[lng-odp] [Bug 2797] scheduler_main runs for long time

2017-03-16 Thread bugzilla-daemon
https://bugs.linaro.org/show_bug.cgi?id=2797 --- Comment #2 from Maxim Uvarov --- Any progress? -- You are receiving this mail because: You are on the CC list for the bug.

[lng-odp] [Bug 2833] dead lock in ODP-crypto on some machine

2017-03-16 Thread bugzilla-daemon
https://bugs.linaro.org/show_bug.cgi?id=2833 Maxim Uvarov changed: What|Removed |Added Resolution|--- |NON REPRODUCIBLE Status|IN_PROGRESS

[lng-odp] please take attention on bugs

2017-03-16 Thread Maxim Uvarov
Hello, please take attention on opened bugs and try to update yours. If it's not possible to near future solve your bugs please reassign them to me. https://bugs.linaro.org/buglist.cgi?bug_status=__open__&list_id=12985&order=bug_id&product=OpenDataPlane%20-%20linux-%20generic%20reference&query_fo

Re: [lng-odp] [PATCH] example: l3fwd: explicitly ignore rc from parse call

2017-03-16 Thread Maxim Uvarov
On 12/20/16 01:15, Bill Fischofer wrote: > odph_eth_addr_parse always returns RC == 0. Resolve Bug > https://bugs.linaro.org/show_bug.cgi?id=2780 by explicitly ignoring this. > > Signed-off-by: Bill Fischofer > --- > example/l3fwd/odp_l3fwd_db.c | 2 +- > 1 file changed, 1 insertion(+), 1 deleti

Re: [lng-odp] [PATCH 1/2] linux-gen: netmap: use pid to make vdev mac addresses unique

2017-03-16 Thread Maxim Uvarov
On 03/16/17 16:07, Matias Elo wrote: > Previously the mac addresses of virtual netmap devices would clash if > multiple odp processes were run on the same host. > > Signed-off-by: Matias Elo > --- > platform/linux-generic/pktio/netmap.c | 5 + > 1 file changed, 5 insertions(+) > > diff --gi

[lng-odp] [Linaro/odp] 746455: linux-gen: packet: make inline table visible

2017-03-16 Thread GitHub
Branch: refs/heads/master Home: https://github.com/Linaro/odp Commit: 746455fcdf279fcef7ec6a3eb6c5f1b465588554 https://github.com/Linaro/odp/commit/746455fcdf279fcef7ec6a3eb6c5f1b465588554 Author: Petri Savolainen Date: 2017-03-16 (Thu, 16 Mar 2017) Changed paths: M pla

Re: [lng-odp] [PATCH 1/2] linux-gen: netmap: use pid to make vdev mac addresses unique

2017-03-16 Thread Bogdan Pricope
Hi Matias, Today, on "ODP Apps, Cloud, Demos, OFP" meeting I asked about the possibility/opportunity to add an odp_pktio_mac_addr_set() API. This API may not make sense for some pktios but may be useful for others: OFP may (eventually) use tap pktio to replace existing tap functionality associate

Re: [lng-odp] [PATCHv2 3/5] test: generator: receive packets in bursts

2017-03-16 Thread Maxim Uvarov
On 03/14/17 14:14, Bogdan Pricope wrote: > Signed-off-by: Bogdan Pricope > --- > example/generator/odp_generator.c | 29 +++-- > 1 file changed, 19 insertions(+), 10 deletions(-) > > diff --git a/example/generator/odp_generator.c > b/example/generator/odp_generator.c > i

Re: [lng-odp] [PATCH v3] example: add IPv4 fragmentation/reassembly example

2017-03-16 Thread Joe Savage
> > The problem is that when we discussed this patch on ODP call people very > > worry about having 128bit instructions in ODP examples. At least Petri > > and Barry asked if it would be possible to rewrite that with 64 bit > > instructions? Some compilers might not support 128 bits and we need to

[lng-odp] ABI - Use cases

2017-03-16 Thread Honnappa Nagarahalli
Hello, Thank you for the discussion on ABI, it was a good discussion. I think the discussion was scattered across use cases and implementation. I think I need to structure the discussion. In this email, can we focus on the use case (what is the problem we are trying to solve)? We can come to th

[lng-odp] [Linaro/odp] 97b7d5: linux-generic: pool: don't allocate buffers from i...

2017-03-16 Thread GitHub
Branch: refs/heads/master Home: https://github.com/Linaro/odp Commit: 97b7d50af6b7239db03d941e4816f4da98ab9449 https://github.com/Linaro/odp/commit/97b7d50af6b7239db03d941e4816f4da98ab9449 Author: Dmitry Eremin-Solenikov Date: 2017-03-16 (Thu, 16 Mar 2017) Changed paths:

Re: [lng-odp] [PATCH 2/2] linux-gen: remove pktio ipc option from configure

2017-03-16 Thread Maxim Uvarov
Please review this 2/2 patch as stand alone patch. It removes configure option. Maxim. On 02/27/17 18:21, Maxim Uvarov wrote: > Options becomes stable and not need any entry in main > configure for platform specific pktio. > > Signed-off-by: Maxim Uvarov > --- > configure.ac