From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oi0-f50.google.com (mail-oi0-f50.google.com [209.85.218.50]) by dpdk.org (Postfix) with ESMTP id B65D6379B; Mon, 8 Aug 2016 20:44:01 +0200 (CEST) Received: by mail-oi0-f50.google.com with SMTP id f189so183914862oig.3; Mon, 08 Aug 2016 11:44:01 -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=XKUDmn3vCwz28nJhyqIG48ZauT4omzZwAfPnnvUkOEU=; b=s4KUjCe3GtkxotooPrtkf5G27RIPHMShKrp3yES4vDVZOTuiJE0rq0gtefsXxeYtqc 9MTHn7hqEOHP+V0SP4n2JluK4UNj/q6JDOW/GDfYOiPTi4xqx3IEATm889/g/vjniXJ4 6lM7xNnSlQCEUwPNhZQaP1/DsRGpXhhnuEK8zG4NIdSZJQLIuORLBku9mgJeG6gsz/rQ 3H3RBIJ743nxFmtpUwSJHPJbqkass6MYcC2U63qD5ESiWClGSLopvFaLSVtG6+eCArgw 8hNrQDR+FgPYMytLU0SuI83rbw/5rO0HCjv6Tew06+MW1o12r41WscQaFvoeG6UnwHZ1 tIig== 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=XKUDmn3vCwz28nJhyqIG48ZauT4omzZwAfPnnvUkOEU=; b=Pfd3pvX3LCoZpqscL2+VRSPnCaazDgv1jNPiqTc6BJSqgFzJhMsXXalIRaKeBJSkcA mFTfaCOZMghEOJ79e6O0mlAABEbAh/Kn6xVrWL8AGIZEgAeko+CB66EhYiQT7hoDSJZZ 8i6fSoH/bfD/NWJTTwMMU5sC/TYS6YOS16betO7NoaLhpVXEZvFg0zkbnXxy0QHD9kM3 QIZtZD/WTrn6eVF56SEYeIpormDuVXTKAn0Qxg1JZqT73g8kPYrB5tzldjTLgy72oQN9 t8MBOvRqV9p5GFWGVVDXBKaVPD1fE/oVLMPR8+hIN2wzli7hWkYewke3lFIAWWbk561c mP3w== X-Gm-Message-State: AEkoouvNQSRGrSN5wRAPeznwh5vKx2wZ2M6SAv8E6YXdy3cjJ34JKO8bYwLu0UxiAKm1QGcNe3YcYYitTCY2hA== X-Received: by 10.202.114.79 with SMTP id p76mr14647145oic.183.1470681840796; Mon, 08 Aug 2016 11:44:00 -0700 (PDT) MIME-Version: 1.0 Received: by 10.202.240.195 with HTTP; Mon, 8 Aug 2016 11:44:00 -0700 (PDT) From: Lavanya Jose Date: Mon, 8 Aug 2016 11:44:00 -0700 Message-ID: To: users@dpdk.org, dev@dpdk.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-users] rte_eth_rx bug? duplicate message bufs 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, 08 Aug 2016 18:44:02 -0000 Hi, I was wondering if anyone on this list has come across this problem of rte_eth_rx_burst returning the same mbuf contents multiple times especially during congestion. I notice this problem after some number of calls to rte_eth_rx_burst when I set the nb_pkts argument to anything more than 5. I did confirm that the contents (random payloads) in the duplicate packets are identical. I looked at the corresponding ixgbe driver code that gets packets from the rx ring. It looks like the driver doesn't drop packets if an mbuf allocation fails. I'm not sure if this is the root cause of the bug I'm seeing? I'm also curious about whether I need to set rx_descs and tx_descs to 40 when I'm setting up the Intel 82599 device? The datasheet says there's 40 descriptors per TX queue though default values I've seen in code are much larger.. Thanks, Lavanya