From patchwork Mon Aug 22 04:31:24 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Jiang, Cheng1" X-Patchwork-Id: 115318 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 9CDAAA00C2; Mon, 22 Aug 2022 07:03:08 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 45D0D41132; Mon, 22 Aug 2022 07:03:08 +0200 (CEST) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by mails.dpdk.org (Postfix) with ESMTP id 07A5E410FA for ; Mon, 22 Aug 2022 07:03:05 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1661144586; x=1692680586; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=7RvLDGBeOhVdpj3fSj06WA50GoPBeOODmrw/KByXC9I=; b=SAwvAropau71hdCRC35sjkdjrOevHpCUZkVuRVzD42oVqL7pFB9tHT0l uSbzQ5zUjTkptT3e+k0igYC945Ym8PQwcUwc5s4q3CYjVAXCW6OYmdeiU D+AdopeZH0cWPF6iw4DDuZgBaOZ5np4ww6WEXR7rjbep9CcmyYppM6hyS LYUyx5hI/fn0P1dlnBRkYhvJDQw6IMWfSD+XBkXM7a9LBljHnhz4vsB+p edxyu/Z5y+35igMhpCuGdsuZ3WUW+7zj495sSbhDWecluHv+sigLIraL1 RlrSMY0aIucKbHNurXA5ny1k8zfcT9UMiukUi6HaMCeZWCAxc9eWBNbXs w==; X-IronPort-AV: E=McAfee;i="6500,9779,10446"; a="319353294" X-IronPort-AV: E=Sophos;i="5.93,254,1654585200"; d="scan'208";a="319353294" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Aug 2022 22:03:04 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,254,1654585200"; d="scan'208";a="585359677" Received: from dpdk_jiangcheng.sh.intel.com ([10.67.118.237]) by orsmga006.jf.intel.com with ESMTP; 21 Aug 2022 22:03:02 -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: [PATH 0/2] vhost: fix some async vhost index calculation issues Date: Mon, 22 Aug 2022 04:31:24 +0000 Message-Id: <20220822043126.19340-1-cheng1.jiang@intel.com> X-Mailer: git-send-email 2.35.1 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. 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