From patchwork Tue Oct 11 03:08:01 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Jiang, Cheng1" X-Patchwork-Id: 117872 Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 6A02DA0544; Tue, 11 Oct 2022 05:46:01 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4D1AC40F19; Tue, 11 Oct 2022 05:46:01 +0200 (CEST) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mails.dpdk.org (Postfix) with ESMTP id EA37540146 for ; Tue, 11 Oct 2022 05:45:59 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1665459960; x=1696995960; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=o8tqZY+drP3QNaRVLzy8/lBscKlWR7muUdWDRZrLl7g=; b=nDFk58485bM/iiomK6imoMTHSaIrJEKwdWNH0pIyr0dFohtvah7En5r/ cELiGD2A06yNVSRzO6GXq377PTMWfTqEWu58giRwd9+rou/N/T2sbLpJv 05V0YEWoy60SQ7g4Ul+sydIvomN3b8UJTyE6B5M7xsYXjeLHtS5QG4tSY TKEKTC3czewbHRjNvjV5QGZcOZlUjQI89HspuQ6CP+ceJcAxMM222aatm 7u37w60qhYNq9HatBfjFes5WegHoVtO1Dw4KII6KdvSKZjEcpUCV/iGRX xB5CloAyx0umJX2lk6WFMuP4UCUcOWNixZViXgVNHRJGckWiyj0vDIduC w==; X-IronPort-AV: E=McAfee;i="6500,9779,10496"; a="330872909" X-IronPort-AV: E=Sophos;i="5.95,175,1661842800"; d="scan'208";a="330872909" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Oct 2022 20:45:55 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10496"; a="730809822" X-IronPort-AV: E=Sophos;i="5.95,175,1661842800"; d="scan'208";a="730809822" Received: from dpdk_jiangcheng.sh.intel.com ([10.67.118.237]) by fmsmga002.fm.intel.com with ESMTP; 10 Oct 2022 20:45:52 -0700 From: Cheng Jiang To: maxime.coquelin@redhat.com, chenbo.xia@intel.com Cc: dev@dpdk.org, jiayu.hu@intel.com, xuan.ding@intel.com, wenwux.ma@intel.com, yuanx.wang@intel.com, yvonnex.yang@intel.com, xingguang.he@intel.com, Cheng Jiang Subject: [PATCH v2 0/2] vhost: fix some async vhost index calculation issues Date: Tue, 11 Oct 2022 03:08:01 +0000 Message-Id: <20221011030803.16746-1-cheng1.jiang@intel.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220822043126.19340-1-cheng1.jiang@intel.com> References: <20220822043126.19340-1-cheng1.jiang@intel.com> MIME-Version: 1.0 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Fix some async vhost index calculation issues. v2: fixed fixes tag and replaced some words in commit message. Cheng Jiang (2): vhost: fix descs count in async vhost packed ring vhost: fix slot index calculation in async vhost lib/vhost/virtio_net.c | 40 +++++++++++++++++++++++++++++----------- 1 file changed, 29 insertions(+), 11 deletions(-) --- 2.35.1