Re: [lng-odp] [PATCH 4/5] validation: cls: use correct MAC addresses

2016-01-14 Thread Bala Manoharan
In odp_classification_tests.c a common pktio_loop is used coz in that suite the objective was to test the behaviour of a classification system with all different possible configurations existing concurrently. ie Configure L2 PMR, L3 PMR, default_cos, error_cos and send an error packet and check tha

Re: [lng-odp] [PATCH 4/5] validation: cls: use correct MAC addresses

2016-01-13 Thread Ivan Khoronzhuk
On 14.01.16 07:59, Bala Manoharan wrote: The idea of having to create pktio in each and every test case is to create robustness in test cases and have them as independent from each other as possible. In classification when you remove a CoS rule it is not expected to see the changes immediately

Re: [lng-odp] [PATCH 4/5] validation: cls: use correct MAC addresses

2016-01-13 Thread Bala Manoharan
The idea of having to create pktio in each and every test case is to create robustness in test cases and have them as independent from each other as possible. In classification when you remove a CoS rule it is not expected to see the changes immediately some systems will have latency and the packet

[lng-odp] [PATCH 4/5] validation: cls: use correct MAC addresses

2016-01-12 Thread Ivan Khoronzhuk
If pktion is in not promisc mode, a packet should contain correct MAC address. Signed-off-by: Ivan Khoronzhuk --- .../classification/odp_classification_test_pmr.c | 158 ++--- .../classification/odp_classification_tests.c | 30 +++- 2 files changed, 96 insertions(+), 92 d