From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qk0-f179.google.com (mail-qk0-f179.google.com [209.85.220.179]) by dpdk.org (Postfix) with ESMTP id 7CC2C2BDC for ; Mon, 19 Sep 2016 09:59:44 +0200 (CEST) Received: by mail-qk0-f179.google.com with SMTP id n185so2933736qke.1 for ; Mon, 19 Sep 2016 00:59:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=0zyqZNjBroNTezHX2xD3ovTL6bVYOziKYMigOQD8HkQ=; b=SZzsiDQKpxf0BjNjEN3l7rsmW9tofIyBWb+0lLm3dUvCUpxLajKx7YjBtLj1aVBYxb wPAz/pauOp27TFKf4axHOqUgBWuES0JZySz3M86qSZK/CV/b0+kHGtWODIioj+VS8iAa nMYZjxDeQqXF2UYKvec4tyy+oJk+BuciFN7E7hLGTdOGot6hfmCPLnQ0wGCoA+dtiwr0 ej0BGspb1ySNf6VbF3AsU6YTKykeTt0GG5lkpCM2XuuJPDeYkH7U+JaYSR9MbHuBBZsx 7VM5vomngWhCnd2s2lSgOllUr/NOxGWFPwLOotOi3NhFSIDcCs+qInQa2FnTkdp8fh0H o0qQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=0zyqZNjBroNTezHX2xD3ovTL6bVYOziKYMigOQD8HkQ=; b=Gt7v7ajyxtKrbPVAJL8I4a45et/bOfcj593tT7tflB+3gquluaNuUK88+pVnA+aEw/ E/ke+P7O0P9rhlfGe1THyB+bxTXa2LhqICyQ+i/pzDWnPNhJ92zHYzclGas8xi4uIaIs EeOBrcN/kqUXPsAmiPxRganv0mIgiKMkEpPBvg/ac5hir6UyZcJJIBwRepIz3bWa8Fcu JNVYFGg/Npaoo8gTtJ3gpIPLxm8hQ1GdVBUIqtKBwmg6MLXx6le5OHQ7PrKa8upr4Rvh cq/sccReeQRy0o2Dx0iUGvU7PDyGyEpzKOoh5N5AdyZFP1B9dB7lW+yalxjywlHeFe00 OETQ== X-Gm-Message-State: AE9vXwOqadnaBgnR8NyUBcIStLbu6SZit+onIghc5fzNn8gWmoC7PjKQisUmTaqDT6Z/hdSQ22Den1wZynYcOg== X-Received: by 10.55.39.215 with SMTP id n206mr29206576qkn.249.1474271983822; Mon, 19 Sep 2016 00:59:43 -0700 (PDT) MIME-Version: 1.0 Received: by 10.55.6.5 with HTTP; Mon, 19 Sep 2016 00:59:43 -0700 (PDT) From: Amit Sharma Date: Mon, 19 Sep 2016 13:29:43 +0530 Message-ID: To: users@dpdk.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-users] Packet drop when using KNI sample application X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Sep 2016 07:59:44 -0000 Hi, While running the DPDK KNI sample application, we are facing packet drop after some time. *Setup:-* 1. 2 VMs configured using Ubuntu 14.04 2. eth0 of both VMs connected to each other, and able to ping *DPDK related setup:-* 1. 1st VM eth0 is bound with DPDK driver[bind=uio_pci_generic] 2. Insert the KNI module in Linux kernel[insmod rte_kni.ko]. 3. Start the KNI application [*./build/kni -c 0x3 -n 4 -- -P -p 0x1 --config="(0,0,1)"*]. 4. Assign the ip address to vEth0 [*ifconfig vEth0 10.0.1.2*] 5. start the tcpdump on vEth0 6. From 2nd VM try to ping 8.8.8.8 *Issue:- * ping works fine for around 400-500 packets(we reserved 2000 2MB hugepages). after that ping packet is never sent back to VM2 on further investigation we found *rte_eth_tx_burst *always returns 0 when the problem occurs we are investigating it further, But before that any help is welcome on the side note, we have another issue with log levels, to investigate the above issue we were trying to enable the logs for PMD using the following code rte_set_log_type(RTE_LOGTYPE_PMD, 1); rte_set_log_level(RTE_LOG_DEBUG); during initialization we see some logs from PMD, But after that no logs during receive and transmission of packets, any idea why is that? Thanks Amit Sharma