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 2A0D823B; Mon, 29 Jan 2018 17:31:07 +0100 (CET) Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 75EE7C05686E; Mon, 29 Jan 2018 16:31:06 +0000 (UTC) Received: from localhost.localdomain (ovpn-112-21.ams2.redhat.com [10.36.112.21]) by smtp.corp.redhat.com (Postfix) with ESMTP id 5D13D60C90; Mon, 29 Jan 2018 16:30:59 +0000 (UTC) From: Maxime Coquelin To: dev@dpdk.org, tiwei.bie@intel.com, yliu@fridaylinux.org, jfreimann@redhat.com, jianfeng.tan@intel.com Cc: stable@dpdk.org, Maxime Coquelin Date: Mon, 29 Jan 2018 17:30:38 +0100 Message-Id: <20180129163040.9560-1-maxime.coquelin@redhat.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.32]); Mon, 29 Jan 2018 16:31:06 +0000 (UTC) Subject: [dpdk-dev] [PATCH v3 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, 29 Jan 2018 16:31:07 -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 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