Re: [lng-odp] [PATCHv3] linux-generic: add vlan insertion test

2016-11-07 Thread Mike Holmes
If you run as root this adds coverage bumping up from 18.5% function coverage to 96.3% However this test fails if you are not root, so it should skip rather than fail just as we do with pktio_run_tap .. Failed to open pktiop0p1 ./mmap_vlan_ins/mmap_vlan_ins.sh: 71: kill: No such process ./mma

[lng-odp] [PATCHv3] linux-generic: add vlan insertion test

2016-11-02 Thread Maxim Uvarov
linux-generic packet mmap has separate function to put back vlan tags which stripped out by linux kernel. This test is to add code coverage for this function with receiving vlan traffic from veth device. Signed-off-by: Maxim Uvarov --- v3: - do not point from tests to examples. (Christophe)