DPDK patches and discussions
 help / color / mirror / Atom feed
From: Bruce Richardson <bruce.richardson@intel.com>
To: Prashant Upadhyaya <prashant.upadhyaya@aricent.com>
Cc: "dev@dpdk.org" <dev@dpdk.org>
Subject: Re: [dpdk-dev] Packet Rx issue with DPDK1.8
Date: Fri, 9 Jan 2015 09:26:59 +0000	[thread overview]
Message-ID: <20150109092659.GA11296@bricha3-MOBL3> (raw)
In-Reply-To: <afa8e0d5ea2a487db82e6cbb8c59de2d@GURMBXV02.AD.ARICENT.COM>

On Fri, Jan 09, 2015 at 06:45:57AM +0000, Prashant Upadhyaya wrote:
> Hi Bruce,
> 
> I tried with your suggestion.
> 
> When I disable the _vec function with the following config change, the usecase works for me. So it points to some issue in the _vec function.
> 
> CONFIG_RTE_IXGBE_INC_VECTOR=y, I changed this parameter to CONFIG_RTE_IXGBE_INC_VECTOR=n
> 
> There appears to be some gottcha in the function therefore, somebody may want to run some tests again perhaps with jumbo frames enabled (and sending small normal frames)
> 
> Regards
> -Prashant
> 

Yes, we'll perform additional testing and see what we can turn up.

/Bruce

> -----Original Message-----
> From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Bruce Richardson
> Sent: Thursday, January 08, 2015 7:17 PM
> To: Prashant Upadhyaya
> Cc: dev@dpdk.org
> Subject: Re: [dpdk-dev] Packet Rx issue with DPDK1.8
> 
> On Thu, Jan 08, 2015 at 01:40:54PM +0530, Prashant Upadhyaya wrote:
> > Hi,
> >
> > I am migrating from DPDK1.7 to DPDK1.8.
> > My application works fine with DPDK1.7.
> > I am using 10 Gb Intel 82599 NIC.
> > I have jumbo frames enabled, with max_rx_pkt_len = 10232 My mbuf
> > dataroom size is 2048+headroom So naturally the
> > ixgbe_recv_scattered_pkts driver function is triggered for receiving.
> > This works with DPDK1.7 and my app receives packets.
> > However, it does not work with DPDK1.8 somehow.I don't receive any packets.
> >
> > So, I increased the mbuf data room size in my application to a higher
> > value so that the function ixgbe_recv_scattered_pkts is not enabled (I
> > believe ixgbe_recv_pkts will be used in this case), and now my
> > application starts getting packets with DPDK1.8 and the entire
> > application usecase works fine (ofcourse my application had to adapt
> > to the mbuf structure changes which I have done)
> >
> > I am kind of coming to the conclusion that ixgbe_recv_scattered_pkts
> > has something broken in DPDK1.8 as compared to the earlier versions by
> > the above empirical evidence.
> >
> > Has anybody else faced a similar issue ?
> >
> > Regards
> > -Prashant
> 
> This is worrying to hear. In 1.8, there is now the receive_scattered_pkts_vec function which manages changed mbufs. This was tested - both in development and in validation - before release, but since it's new code, it's entirely possible we missed something. Can you perhaps try disabling the vector driver in 1.8, and see if receiving scattered packets/chained mbufs works?
> 
> Regards,
> /Bruce
> "DISCLAIMER: This message is proprietary to Aricent and is intended solely for the use of the individual to whom it is addressed. It may contain privileged or confidential information and should not be circulated or used for any purpose other than for what it is intended. If you have received this message in error, please notify the originator immediately. If you are not the intended recipient, you are notified that you are strictly prohibited from using, copying, altering, or disclosing the contents of this message. Aricent accepts no responsibility for loss or damage arising from the use of the information transmitted by this email including damage from virus."

  reply	other threads:[~2015-01-09  9:27 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-08  8:10 Prashant Upadhyaya
2015-01-08 13:47 ` Bruce Richardson
2015-01-09  6:45   ` Prashant Upadhyaya
2015-01-09  9:26     ` Bruce Richardson [this message]
2015-01-14 16:30       ` Thomas Monjalon
2015-01-14 17:01         ` Bruce Richardson
2015-01-14 18:33         ` [dpdk-dev] New to DPDK Ravi Rao
2015-01-14 19:27           ` Wiles, Keith
2015-01-14 19:54             ` Ravi Rao
     [not found]               ` <D0DC2CB2.FCE3%keith.wiles@intel.com>
2015-01-21 21:00                 ` Ravi Rao

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=20150109092659.GA11296@bricha3-MOBL3 \
    --to=bruce.richardson@intel.com \
    --cc=dev@dpdk.org \
    --cc=prashant.upadhyaya@aricent.com \
    /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).