From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 5796CA0613 for ; Wed, 25 Sep 2019 12:39:31 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 263411BEA8; Wed, 25 Sep 2019 12:39:31 +0200 (CEST) Received: from mail-vs1-f48.google.com (mail-vs1-f48.google.com [209.85.217.48]) by dpdk.org (Postfix) with ESMTP id C9DDA1BE96 for ; Wed, 25 Sep 2019 12:39:29 +0200 (CEST) Received: by mail-vs1-f48.google.com with SMTP id z14so3443841vsz.13 for ; Wed, 25 Sep 2019 03:39:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=OdIXgUmP912De4q7Cjji0aIeD0dxfriFTTYGX0ROVV8=; b=e1H6f52gsgo4N29MimlHDne37+856G+w6ArgvWpJlWcdesumm+mBaVcPb3f0cScJ9M I+SKs2ZFhUAY9XjNouHY85dfJ7f1PjOs5UPvgNAw5GWJfRNWy30oxxeIdKhUs44G8tMe RKZ+J0wyd1NixNPFjOPd7uS8rOk/7GqmWjaD1qoMjGuYo3iWXywKjpNLFV789Cq5zCfl 7FVqP59tJhshfMEVPhyw4+vNpIGg2i/wK5TgTvxIKWYwzxBcrGp0MLMhGrhsdxaadz5U 8YuLosr1Gq6mfNtM+i0cPo6s4NSxx6FLT7yy17IuhNQO3yVwrILhWdC2/Xj92pM88OQG aIMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=OdIXgUmP912De4q7Cjji0aIeD0dxfriFTTYGX0ROVV8=; b=LqnPxPjDvRy433VjfZH5NZgy4+GGdQKDB8/7J17bc78jOfERzFfLAxIIqW3C20c/hm m2pSAzvKzjcrpXLL1WTNrp2lI8I2c1RJwcNyblZiANZaf8a7gHz/mrMWIgwOUEirrs6i 0PTb2vpp7x+E5z3AHlrxzkkiFxDF43uwJtebA25K3s0Y7HZHy0flVznnp46gurnAiF5I RMlBmLUY71d2+r2AkQfKnZbj82uwrVmDrgKyrLwCcTUxWDfH2BJVdzrztbuTHwbR9nva i/Fag0Dij7g0O4XMRwWnuXo27HGZyf/S333/5OU5BhWnrjkSaQgmEqbpKQmQcoC1FyKL f1gw== X-Gm-Message-State: APjAAAURQF2cw7xIxpdcjUAh5om3aitxQXzrk8G1/YQne98ftHTLWHrM OJJcYK8LoRfI6xjU4j4K8I29dn0/EQIZp7nuyMeRQwYAE2g= X-Google-Smtp-Source: APXvYqzs6xoIBZr31f2RrAFVzcBRoovaU+3ExmFkFZeUbFeyp3U75tOx3UUUuRqopQOfOvOYy5lne7GSe0SksytwLaI= X-Received: by 2002:a67:d50b:: with SMTP id l11mr4523279vsj.129.1569407968963; Wed, 25 Sep 2019 03:39:28 -0700 (PDT) MIME-Version: 1.0 From: Gaurav Bansal Date: Wed, 25 Sep 2019 16:09:13 +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 drops seen once the no of rxd pkts reach the ring size X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org Sender: "users" Hi all, I am using dpdk 16.04 library to process the packets on a vmware vm (say vm1). The traffic is sent through a client machine using apache bench. I am observing an issue when the number of packets reaching the vmxnet3 interface reaches the descriptor ring size (set to 2048). Till 2048 all the packets correctly reach the 'vmxnet3_recv_pkts' function. But as the number of packets received reaches 2048, i start seeing some retransmissions on the client side (as shown by tcpdump on client side). Then i captured the packets on the esx host destined to vm1 and it shows that all the original packets as well as the corresponding retransmissions are reaching vm1. But somehow these packets fail to reach till 'vmxnet3_recv_pkts' function (this was found by putting the breakpoint in 'vmxnet3_recv_pkts' function and dumping the packet contents, which showed that some packets don't reach here). Now 'vmxnet3_recv_pkts' is the first function which reads the packets from the descriptor ring and as the packets are not reaching till here, i am not sure on how to debug this further. Possibly some issues related to the ring initialization.... I enabled the init & RX logs for vmxnet3, but i don't see any error logs as well. I also tried looking at rxq stats and it shows 0 all the time : (gdb) p rxq->stats $1 = {drop_total = 0, drop_err = 0, drop_fcs = 0, rx_buf_alloc_failure = 0} Can anyone please provide some clues on how to debug this further ? Are there any known issues related to this which have been fixed post 16.04 version ? thanks, gaurav