From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qc0-f170.google.com (mail-qc0-f170.google.com [209.85.216.170]) by dpdk.org (Postfix) with ESMTP id 5EE6168CF for ; Fri, 11 Apr 2014 12:03:10 +0200 (CEST) Received: by mail-qc0-f170.google.com with SMTP id x13so5803727qcv.29 for ; Fri, 11 Apr 2014 03:04:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=kCmzpBeJo6BFDvra8iOiLCvKdft4D2mLJriWhv0OlcY=; b=xBp/apCrkYmvjonI1cAvO9rUtcTnSKO0jk18awjQ6ESRdz9k+IsiKCCfgmHJXlc4N1 LsxjgxPYsFCRKSZLt7fFHQQKDlTte0ajtHH+cnLYlP1M7+ADK0WI8TJGs/5DpglbrCzi eFEEST90CLqZfY3Gn/S8oMO+S9y3uir70/QaaH+MWdQecG4xwke47pmOLddOd0pB6U+t NVTQd+6OzjtIAJ6fh1KdzqjqslDPWpTGW1bRA7Hf6oGRM1qx0r2Rr9raFHyRJyJeA/QC XpoG8aPuyT+oryHFeEOVMoEMosyDBHQPwmJ5u7VsDaiCDrwIMAKhvm/VPv7hUMYTgHFB x0jQ== MIME-Version: 1.0 X-Received: by 10.140.109.100 with SMTP id k91mr25793053qgf.12.1397210687803; Fri, 11 Apr 2014 03:04:47 -0700 (PDT) Received: by 10.96.223.202 with HTTP; Fri, 11 Apr 2014 03:04:47 -0700 (PDT) In-Reply-To: References: <1861179.6WnqIWz1vA@xps13> Date: Fri, 11 Apr 2014 15:34:47 +0530 Message-ID: From: sabu kurian To: Thomas Monjalon Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] I350 drops packet on rte_eth_tx_burst() 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: Fri, 11 Apr 2014 10:03:10 -0000 To add to my previous mail..... only upto 544 packets are actually sent... then it fails On Fri, Apr 11, 2014 at 3:34 PM, sabu kurian wrote: > Hi Friends, > > Thanks for the reply. > > This is the portion of the code where the I350 fails to send packet: > > for(;;){ > > ret = rte_eth_tx_burst(port_ids[lcore_id], 0, m_pool, > burst_size); > > if (unlikely(ret < burst_size)) { > for(j=ret;j<(burst_size-ret);j++) > { > rte_pktmbuf_free(m_pool[j]); > } > } > else > { > > lcore_stats[lcore_id].tx += (uint64_t)burst_size; > } > > } > > all of the m_pool were allocated using > > for(j=0;j { > m_pool[j] = rte_pktmbuf_alloc(pktmbuf_pool); > > } > > > > > On Fri, Apr 11, 2014 at 1:26 PM, Thomas Monjalon < > thomas.monjalon@6wind.com> wrote: > >> Hi, >> >> 2014-04-11 11:29, sabu kurian: >> > Even after installing all the required igb drivers for I350 (the device >> > seems to work perfect on the host machine), am unable to transmit >> packets >> > using the same device (on Intel DPDK) using >> >> Please follow this documentation to setup your environment and do some >> basic >> tests with testpmd: >> http://dpdk.org/doc/quick-start >> >> -- >> Thomas >> > >