From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lf0-f52.google.com (mail-lf0-f52.google.com [209.85.215.52]) by dpdk.org (Postfix) with ESMTP id 7AE21DED for ; Mon, 30 Apr 2018 10:07:09 +0200 (CEST) Received: by mail-lf0-f52.google.com with SMTP id m18-v6so10990229lfb.0 for ; Mon, 30 Apr 2018 01:07:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=semihalf-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=24HGka1pOstXuRL5lVqV2fXn9UUd/vSJhxUtmJQL7Vo=; b=dor7KdY4027qP6OugnZnr7vhN4/8HkpqiaSi+QSWLxW17+D5+4xHubpUZA0J4t10KM yQIPjf3cMuTlrQOWRQh5aZ2VIdB2JZ20murUCj7qcWgeGzN9hn4Nz7aIwrExjcCA1pO3 fxSF5cK9BHqjKS7pBsUodu5RGy9hiwW0Ym1/6Cr8MpURNjQa4/CIaVFlWXrXe+54NrMD 13nYwOWcV5RJ5pxKjoxk9fjpRVHgKRYZiG1rEdhuda2X576T7MUPX5+n0Cg8+qHXU/FC 4NwrFABC9Y460+7o9X1dqMIbuASDQ9Y9+rpXav7zySHNRgbGKSv6Gf8s5r20oqSnqFv8 J8mw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=24HGka1pOstXuRL5lVqV2fXn9UUd/vSJhxUtmJQL7Vo=; b=UGRsbWrHYruevMiD4Hy+lAftKa7Nz8OaUa1+IuuY8US7bbo+u2bKqNJ5sDGcjCyPbf vG0vfHEvaVBJa+OylqKYDJKZUx7AwtMAwhJXtaHe8hT/bLecDx0L6Nd+fmUAq3iS7iL0 dBqtuj/iBzDIMh6fgPm585yBFM8q/slhq0M+9xOo5t44w0JaWW73f/lGnYWWZZ1FDc4n s0bvSMQAMgeCUV1g86lYsvAQAhfDQku22Oq97olmAWE1fBIuqNUb9a5GMPPvcCeKf8Ns t+xm5GsECn1sZwAnMFfgrLQJ2xIFCae0H8R+SSst0yueixcPg/rtCaRosccZhu9NT/Ec 9G6Q== X-Gm-Message-State: ALQs6tD6Ps/DOg0TZfzULNy+IHpyvwRVVtq0zyGywihjG4aNcxTPYI7u 8nqWQXMdutc6D3w97BfOABdY+oHZxXC2WoDA2JIwzg== X-Google-Smtp-Source: AB8JxZoRsWWljvSp+78TPp5lbErei5kHeUbrbhmKSjsdPgnm/UQNhSb2chAKSGgnLe5don82kajnlacEKweO52z8q0Q= X-Received: by 2002:a19:4b41:: with SMTP id y62-v6mr6923877lfa.11.1525075628518; Mon, 30 Apr 2018 01:07:08 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a19:7013:0:0:0:0:0 with HTTP; Mon, 30 Apr 2018 01:07:07 -0700 (PDT) In-Reply-To: <20180427113030.GA101968@bricha3-MOBL.ger.corp.intel.com> References: <1523455637-31719-1-git-send-email-rk@semihalf.com> <20180411144251.GA33124@bricha3-MOBL.ger.corp.intel.com> <20180427113030.GA101968@bricha3-MOBL.ger.corp.intel.com> From: =?UTF-8?B?UmFmYcWCIEtvemlr?= Date: Mon, 30 Apr 2018 10:07:07 +0200 Message-ID: To: Bruce Richardson Cc: dev@dpdk.org, Marcin Wojtas , =?UTF-8?Q?Micha=C5=82_Krawczyk?= , "Tzalik, Guy" , evgenys@amazon.com, "Matushevsky, Alexander" , "Chauskin, Igor" , Ferruh Yigit Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] [PATCH 0/4] support for write combining 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, 30 Apr 2018 08:07:09 -0000 Hello Bruce, It should work because decision about kind of mapping is made in patch 3 based on PMD request. ENA use only one BAR in wc mode and two other without caching, therefore not making remap in igb_uio rather not spoil anything. I added patch 1 because this variable is provided also outside the DPDK to Linux generic functions. I cannot test it with all drivers, therefore I make it configurable. But general combination of wc and not wc PMD should work, because of patch 3. Also if WC is enabled by PMD (like in patch 4) not all BARs will by mapped, but only those which has prefetchable flag enabled. Best regards, Rafal Kozik