From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ua0-f176.google.com (mail-ua0-f176.google.com [209.85.217.176]) by dpdk.org (Postfix) with ESMTP id B23E837AA; Fri, 2 Sep 2016 05:57:14 +0200 (CEST) Received: by mail-ua0-f176.google.com with SMTP id i32so167853229uai.2; Thu, 01 Sep 2016 20:57:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-transfer-encoding; bh=F17YvqdR5v4jFmgCKoRSougdQ5cjes+TIhlzU9VWh1E=; b=H/PXk73kgsGyA45POAc0y71xCt0AudrbjMVgs8k/EcOiJDBmXI/LjkRasJkdc543QW FU3VGxx4HKBj3BXKco4sPESTjERffPt1dH7eR2byZAQP44jwHYqe2jJWjuu/Cm6l8vaJ BFAFyNmovWTIoPbsCmS8DYApuOor2WR+iiSmp/P3ge5/WprVX7tEYleGLcpgbcaWkqE0 TDQf7pMGd1v//m7TViU/ol+XbdYRHD6Ocd5T46+oYktM1fJRaViDqn49wO6icV3soJER Ff8M/wLU03uguWzuB0hjr4tDyw3VHxDISYkNWpBaJuEHnLIw38YN9y0gQPieP1PUn7cN ELFQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-transfer-encoding; bh=F17YvqdR5v4jFmgCKoRSougdQ5cjes+TIhlzU9VWh1E=; b=Y1ckR+vFU6meF3WFwu496KR/mjT5sVrqb5fWOoi06nREII3gpEjL+ZnfD4Agls4/qd MmxwxZ/Cy3xDNyZMzsE6GxO/fL9mTHtKU6pKQn6I7OsVVgoQa4liuVnZfVT6mFCondcs 3v1R/xJmKxUYBXaMP5MYtajP6iU6MELcq1CFJI17K2X/+DNvkNCegNxS/jLegdIxYIyI zcGwRYf3bQOCZoZr+PrURjRnZu5uzp17z1Wi4M9bgPKDjm8cvMcjR3tcGVoBQHjlz9el 1gBJfKnQ8LshykEOYwjy5X+MxgBUYJYH5kRyowVjAUj/Uvn1Yp+rmDLLP0Nk4ClspN71 FKsA== X-Gm-Message-State: AE9vXwOP8DKdJ1ohda8sSZBGIsqBYqe5bk4uR/2E8YrU46JrFdt6CHtOVFa5rCth/9Rv6ebCvUz9Wrp2Znv1gQ== X-Received: by 10.176.80.238 with SMTP id d43mr11937017uaa.134.1472788634015; Thu, 01 Sep 2016 20:57:14 -0700 (PDT) MIME-Version: 1.0 Received: by 10.159.39.97 with HTTP; Thu, 1 Sep 2016 20:57:13 -0700 (PDT) In-Reply-To: References: From: wei wang Date: Fri, 2 Sep 2016 11:57:13 +0800 Message-ID: To: users@dpdk.org, dev@dpdk.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [dpdk-users] ixgbe drop all the packet X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Sep 2016 03:57:15 -0000 The rx function used was ixgbe_recv_pkts_bulk_alloc. the problem seems that the rx desc ring not full, but nic don't write data to ring and inc the missed error counter. 2016-09-01 21:48 GMT+08:00 wei wang : > my enviroment: > NIC:X540 > DPDK version:2.2.0 > > problems: > start dpdk app with traffic not stopped=EF=BC=8Capp can't receive any pac= ket > from dpdk ixgbe driver (1.2w pps udp packet). > test five times would happens 1 ~ 2 times. > > The stats of the nic (ipackets=3D=3D3230 and imissed =3D=3D ierrors): > ipackets 3230 imissed 9780225 ierrors 9780225 > ipackets 3230 imissed 9792154 ierrors 9792154 > ipackets 3230 imissed 9804310 ierrors 9804310 > ipackets 3230 imissed 9816177 ierrors 9816177 > ipackets 3230 imissed 9828042 ierrors 9828042 > ipackets 3230 imissed 9839694 ierrors 9839694 > ipackets 3230 imissed 9851412 ierrors 9851412 > ipackets 3230 imissed 9863134 ierrors 9863134 > ipackets 3230 imissed 9874722 ierrors 9874722 > ipackets 3230 imissed 9886776 ierrors 9886776 > ipackets 3230 imissed 9898616 ierrors 9898616 > ipackets 3230 imissed 9910648 ierrors 9910648 > ipackets 3230 imissed 9922513 ierrors 9922513 > > The value of register RDH:1023 > The value of register RDT:959 > > there are some desc value log for one queue, the format of the log is > [desc_idx](DD value, vlan, length, status_error) : > [959]:(0,0, 0, 0) [960]:(1,0, 2048, 1342308425) [961]:(1,0, 2048, > 1342308425) [962]:(1,0, 1031, 1342308427) > [963]:(1,0, 0, 3) [964]:(1,0, 0, 3) > [965]:(1,0, 2048, 1342308425) [966]:(1,0, 2048, 1342308425) > [967]:(1,0, 1031, 1342308427) [968]:(1,0, 0, 3) [969]:(1,0, 0, 3) > [970]:(1,0, 2048, 1342308425) > [971]:(1,0, 2048, 1342308425) [972]:(1,0, 1031, 1342308427) > [973]:(1,0, 0, 3) [974]:(1,0, 0, 3) > [975]:(1,0, 2048, 1342308425) [976]:(1,0, 2048, 1342308425) > [977]:(1,0, 1031, 1342308427) [978]:(1,0, 0, 3) > [979]:(1,0, 0, 3) [980]:(1,0, 2048, 1342308425) [981]:(1,0, 2048, > 1342308425) [982]:(1,0, 1031, 1342308427) > [983]:(1,0, 0, 3) [984]:(1,0, 0, 3) [985]:(1,0, 2048, 1342308425) > [986]:(1,0, 2048, 1342308425) > [987]:(1,0, 1031, 1342308427) [988]:(1,0, 0, 3) [989]:(1,0, 0, 3) > [990]:(1,0, 2048, 1342308425) > [991]:(1,0, 2048, 1342308425) [992]:(1,0, 1031, 1342308427) > [993]:(1,0, 0, 3) [994]:(1,0, 0, 3) > [995]:(1,0, 2048, 1342308425) [996]:(1,0, 2048, 1342308425) > [997]:(1,0, 1031, 1342308427) [998]:(1,0, 0, 3) > [999]:(1,0, 0, 3) [1000]:(1,0, 2048, 1342308425) [1001]:(1,0, 2048, > 1342308425) [1002]:(1,0, 1031, 1342308427) > [1003]:(1,0, 0, 3) [1004]:(1,0, 0, 3) [1005]:(1,0, 2048, 1342308425) > [1006]:(1,0, 2048, 1342308425) > [1007]:(1,0, 1031, 1342308427) [1008]:(1,0, 0, 3) [1009]:(1,0, 0, 3) > [1010]:(1,0, 2048, 1342308425) > [1011]:(1,0, 2048, 1342308425) [1012]:(1,0, 1031, 1342308427) > [1013]:(1,0, 0, 3)[1014]:(1,0, 0, 3) > [1015]:(1,0, 2048, 1342308425) [1016]:(1,0, 2048, 1342308425) > [1017]:(1,0, 1031, 1342308427) [1018]:(1,0, 0, 3) > [1019]:(1,0, 0, 3) [1020]:(1,0, 2048, 1342308425) [1021]:(1,0, 2048, > 1342308425) [1022]:(1,0, 1031, 1342308427) [1023]:(0,0, 0, 0) > > other desc in the ring is all zero=E3=80=82 > > is there a bug? > > PS: it was normal with linux ixgbe driver=E3=80=82