From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id A6D71A04A4; Thu, 30 Apr 2020 23:37:21 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id F01A51DA7A; Thu, 30 Apr 2020 23:37:20 +0200 (CEST) Received: from mail-io1-f50.google.com (mail-io1-f50.google.com [209.85.166.50]) by dpdk.org (Postfix) with ESMTP id 862FB1DA75 for ; Thu, 30 Apr 2020 23:37:19 +0200 (CEST) Received: by mail-io1-f50.google.com with SMTP id u11so3114218iow.4 for ; Thu, 30 Apr 2020 14:37:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=CT0hvVO/ot3LuuNI5ta/pMrVDyfrzk04cxGKLy0tQMs=; b=SOTwsX6dFMIArdDah6IZQ9ggdRDEbKxdahMRmvNTuA44X30yQas92jMA9oImG6NmZO 0Xw9zkKTkLBF2pNPNj4Id2HtLWqqqv1C6B2393Qs+Si4OT76VKsPBhwTO19kgyWs2D9W FNHlscl9p3I2vd5NuxGroK7RKovL+cO9CzFzDYaCiZL3QZEENPXqle+LXVtY8qmhFvp5 n0ljHAIW/rWWEHlIgLM3JUo8IXjJXZB8TbMtcC2HfpYIMoMaU1ZySYuuvMKr1cb81Kgp LeqrwUa/1zepDy9WxKPEgunR2t3D63F4sdpyxMHN3Slt7wBJD9ucYQJGqkIU72qrJoEC S2IQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=CT0hvVO/ot3LuuNI5ta/pMrVDyfrzk04cxGKLy0tQMs=; b=OATznTIOjwvNE5of7Me6M7F1ZjKt/rEY583I2IsCeYrkrF1haWDLda/3931qGai/Pb w+yapAYO5SE2/yiy4DIXibGZnY+52R4DvZfes5gzgijBstdHUO6Dpk8GLNl0aJ01+6BK XkgE4b+udbxYOH1y7oyO7R05NEkNN+7Ti8LYJDs0L72PZ1aEeE2xoPLgMxb9u2sHU7YA l2Ko6JAEGXaX3ANffggUr5NH01TqTBZ1r6Pklj9gDmIDmiG2n0XDhw1CQl7wpCefLD6f j+v9Y0TZD1lIqNhFc25+qL6l7jzkA+p+Ti1xESEgGxn57BVbn4a5Xs5tfcIyjQ8CQNZE ecNg== X-Gm-Message-State: AGi0PubyypglXdpbb4ZqQ+WFYk2zw0Q2jZWDURBxSE+VNlt/gdzFpsXi ZqKp6y+c1Zohx3gJVvkudXtRcH4Vu7KUW21UNFhl0iET X-Google-Smtp-Source: APiQypK5el0Pv0AKslzGuJWDKmjOlmE4x2RnPC9KJb39K870RTMNByisBXzJSiWHiAcoINa0thuQ9xK3xB47xedsd/4= X-Received: by 2002:a05:6602:1695:: with SMTP id s21mr952742iow.40.1588282638525; Thu, 30 Apr 2020 14:37:18 -0700 (PDT) MIME-Version: 1.0 From: kumaraparameshwaran rathinavel Date: Fri, 1 May 2020 03:07:07 +0530 Message-ID: To: dev@dpdk.org, maxime.coquelin@redhat.com, yinan.wang@intel.com Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: [dpdk-dev] VIRTIO DPDK X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Hi All, We are using 16.04 version of DPDK and I am using the virtio driver in the guest VM which uses virtio_recv_mergeable_pkts in the rx_code path and I am thinking that there can be an infinite loop. Please let me know if this could happen and was there any bugs reported related to this and I see the log "*vring descriptor with no mbuf cookie at*" continuously which is invoked inside the function *virtqueue_dequeue_burst_rx. *Any pointers would be appreciated. My code looks like this, 1118 while (i < nb_used) { 1119 struct virtio_net_hdr_mrg_rxbuf *header; 1120 1121 if (nb_rx == nb_pkts) 1122 break; 1123 1124 num = virtqueue_dequeue_burst_rx(rxvq, rcv_pkts, len, 1); 1125 if (num != 1) 1126 continue; 1127 1128 i++; 1129 Thanks, Param.