Re: [lng-odp] [PATCHv3] example: ODP classifier example

2015-04-23 Thread Bala Manoharan
On 21 April 2015 at 16:57, Maxim Uvarov maxim.uva...@linaro.org wrote: Bala, one more comment. Please do parsing arguments before odp init. Sorry missed this comment. parsing argument uses odp shared memory and we cannot call it before odp init() function. Regards, Bala About this code Mike

Re: [lng-odp] [PATCHv3] example: ODP classifier example

2015-04-23 Thread Maxim Uvarov
On 04/23/15 12:08, Bala Manoharan wrote: On 21 April 2015 at 16:57, Maxim Uvarov maxim.uva...@linaro.org wrote: Bala, one more comment. Please do parsing arguments before odp init. Sorry missed this comment. parsing argument uses odp shared memory and we cannot call it before odp init()

Re: [lng-odp] [PATCHv3] example: ODP classifier example

2015-04-21 Thread Bala Manoharan
On 21 April 2015 at 16:57, Maxim Uvarov maxim.uva...@linaro.org wrote: Bala, one more comment. Please do parsing arguments before odp init. About this code Mike found that it will be abort if you do not run it under root due to unable do raw socket operations. pktio =

Re: [lng-odp] [PATCHv3] example: ODP classifier example

2015-04-21 Thread Maxim Uvarov
Bala, one more comment. Please do parsing arguments before odp init. About this code Mike found that it will be abort if you do not run it under root due to unable do raw socket operations. pktio = odp_pktio_open(dev, pool); if (pktio == ODP_PKTIO_INVALID)

Re: [lng-odp] [PATCHv3] example: ODP classifier example

2015-04-21 Thread Mike Holmes
On 21 April 2015 at 09:01, Bala Manoharan bala.manoha...@linaro.org wrote: On 21 April 2015 at 16:57, Maxim Uvarov maxim.uva...@linaro.org wrote: Bala, one more comment. Please do parsing arguments before odp init. About this code Mike found that it will be abort if you do not run it

Re: [lng-odp] [PATCHv3] example: ODP classifier example

2015-04-20 Thread Mike Holmes
On 16 April 2015 at 07:41, bala.manoha...@linaro.org wrote: From: Balasubramanian Manoharan bala.manoha...@linaro.org ODP Classifier example This programs gets pmr rules as command-line parameter and configures the classification engine in the system. This initial version supports the

[lng-odp] [PATCHv3] example: ODP classifier example

2015-04-16 Thread bala . manoharan
From: Balasubramanian Manoharan bala.manoha...@linaro.org ODP Classifier example This programs gets pmr rules as command-line parameter and configures the classification engine in the system. This initial version supports the following * ODP_PMR_SIP_ADDR pmr term * PMR term MATCH and RANGE