From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 15693A04C2; Mon, 25 Nov 2019 13:36:40 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id D7B7B2BCE; Mon, 25 Nov 2019 13:36:39 +0100 (CET) Received: from us-smtp-delivery-1.mimecast.com (us-smtp-1.mimecast.com [205.139.110.61]) by dpdk.org (Postfix) with ESMTP id B6D352BCE for ; Mon, 25 Nov 2019 13:36:38 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1574685398; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=wZtUtJ7B//LyN0op1PGoaHshfd2OMYGBCFwIsgqB/p8=; b=OrojfXzkWmn/8pVQj/ha/YAE+UJWzfQPT/TSJVJMnAKjXdPv8B5mv7X2uOneBMjnn8xOaI m8wDXBWL8QDCwFEDVcZlNBkTjJIG3pZgQlrwpQ6iYN85QRxMBwoJm79wF96h6XA9eTs5mR 0QeLBMUnTO5yTydseHB2EUc5Hxs2H/o= Received: from mail-ua1-f69.google.com (mail-ua1-f69.google.com [209.85.222.69]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-174-cLWQGVKCOD2g7XGd1rnABw-1; Mon, 25 Nov 2019 07:36:35 -0500 Received: by mail-ua1-f69.google.com with SMTP id c12so2710470uap.18 for ; Mon, 25 Nov 2019 04:36:35 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=lIYd5pa5l7M3j5kM2O3uZAoGocGNmoLP4UxsOS74tgw=; b=f4NyseLrWGXYRnGHygcP4vH9ihYEFfPuIGbORZi2VKxFgYGRya7k80+eEVqZcVU9/B bCQMFiZuZ6g40C7+XAzlSM8EQgYF88Ch2HmdYe9prqc41M7CaBmuLj4QB/3AjWH6/WV5 EKVIcMFE4AY812XPDIlenms4AuiZq7K70FLdXB8mMe01KPBViyVeUvGJNh0QkZOrY1S/ hgsGnLmio5n9TRwO57uY5Q50SQotsxLbuXVt2De5zotUtFSCU2RDYb0XAK27d0a12ZqU rIZRolO7Zs4w4HMl+AU3EPlOnMK4YTzltltbAtwx6dsdHeAgnORDjaHKSJBnLCoY5oum pKVA== X-Gm-Message-State: APjAAAWDfN/uzzIa4X1PgHGypnxGBgU54VdKy4k5fCc7s15kvdgHOLR3 6uV1+toBztc9Cd6buqZMjg1IB30oapBOnxhAard8XCaotQwGfbIPc+9DFMkRSZHcI7ZyoD3QCqX fzxM/eYmnAjizJ3ZTLEg= X-Received: by 2002:a1f:9553:: with SMTP id x80mr18127906vkd.39.1574685394310; Mon, 25 Nov 2019 04:36:34 -0800 (PST) X-Google-Smtp-Source: APXvYqw12UHUQ22xgrASjj7k5qwrgODGvRtjbp7R+5xzqXwOs1SyP8MOgKvXPH8hv9gzIls5Sgqp5gt8fZD0yw90ITI= X-Received: by 2002:a1f:9553:: with SMTP id x80mr18127865vkd.39.1574685393808; Mon, 25 Nov 2019 04:36:33 -0800 (PST) MIME-Version: 1.0 References: <1563800213-29839-3-git-send-email-david.marchand@redhat.com> <20191125093313.61700-1-ferruh.yigit@intel.com> <9486799.kn5VEkfAUu@xps> <7d735fc8-a80c-3517-8d8e-8eced554d13f@intel.com> In-Reply-To: <7d735fc8-a80c-3517-8d8e-8eced554d13f@intel.com> From: David Marchand Date: Mon, 25 Nov 2019 13:36:22 +0100 Message-ID: To: Ferruh Yigit Cc: Thomas Monjalon , Ajit Khaparde , Alejandro Lucero , "Burakov, Anatoly" , Beilei Xing , Bruce Richardson , dev , Hyong Youb Kim , Igor Russkikh , Jerin Jacob Kollanukkaran , Jingjing Wu , "Mcnamara, John" , John Daley , Kiran Kumar Kokkilagadda , "Ananyev, Konstantin" , "Kovacevic, Marko" , Matan Azrad , Nithin Dabilpuram , Pavel Belous , Qi Zhang , Qiming Yang , Rasesh Mody , Shahaf Shuler , Shahed Shaikh , Somnath Kotur , Viacheslav Ovsiienko , Wenzhuo Lu , Xiao Wang , Yongseok Koh X-MC-Unique: cLWQGVKCOD2g7XGd1rnABw-1 X-Mimecast-Spam-Score: 0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [dpdk-dev] [PATCH v4 2/4] eal: fix IOVA mode selection as VA for PCI drivers 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Mon, Nov 25, 2019 at 1:03 PM Ferruh Yigit wrote= : > >> I would like to get your comment on the issue. > >> > >> For the OvS mode, hopefully binding the device to 'vfio-pci' > >> can be a solution, but for the cases we don't have that option, > >> can/should we force the DPDK to PA mode after initialization? > > > > I think this is expected, because VA is the new default since 19.08: > > http://doc.dpdk.org/guides/rel_notes/release_19_08.html#new-features > > > > In case, there is no constraint on initialization, > > we have to decide which mode is preferred. > > Previously PA was preferred. > > For the sake of modernity (and because it fits with some new devices), > > the preference has been changed to VA. > > > > If igb_uio device is used at initialization, > > the PA mode should be used. > > If igb_uio (PA-only) device is hotplugged, no luck! > > If VA-only device is hotplugged, it works! > > > > I think this change is one step in deprecating igb_uio. > > > > I just want to confirm/clarify that this behavior change is by design, no= t a defect. > Should we document this behavior change more clearly, or highlight more, = to not > let catch others too? The behavior change happened with: https://git.dpdk.org/dpdk/commit?id=3Dbbe29a9bd7ab6feab9a52051c32092a94ee88= 6eb And there is an entry in the 19.08 release notes: http://doc.dpdk.org/guides/rel_notes/release_19_08.html#new-features --=20 David Marchand