From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pg1-f195.google.com (mail-pg1-f195.google.com [209.85.215.195]) by dpdk.org (Postfix) with ESMTP id 99D671B4DC for ; Thu, 2 Aug 2018 19:09:41 +0200 (CEST) Received: by mail-pg1-f195.google.com with SMTP id h12-v6so1510220pgs.3 for ; Thu, 02 Aug 2018 10:09:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=CgMbSewnToepgEaSewi/33OHO9SO5HdpSzbgKMAiJDk=; b=qkxGDlCvRWerzJbQ+wCET2sqwlt8ngpCn2vD4cUBCuVKv72r2pKA43tGUrNAN8/SG/ Zs0m9NBfRLFkf3QRiJBrbKE4VoH9xC/Q0JiqNtc5GRyqoVHPorMTRH3don19MnYuDVdv PiPQLWXlChp+Nt/HyMRJgzaoU/8lAVnY6xzVXBwi1YCC2pMJksZ/VdfiAtr0fyGWOudb K47dq/eIr1hP1Rdr6r7YkCitxAx/2bG7aACtTXxqa2QCjjUNnPCLqkere32mzPbbggQZ Dl55IEVYxvFB6HB8rwvZUZQRYZnWsNZiVPtoeq3J+nYk1v/hIp4qDN4uYVD7yNCsafjp OwTA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=CgMbSewnToepgEaSewi/33OHO9SO5HdpSzbgKMAiJDk=; b=UD9sbLL3x9OhHm4vQ1TXYigV1wJU/wJc/XBeFJnr4scXBCgDHA/iQUyMNltpz8KrTi 0ya4O6Bc+yI2h595eXuG5wIx5sL1H2fwvJgrfDmSjOt/m+ToMwRul4vQKMNUSmQWguAG R1GDNXJiQtOZgx/tXO5EyeEtTSeDIJRyg17chB2AGEiYjVqx0uDc8Il/tVbxxm8EumsG Q0NV4unSCdtnn27K1EQZBc8wtFJkhRbr3V++lmaKvjJqHZdlwOOQ7ShulTellhWeRBl/ 3nUbMn2i8lAeLYNICgrL8yoR6mu1tmXp1T5rFERvrZjjvdmCailaSKGXSK1bg29yyNv0 +qSA== X-Gm-Message-State: AOUpUlFrzRT3h0sBiRAp64sGGzs4L5dsrz6zEX7S84cysGLOnhMu5FRE IUo4ir5jvv+Fr/WSu+HByTbLPA== X-Google-Smtp-Source: AAOMgpehZdQT82bMxxM4VHgw59Gc5wPfgh31B2rD+jz8gCnzQae4I23fkm+Pw3Tend0JWKfMBaaUKA== X-Received: by 2002:a63:7558:: with SMTP id f24-v6mr315805pgn.314.1533229780693; Thu, 02 Aug 2018 10:09:40 -0700 (PDT) Received: from xeon-e3 (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id i13-v6sm2664681pgo.75.2018.08.02.10.09.40 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 02 Aug 2018 10:09:40 -0700 (PDT) Date: Thu, 2 Aug 2018 10:09:30 -0700 From: Stephen Hemminger To: Maxime Coquelin Cc: tiwei.bie@intel.com, zhihong.wang@intel.com, jfreimann@redhat.com, dev@dpdk.org, stable@dpdk.org Message-ID: <20180802100930.230e0b14@xeon-e3> In-Reply-To: <20180802163727.5376-1-maxime.coquelin@redhat.com> References: <20180802163727.5376-1-maxime.coquelin@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH] vhost: flush IOTLB cache on new mem table handling 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: Thu, 02 Aug 2018 17:09:42 -0000 On Thu, 2 Aug 2018 18:37:27 +0200 Maxime Coquelin wrote: > > +void > +vhost_user_iotlb_flush_all(struct vhost_virtqueue *vq) > +{ > + vhost_user_iotlb_cache_remove_all(vq); > + vhost_user_iotlb_pending_remove_all(vq); > +} > + Wrong indentation, you don't want two tabs here, only one.