DPDK usage discussions
 help / color / mirror / Atom feed
From: "terry.montague.1980@btinternet.com" <terry.montague.1980@btinternet.com>
To: keith.wiles@intel.com
Cc: users@dpdk.org
Subject: Re: [dpdk-users] Intel X550 packet receive length truncation (ixgbe PMD)
Date: Tue, 26 Sep 2017 07:41:05 +0100 (BST)	[thread overview]
Message-ID: <16672208.1985.1506408065433.JavaMail.defaultUser@defaultHost> (raw)
In-Reply-To: <F8708470-94B7-4A71-838A-C9205E261F7B@intel.com>


HI Keith,

I'm not using pktgen - I am just experiencing what appears to be the same effect - I see receive data truncation to 1024bytes on incoming Rx datagrams. 

If I then increase the MBUF size to 2048 + 128, I can receive 1500 byte datagrams, but after receiving 31 of them (or what appears to  rx_free_thresh - 1) the Rx stops, although the ret_eth_stats_get() ipackets fields shows that the total number of datagrams I'm sending into the adaptor is being processed.  Looks to be a RX ring problem? 

I'm using DPDK 17.05


Terry



----Original message----
>From : keith.wiles@intel.com
Date : 26/09/17 - 02:50 (BST)
To : terry.montague.1980@btinternet.com
Cc : users@dpdk.org
Subject : Re: [dpdk-users] Intel X550 packet receive length truncation (ixgbe PMD)


> On Sep 25, 2017, at 5:46 PM, terry.montague.1980@btinternet.com wrote:
> 
> Hi all,
> I appear to have stumbled into the problem where received data coming into the X550 (ixgbe PMD) is truncated in length to 1024 bytes.
> I've followed this issue : https://github.com/pktgen/Pktgen-DPDK/issues/103 
> and adjusted the size of the mbufs created by rte_pktmbuf_pool_create() to be RTE_MBUF_DEFAULT_DATAROOM + RTE_PKTMBUF_HEADROOM  :  i.e. 2048 + 128 bytes.
> However, the receive side now stops receiving packets, 31 packets after startup. If I change the value of rxConfig.rx_free_thresh sent into rte_eth_rx_queue_setup() to 64, then it stops after 63 incoming packets.
> Any ideas anyone ? What am I doing wrong?


What is the version of DPDK and Pktgen you are using?

> Many thanks
> Terry.

Regards,
Keith

      parent reply	other threads:[~2017-09-26  6:41 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-25 16:46 terry.montague.1980
     [not found] ` <F8708470-94B7-4A71-838A-C9205E261F7B@intel.com>
2017-09-26  6:41   ` terry.montague.1980 [this message]

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=16672208.1985.1506408065433.JavaMail.defaultUser@defaultHost \
    --to=terry.montague.1980@btinternet.com \
    --cc=keith.wiles@intel.com \
    --cc=users@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).