DPDK patches and discussions
 help / color / mirror / Atom feed
From: Tomasz K <tomasz.kasowicz@gmail.com>
To: dev <dev@dpdk.org>
Subject: [dpdk-dev] Unable to send Response packets to the same port
Date: Tue, 17 Jun 2014 14:55:03 +0200	[thread overview]
Message-ID: <CAHJKsGz8D-wDZhHTLNPWAur6AdN3y556F+F+_OK-LEN6A1menw@mail.gmail.com> (raw)

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)

             reply	other threads:[~2014-06-17 12:55 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-17 12:55 Tomasz K [this message]
2014-06-17 13:44 ` Tomasz K

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAHJKsGz8D-wDZhHTLNPWAur6AdN3y556F+F+_OK-LEN6A1menw@mail.gmail.com \
    --to=tomasz.kasowicz@gmail.com \
    --cc=dev@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).