Re: [lng-odp] [HELP] odp_classification no match ?

2015-12-10 Thread Bala Manoharan
I think with  ODP_PMR_UDP_DPORT match there was an issue and I had
fixed it in my latest patch in api-next.
Can you pls try if the api-next branch works for ODP_PMR_UDP_DPORT match.

Hexadecimal is required only for ip address and not for UDP port number.
Anyhow pls report the same in the bug.

I am working on a patch to revert IP address into the previous format
and will post it soon.

Regards,
Bala

On 10 December 2015 at 19:14, Kury Nicolas
 wrote:
>
>>Looks like a previous commit has changed the Ip address format
>>As a work around pls provide IP address format in hexadecimal.
>>For eg "10.10.10.1" ==> "A.A.A.1".
>
> Thank you it works! But I still  have no match with ODP_PMR_UDP_DPORT=1234 
> even if I use the hexadecimal notation 4D2 or 04D2.
>
>
> 
> De : Bala Manoharan 
> Envoyé : jeudi 10 décembre 2015 14:18
> À : Bill Fischofer
> Cc : Stuart Haslam; Kury Nicolas; lng-odp@lists.linaro.org
> Objet : Re: [lng-odp] [HELP] odp_classification no match ?
>
> Looks like a previous commit has changed the Ip address format
> As a work around pls provide IP address format in hexadecimal.
> For eg "10.10.10.1" ==> "A.A.A.1".
>
> Pls assign the bug to me.
>
> Regards,
> Bala
>
> On 10 December 2015 at 18:28, Bill Fischofer  
> wrote:
>> Please open a bug for this.  Thanks.
>>
>> On Thu, Dec 10, 2015 at 6:27 AM, Stuart Haslam 
>> wrote:
>>>
>>> On Thu, Dec 10, 2015 at 08:48:53AM +, Kury Nicolas wrote:
>>> > Hi
>>> >
>>> >
>>> > I'm trying odp_classification (ODP linux-generic 1.5) and I'm not sure
>>> > if I'm doing something wrong or if it's a bug.
>>> >
>>> > uname -a : 3.16.0-30-generic #40~14.04.1-Ubuntu SMP Thu Jan 15 17:43:14
>>> > UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
>>> >
>>> >
>>> > Received packets with this Src IP will be stored in "queue1", right ?
>>> >
>>> > sudo ./odp_classifier -i eth0 -m 0 -p
>>> > "ODP_PMR_SIP_ADDR:160.98.101.61::queue1"
>>> >
>>> >
>>> > I'm sending UDP packets with Src IP = 160.98.101.61 on port 1234 and
>>> > there isn't any match. All packets go to default queue.
>>> >
>>> >
>>> > I have also tried:
>>> >
>>> > sudo ./odp_classifier -i eth0 -m 0 -p
>>> > "ODP_PMR_SIP_ADDR:160.98.101.61:1000:queue1"
>>> > -> queue1
>>> >
>>> >
>>> > sudo ./odp_classifier -i eth0 -m 0 -p
>>> > "ODP_PMR_SIP_ADDR:160.98.101.61:3000:queue1"
>>> > -> default queue
>>> >
>>> >
>>> > sudo ./odp_classifier -i eth0 -m 0 -p
>>> > "ODP_PMR_SIP_ADDR:160.98.101.61:F000:queue1"
>>> > -> default queue
>>> >
>>> >
>>> > I have also tested with ODP_PMR_UDP_DPORT=1234 and it doesn't match too.
>>> >
>>> >
>>> > Thank you
>>> >
>>> > Nicolas
>>>
>>> It looks like something is broken :(
>>>
>>> I have a similar test that used to work and is now failing, sending
>>> everything to the default queue as you see.
>>>
>>> f64b306 is the last commit that works for me, 0d56b7b is the first one
>>> that fails in this way. The commits in between all either fail to build
>>> or seg fault (probably because the fix fe376471 is missing).
>>>
>>> --
>>> Stuart.
>>> ___
>>> lng-odp mailing list
>>> lng-odp@lists.linaro.org
>>> https://lists.linaro.org/mailman/listinfo/lng-odp
>>
>>
>>
>> ___
>> lng-odp mailing list
>> lng-odp@lists.linaro.org
>> https://lists.linaro.org/mailman/listinfo/lng-odp
>>
>
>
>
> --
> Regards,
> Bala



-- 
Regards,
Bala
___
lng-odp mailing list
lng-odp@lists.linaro.org
https://lists.linaro.org/mailman/listinfo/lng-odp


Re: [lng-odp] [HELP] odp_classification no match ?

2015-12-10 Thread Kury Nicolas

>Looks like a previous commit has changed the Ip address format
>As a work around pls provide IP address format in hexadecimal.
>For eg "10.10.10.1" ==> "A.A.A.1".

Thank you it works! But I still  have no match with ODP_PMR_UDP_DPORT=1234 even 
if I use the hexadecimal notation 4D2 or 04D2.



De : Bala Manoharan 
Envoyé : jeudi 10 décembre 2015 14:18
À : Bill Fischofer
Cc : Stuart Haslam; Kury Nicolas; lng-odp@lists.linaro.org
Objet : Re: [lng-odp] [HELP] odp_classification no match ?

Looks like a previous commit has changed the Ip address format
As a work around pls provide IP address format in hexadecimal.
For eg "10.10.10.1" ==> "A.A.A.1".

Pls assign the bug to me.

Regards,
Bala

On 10 December 2015 at 18:28, Bill Fischofer  wrote:
> Please open a bug for this.  Thanks.
>
> On Thu, Dec 10, 2015 at 6:27 AM, Stuart Haslam 
> wrote:
>>
>> On Thu, Dec 10, 2015 at 08:48:53AM +, Kury Nicolas wrote:
>> > Hi
>> >
>> >
>> > I'm trying odp_classification (ODP linux-generic 1.5) and I'm not sure
>> > if I'm doing something wrong or if it's a bug.
>> >
>> > uname -a : 3.16.0-30-generic #40~14.04.1-Ubuntu SMP Thu Jan 15 17:43:14
>> > UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
>> >
>> >
>> > Received packets with this Src IP will be stored in "queue1", right ?
>> >
>> > sudo ./odp_classifier -i eth0 -m 0 -p
>> > "ODP_PMR_SIP_ADDR:160.98.101.61::queue1"
>> >
>> >
>> > I'm sending UDP packets with Src IP = 160.98.101.61 on port 1234 and
>> > there isn't any match. All packets go to default queue.
>> >
>> >
>> > I have also tried:
>> >
>> > sudo ./odp_classifier -i eth0 -m 0 -p
>> > "ODP_PMR_SIP_ADDR:160.98.101.61:1000:queue1"
>> > -> queue1
>> >
>> >
>> > sudo ./odp_classifier -i eth0 -m 0 -p
>> > "ODP_PMR_SIP_ADDR:160.98.101.61:3000:queue1"
>> > -> default queue
>> >
>> >
>> > sudo ./odp_classifier -i eth0 -m 0 -p
>> > "ODP_PMR_SIP_ADDR:160.98.101.61:F000:queue1"
>> > -> default queue
>> >
>> >
>> > I have also tested with ODP_PMR_UDP_DPORT=1234 and it doesn't match too.
>> >
>> >
>> > Thank you
>> >
>> > Nicolas
>>
>> It looks like something is broken :(
>>
>> I have a similar test that used to work and is now failing, sending
>> everything to the default queue as you see.
>>
>> f64b306 is the last commit that works for me, 0d56b7b is the first one
>> that fails in this way. The commits in between all either fail to build
>> or seg fault (probably because the fix fe376471 is missing).
>>
>> --
>> Stuart.
>> ___
>> lng-odp mailing list
>> lng-odp@lists.linaro.org
>> https://lists.linaro.org/mailman/listinfo/lng-odp
>
>
>
> ___
> lng-odp mailing list
> lng-odp@lists.linaro.org
> https://lists.linaro.org/mailman/listinfo/lng-odp
>



--
Regards,
Bala
___
lng-odp mailing list
lng-odp@lists.linaro.org
https://lists.linaro.org/mailman/listinfo/lng-odp


Re: [lng-odp] [HELP] odp_classification no match ?

2015-12-10 Thread Stuart Haslam
On Thu, Dec 10, 2015 at 06:48:06PM +0530, Bala Manoharan wrote:
> Looks like a previous commit has changed the Ip address format
> As a work around pls provide IP address format in hexadecimal.
> For eg "10.10.10.1" ==> "A.A.A.1".
> 

In my case fixing the IP address format (s/SCNx32/SCNd32) just exposes a
seg fault later on.

-- 
Stuart.
___
lng-odp mailing list
lng-odp@lists.linaro.org
https://lists.linaro.org/mailman/listinfo/lng-odp


Re: [lng-odp] [HELP] odp_classification no match ?

2015-12-10 Thread Maxim Uvarov

On 12/10/2015 16:18, Bala Manoharan wrote:

Looks like a previous commit has changed the Ip address format
As a work around pls provide IP address format in hexadecimal.
For eg "10.10.10.1" ==> "A.A.A.1".

Pls assign the bug to me.

Regards,
Bala


Can we also add that to  make check test? It will be good to capture 
such things as soon as possible.


Maxim.



On 10 December 2015 at 18:28, Bill Fischofer  wrote:

Please open a bug for this.  Thanks.

On Thu, Dec 10, 2015 at 6:27 AM, Stuart Haslam 
wrote:

On Thu, Dec 10, 2015 at 08:48:53AM +, Kury Nicolas wrote:

Hi


I'm trying odp_classification (ODP linux-generic 1.5) and I'm not sure
if I'm doing something wrong or if it's a bug.

uname -a : 3.16.0-30-generic #40~14.04.1-Ubuntu SMP Thu Jan 15 17:43:14
UTC 2015 x86_64 x86_64 x86_64 GNU/Linux


Received packets with this Src IP will be stored in "queue1", right ?

sudo ./odp_classifier -i eth0 -m 0 -p
"ODP_PMR_SIP_ADDR:160.98.101.61::queue1"


I'm sending UDP packets with Src IP = 160.98.101.61 on port 1234 and
there isn't any match. All packets go to default queue.


I have also tried:

sudo ./odp_classifier -i eth0 -m 0 -p
"ODP_PMR_SIP_ADDR:160.98.101.61:1000:queue1"
-> queue1


sudo ./odp_classifier -i eth0 -m 0 -p
"ODP_PMR_SIP_ADDR:160.98.101.61:3000:queue1"
-> default queue


sudo ./odp_classifier -i eth0 -m 0 -p
"ODP_PMR_SIP_ADDR:160.98.101.61:F000:queue1"
-> default queue


I have also tested with ODP_PMR_UDP_DPORT=1234 and it doesn't match too.


Thank you

Nicolas

It looks like something is broken :(

I have a similar test that used to work and is now failing, sending
everything to the default queue as you see.

f64b306 is the last commit that works for me, 0d56b7b is the first one
that fails in this way. The commits in between all either fail to build
or seg fault (probably because the fix fe376471 is missing).

--
Stuart.
___
lng-odp mailing list
lng-odp@lists.linaro.org
https://lists.linaro.org/mailman/listinfo/lng-odp



___
lng-odp mailing list
lng-odp@lists.linaro.org
https://lists.linaro.org/mailman/listinfo/lng-odp






___
lng-odp mailing list
lng-odp@lists.linaro.org
https://lists.linaro.org/mailman/listinfo/lng-odp


Re: [lng-odp] [HELP] odp_classification no match ?

2015-12-10 Thread Bala Manoharan
Looks like a previous commit has changed the Ip address format
As a work around pls provide IP address format in hexadecimal.
For eg "10.10.10.1" ==> "A.A.A.1".

Pls assign the bug to me.

Regards,
Bala

On 10 December 2015 at 18:28, Bill Fischofer  wrote:
> Please open a bug for this.  Thanks.
>
> On Thu, Dec 10, 2015 at 6:27 AM, Stuart Haslam 
> wrote:
>>
>> On Thu, Dec 10, 2015 at 08:48:53AM +, Kury Nicolas wrote:
>> > Hi
>> >
>> >
>> > I'm trying odp_classification (ODP linux-generic 1.5) and I'm not sure
>> > if I'm doing something wrong or if it's a bug.
>> >
>> > uname -a : 3.16.0-30-generic #40~14.04.1-Ubuntu SMP Thu Jan 15 17:43:14
>> > UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
>> >
>> >
>> > Received packets with this Src IP will be stored in "queue1", right ?
>> >
>> > sudo ./odp_classifier -i eth0 -m 0 -p
>> > "ODP_PMR_SIP_ADDR:160.98.101.61::queue1"
>> >
>> >
>> > I'm sending UDP packets with Src IP = 160.98.101.61 on port 1234 and
>> > there isn't any match. All packets go to default queue.
>> >
>> >
>> > I have also tried:
>> >
>> > sudo ./odp_classifier -i eth0 -m 0 -p
>> > "ODP_PMR_SIP_ADDR:160.98.101.61:1000:queue1"
>> > -> queue1
>> >
>> >
>> > sudo ./odp_classifier -i eth0 -m 0 -p
>> > "ODP_PMR_SIP_ADDR:160.98.101.61:3000:queue1"
>> > -> default queue
>> >
>> >
>> > sudo ./odp_classifier -i eth0 -m 0 -p
>> > "ODP_PMR_SIP_ADDR:160.98.101.61:F000:queue1"
>> > -> default queue
>> >
>> >
>> > I have also tested with ODP_PMR_UDP_DPORT=1234 and it doesn't match too.
>> >
>> >
>> > Thank you
>> >
>> > Nicolas
>>
>> It looks like something is broken :(
>>
>> I have a similar test that used to work and is now failing, sending
>> everything to the default queue as you see.
>>
>> f64b306 is the last commit that works for me, 0d56b7b is the first one
>> that fails in this way. The commits in between all either fail to build
>> or seg fault (probably because the fix fe376471 is missing).
>>
>> --
>> Stuart.
>> ___
>> lng-odp mailing list
>> lng-odp@lists.linaro.org
>> https://lists.linaro.org/mailman/listinfo/lng-odp
>
>
>
> ___
> lng-odp mailing list
> lng-odp@lists.linaro.org
> https://lists.linaro.org/mailman/listinfo/lng-odp
>



-- 
Regards,
Bala
___
lng-odp mailing list
lng-odp@lists.linaro.org
https://lists.linaro.org/mailman/listinfo/lng-odp


Re: [lng-odp] [HELP] odp_classification no match ?

2015-12-10 Thread Bill Fischofer
Please open a bug for this.  Thanks.

On Thu, Dec 10, 2015 at 6:27 AM, Stuart Haslam 
wrote:

> On Thu, Dec 10, 2015 at 08:48:53AM +, Kury Nicolas wrote:
> > Hi
> >
> >
> > I'm trying odp_classification (ODP linux-generic 1.5) and I'm not sure
> if I'm doing something wrong or if it's a bug.
> >
> > uname -a : 3.16.0-30-generic #40~14.04.1-Ubuntu SMP Thu Jan 15 17:43:14
> UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
> >
> >
> > Received packets with this Src IP will be stored in "queue1", right ?
> >
> > sudo ./odp_classifier -i eth0 -m 0 -p "ODP_PMR_SIP_ADDR:160.98.101.61:
> :queue1"
> >
> >
> > I'm sending UDP packets with Src IP = 160.98.101.61 on port 1234 and
> there isn't any match. All packets go to default queue.
> >
> >
> > I have also tried:
> >
> > sudo ./odp_classifier -i eth0 -m 0 -p
> "ODP_PMR_SIP_ADDR:160.98.101.61:1000:queue1"
> > -> queue1
> >
> >
> > sudo ./odp_classifier -i eth0 -m 0 -p
> "ODP_PMR_SIP_ADDR:160.98.101.61:3000:queue1"
> > -> default queue
> >
> >
> > sudo ./odp_classifier -i eth0 -m 0 -p "ODP_PMR_SIP_ADDR:160.98.101.61:
> F000:queue1"
> > -> default queue
> >
> >
> > I have also tested with ODP_PMR_UDP_DPORT=1234 and it doesn't match too.
> >
> >
> > Thank you
> >
> > Nicolas
>
> It looks like something is broken :(
>
> I have a similar test that used to work and is now failing, sending
> everything to the default queue as you see.
>
> f64b306 is the last commit that works for me, 0d56b7b is the first one
> that fails in this way. The commits in between all either fail to build
> or seg fault (probably because the fix fe376471 is missing).
>
> --
> Stuart.
> ___
> lng-odp mailing list
> lng-odp@lists.linaro.org
> https://lists.linaro.org/mailman/listinfo/lng-odp
>
___
lng-odp mailing list
lng-odp@lists.linaro.org
https://lists.linaro.org/mailman/listinfo/lng-odp


Re: [lng-odp] [HELP] odp_classification no match ?

2015-12-10 Thread Stuart Haslam
On Thu, Dec 10, 2015 at 08:48:53AM +, Kury Nicolas wrote:
> Hi
> 
> 
> I'm trying odp_classification (ODP linux-generic 1.5) and I'm not sure if I'm 
> doing something wrong or if it's a bug.
> 
> uname -a : 3.16.0-30-generic #40~14.04.1-Ubuntu SMP Thu Jan 15 17:43:14 UTC 
> 2015 x86_64 x86_64 x86_64 GNU/Linux
> 
> 
> Received packets with this Src IP will be stored in "queue1", right ?
> 
> sudo ./odp_classifier -i eth0 -m 0 -p 
> "ODP_PMR_SIP_ADDR:160.98.101.61::queue1"
> 
> 
> I'm sending UDP packets with Src IP = 160.98.101.61 on port 1234 and there 
> isn't any match. All packets go to default queue.
> 
> 
> I have also tried:
> 
> sudo ./odp_classifier -i eth0 -m 0 -p 
> "ODP_PMR_SIP_ADDR:160.98.101.61:1000:queue1"
> -> queue1
> 
> 
> sudo ./odp_classifier -i eth0 -m 0 -p 
> "ODP_PMR_SIP_ADDR:160.98.101.61:3000:queue1"
> -> default queue
> 
> 
> sudo ./odp_classifier -i eth0 -m 0 -p 
> "ODP_PMR_SIP_ADDR:160.98.101.61:F000:queue1"
> -> default queue
> 
> 
> I have also tested with ODP_PMR_UDP_DPORT=1234 and it doesn't match too.
> 
> 
> Thank you
> 
> Nicolas

It looks like something is broken :(

I have a similar test that used to work and is now failing, sending
everything to the default queue as you see.

f64b306 is the last commit that works for me, 0d56b7b is the first one
that fails in this way. The commits in between all either fail to build
or seg fault (probably because the fix fe376471 is missing).

--
Stuart.
___
lng-odp mailing list
lng-odp@lists.linaro.org
https://lists.linaro.org/mailman/listinfo/lng-odp