From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by dpdk.org (Postfix) with ESMTP id 07D2819F5 for ; Thu, 8 Jan 2015 14:48:43 +0100 (CET) Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga103.fm.intel.com with ESMTP; 08 Jan 2015 05:43:51 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.04,691,1406617200"; d="scan'208";a="509302651" Received: from bricha3-mobl3.ger.corp.intel.com ([10.243.20.27]) by orsmga003.jf.intel.com with SMTP; 08 Jan 2015 05:42:11 -0800 Received: by (sSMTP sendmail emulation); Thu, 08 Jan 2015 13:47:29 +0025 Date: Thu, 8 Jan 2015 13:47:29 +0000 From: Bruce Richardson To: Prashant Upadhyaya Message-ID: <20150108134728.GA2536@bricha3-MOBL3> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: Intel Shannon Ltd. User-Agent: Mutt/1.5.23 (2014-03-12) Cc: dev@dpdk.org Subject: Re: [dpdk-dev] Packet Rx issue with DPDK1.8 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: Thu, 08 Jan 2015 13:48:44 -0000 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