From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by dpdk.org (Postfix) with ESMTP id 5625F1B3F2; Mon, 5 Feb 2018 16:05:35 +0100 (CET) Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 9454C3B73C; Mon, 5 Feb 2018 15:05:34 +0000 (UTC) Received: from localhost.localdomain (ovpn-112-45.ams2.redhat.com [10.36.112.45]) by smtp.corp.redhat.com (Postfix) with ESMTP id 3A08A608F3; Mon, 5 Feb 2018 15:05:24 +0000 (UTC) From: Maxime Coquelin To: dev@dpdk.org, tiwei.bie@intel.com, yliu@fridaylinux.org, jfreimann@redhat.com, jianfeng.tan@intel.com, ferruh.yigit@intel.com Cc: stable@dpdk.org, Maxime Coquelin Date: Mon, 5 Feb 2018 16:04:55 +0100 Message-Id: <20180205150457.15543-1-maxime.coquelin@redhat.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.30]); Mon, 05 Feb 2018 15:05:34 +0000 (UTC) Subject: [dpdk-dev] [PATCH v4 0/2] vhost: IOTLB fixes 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: , X-List-Received-Date: Mon, 05 Feb 2018 15:05:35 -0000 First patch of the series fixes OOM handling from the IOTLB mempool, the second one removes pending IOTLB entry when the IOTLB miss request sending failed. Changes since v3: ----------------- - Fix 32bits compilation issue in error message in patch 2 (Ferruh) Changes since v2: ----------------- - patch 2: Fix error message with correct IOVA Changes since v1: ----------------- - Make log levels consistent (Tiwei) - Remove pending IOTLB entry of miss request seding failed (Tiwei) Maxime Coquelin (2): vhost: fix iotlb pool out-of-memory handling vhost: remove pending IOTLB entry if IOTLB MISS request sending failed lib/librte_vhost/iotlb.c | 20 ++++++++++++++------ lib/librte_vhost/iotlb.h | 3 +++ lib/librte_vhost/vhost.c | 13 ++++++++++--- 3 files changed, 27 insertions(+), 9 deletions(-) -- 2.14.3