https://bugs.linaro.org/show_bug.cgi?id=1941

            Bug ID: 1941
           Summary: [odp_classifier] ODP_PMR_SIP_ADDR never matches
           Product: OpenDataPlane - linux- generic reference
           Version: 1.5
          Hardware: PC
                OS: Linux
            Status: UNCONFIRMED
          Severity: minor
          Priority: ---
         Component: Examples
          Assignee: lng-odp@lists.linaro.org
          Reporter: nicolas.k...@master.hes-so.ch

Hi

Overview: 
There is an issue with the example odp_classifier, it never matches with
ODP_PMR_SIP_ADDR. The packets always fail in the default queue.


1. Computer A with ip src = 10.10.10.1 is sending packets to computer B
2. Computer B runs odp_classifier
sudo ./odp_classifier -i eth0 -m 0 -p
"ODP_PMR_SIP_ADDR:10.10.10.1:FFFFFFFF:queue1"

Actual Results: 
All the packets with src ip 10.10.10.1 go to the default queue.

Expected Results:
The packets with src ip 10.10.10.1 should be in "queue1"

Additional Information:
If the src IP is in hexadecimal format, it works as expected
sudo ./odp_classifier -i eth0 -m 0 -p
"ODP_PMR_SIP_ADDR:A.A.A.1:FFFFFFFF:queue1"

Thanks to Bala Manoharan and Stuart Haslam for their solution.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
lng-odp mailing list
lng-odp@lists.linaro.org
https://lists.linaro.org/mailman/listinfo/lng-odp

Reply via email to