From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qc0-f180.google.com (mail-qc0-f180.google.com [209.85.216.180]) by dpdk.org (Postfix) with ESMTP id DDAA52A7 for ; Tue, 17 Jun 2014 15:45:04 +0200 (CEST) Received: by mail-qc0-f180.google.com with SMTP id r5so6318351qcx.25 for ; Tue, 17 Jun 2014 06:45:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=uBpZGtmIVHBwITnNwlg+1sr6T9Q9M+v9/wPABZF0YjU=; b=aOt20xbYjR6j0LkJfraMCtWCOfXqIlA8EzDVRPiPT/T8LbA4/o5NMfzPu9OXBxAuL4 e3h2R2PdyeECqppWRxqEqZbwj3tI79nXjGQ7j+X5XamPCgU4Exrj/jaILmKYit+gYhTW KaCM6dpQEMdMBdaDld9rEK+E4vQRcuF4LlT4aJhRpRdOCKwcXGdDDUCijyJwrz7ypDEI djUjYPyYcnMYIwrQYCiO0bj+9+NEyLZAdgDwNXz7i7esSEOMX4Og2WW5ftLsrizT5Q2I mp96ZtfoaDvZ0SVCHk4LAXhIs7DOP5SMyjQ003EoJ3WSrcfyoVQzgfEgvLwGfiQcarWV r1HA== X-Received: by 10.224.166.201 with SMTP id n9mr36914728qay.62.1403012720935; Tue, 17 Jun 2014 06:45:20 -0700 (PDT) MIME-Version: 1.0 Received: by 10.96.99.36 with HTTP; Tue, 17 Jun 2014 06:44:50 -0700 (PDT) In-Reply-To: References: From: Tomasz K Date: Tue, 17 Jun 2014 15:44:50 +0200 Message-ID: To: dev Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-dev] Unable to send Response packets to the same port X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Jun 2014 13:45:05 -0000 Update: I forgot to mention that in our case, due to some our internal constrains code always allocates new m_buf for received packet and adds additional overhead PDU to it (both ways) It seems that problem lies with the same mempool being used. We've tried to create another mempool for packet allocation, and it seems to be working fine. Thanks Tomasz Kasowicz 2014-06-17 14:55 GMT+02:00 Tomasz K : > Hello > > We're currently testing an application based on L2FWD example. > > 1. The application is located on VM which has 2 VFs from 2 different PFs > > 2. One core simply polls both RX queues from VFs, makes simple message > processing and forwards the messages to appropriate TX queue of different > VF (so there is no multiple access to the same port) > > 3. However sometimes when message is being processed, it results with > failure and code needs to send back Failure notification to the port from > which the message was received. > > The issue is that sometimes we see that packets are not being sent back > (even though rte_eth_tx_burst() is succesfull... checked with tcpdump on > peer ). > Instead the core receives next packets and tries to send Failure > Indications again until it runs out of memory in mempool. > > One thing to notice is that our app priority is latency over throughput so > it always invokes rte_eth_tx_burst with only 1 packet to send. (we are > suspecting this might be an issue here) > > Has anyone encountered such issue before.? > > Host Setup: > DL380p Gen8 Server Intel(R) Xeon(R) CPU E5-2695 v2 @ 2.40GHz > Ubuntu 14.04: 3.13.0-24-generic > Intel 82599 > > VM Setup: > Ubuntu 14.04: 3.13.0-24-generic > 2 VFs (each one from different PF) >