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
<nicolas.k...@master.hes-so.ch> 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 <bala.manoha...@linaro.org>
> 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 <bill.fischo...@linaro.org> 
> wrote:
>> Please open a bug for this.  Thanks.
>>
>> On Thu, Dec 10, 2015 at 6:27 AM, Stuart Haslam <stuart.has...@linaro.org>
>> wrote:
>>>
>>> On Thu, Dec 10, 2015 at 08:48:53AM +0000, 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:FFFFFFFF: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:10000000:queue1"
>>> > -> queue1
>>> >
>>> >
>>> > sudo ./odp_classifier -i eth0 -m 0 -p
>>> > "ODP_PMR_SIP_ADDR:160.98.101.61:30000000:queue1"
>>> > -> default queue
>>> >
>>> >
>>> > sudo ./odp_classifier -i eth0 -m 0 -p
>>> > "ODP_PMR_SIP_ADDR:160.98.101.61:F0000000: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

Reply via email to