> -----Original Message----- > From: lng-odp [mailto:lng-odp-boun...@lists.linaro.org] On Behalf Of EXT Maxim > Uvarov > Sent: Wednesday, February 24, 2016 12:47 PM > To: lng-odp@lists.linaro.org > Subject: Re: [lng-odp] [API-NEXT PATCH v3 0/9] netmap VALE/pipe interface > support > > Now pktio test passes. > > But l2fwd fails under root. I.e. l2fwd looks like works, but > odp_generator not. > > test runs: > odp_generator -I pktiop0p1 --srcip 192.168.0.1 --dstip 192.168.0.2 -m u > > and all send thread exit at: > > created pktio:01, dev:pktiop0p1, queue mode (ATOMIC queues) > default pktio01 > [01] created mode: SEND > [02] created mode: SEND > odp_generator.c:394:gen_send_thread(): [02] packet send failed > odp_generator.c:394:gen_send_thread(): [01] packet send failed > Exit > > I run make check under root to see that. Can you please debug that? >
This issue isn't related to this patch set as it happens also with the current api-next head. I just sent a separate fix to this problem. -Matias > Maxim. > > > On 02/23/16 18:25, Matias Elo wrote: > > V3: > > - Added pktio_run_netmap script for running validation tests (Maxim Uvarov) > > - Replaced pktio_test_jumbo() with pktio_test_recv_mtu() > > - Added documentation on how to use netmap virtual interfaces (Maxim > Uvarov) > > - Changed odp_pktio_mtu() return value from int to uint32_t > > > > V2: > > - Added supported set operations bit mask to pktio capability and use it in > > pktio validation test to make pktio_test_promisc() pass (Maxim Uvarov) > > - Set packet mac addresses and checksum in pktio_test_statistics_counters() > > - Don't sleep in netmap_wait_for_link() with virtual interfaces > > > > This patch set adds support for using virtual VALE/pipe netmap interfaces, > which > > can be used to run pktio validation tests without any physical interfaces. > > > > As virtual netmap interfaces don't support promiscuous mode new 'supported > ops' > > bit mask has been added to odp_pktio_capability_t. > > > > Matias Elo (8): > > linux-generic: netmap: support 'netmap:' interface name prefix > > linux-generic: netmap: add support for VALE and pipe virtual ports > > api: pktio: added supported set operations bit mask to pktio > > capability > > linux-generic: pktio: set pktio capability supported set operations > > flags > > validation: pktio: check if configuring promisc mode is supported > > before testing > > validation: pktio: set packet mac addresses and checksum in statistics > > test > > api: pktio: changed odp_pktio_mtu() return value to uint32_t > > validation: pktio: replace pktio_test_jumbo() with > > pktio_test_recv_mtu() > > > > Stuart Haslam (1): > > linux-generic: validation: add netmap test > > > > include/odp/api/spec/packet_io.h | 26 ++++- > > .../linux-generic/include/odp_packet_io_internal.h | 2 +- > > platform/linux-generic/include/odp_packet_netmap.h | 2 + > > platform/linux-generic/include/odp_packet_socket.h | 2 +- > > platform/linux-generic/odp_packet_io.c | 11 +- > > platform/linux-generic/pktio/dpdk.c | 1 + > > platform/linux-generic/pktio/ipc.c | 2 +- > > platform/linux-generic/pktio/loop.c | 2 +- > > platform/linux-generic/pktio/netmap.c | 117 > > +++++++++++++++----- > > platform/linux-generic/pktio/pcap.c | 2 +- > > platform/linux-generic/pktio/socket.c | 6 +- > > platform/linux-generic/pktio/socket_mmap.c | 2 +- > > platform/linux-generic/pktio/tap.c | 9 +- > > platform/linux-generic/test/Makefile.am | 3 + > > platform/linux-generic/test/pktio/pktio_run_netmap | 120 > +++++++++++++++++++++ > > test/validation/pktio/pktio.c | 67 +++++++++--- > > test/validation/pktio/pktio.h | 2 +- > > 17 files changed, 311 insertions(+), 65 deletions(-) > > create mode 100755 platform/linux-generic/test/pktio/pktio_run_netmap > > > > _______________________________________________ > 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