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 4D343A00BE; Tue, 7 Jul 2020 14:05:54 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 1B9031D6D7; Tue, 7 Jul 2020 14:05:53 +0200 (CEST) Received: from us-smtp-delivery-1.mimecast.com (us-smtp-2.mimecast.com [207.211.31.81]) by dpdk.org (Postfix) with ESMTP id B7F291D6AB for ; Tue, 7 Jul 2020 14:05:51 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1594123551; 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: in-reply-to:in-reply-to:references:references; bh=iy2w+7bPoLktsqpcBpFbos0Y39wm5IYR7TtAgqYaIvw=; b=Yb35iztEAB3BY9VpQppxrsArW+Sgy6qnEWy34yhQz5u64rc/U49/hyWclhQKs8a6mGuqd/ sW3IEoiZ0hja3bpIbwimkIhTj0/qfP/0DdMGjeV2eKiBersfRJmEMNuYSz1PKC6+/5EXVK WaYs0B312Qk8zywfmvS2G5SA2vQCFEE= 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-223-zi7MAnBMO9eX2blCh6pc2w-1; Tue, 07 Jul 2020 08:05:49 -0400 X-MC-Unique: zi7MAnBMO9eX2blCh6pc2w-1 Received: by mail-ua1-f69.google.com with SMTP id c14so3654uap.16 for ; Tue, 07 Jul 2020 05:05:49 -0700 (PDT) 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=iy2w+7bPoLktsqpcBpFbos0Y39wm5IYR7TtAgqYaIvw=; b=hyltDYXuEi73YBFk/Y0gboH3WuE6EqjwbjBlLO+dTY/oPvBWiv2Y1bjKB+3i8JUasY vOa385XtZJv8xEafZI3tVEsVbpRKVVRNv9KfKTKanfYwn6HTbvz3sLRsgrLEy0s+W74R GgCuwxGqOiByZDoatKpZJeeSud+jWPdPwGtiH87zNxRlM2ugPdRQ3X+/1FhTmmBtCPM4 KrzgIRMetRThabDwriUG54VRyqCWrEVwLykQBRIRVfkrQS9kbT/9TY9V4aALXF+YuKg6 btRrnPfzYqZshXgRAa2GZKOjX76hwC464auvSfwEC0Z9SX1h+n1iSyTsyAhtP9o6dRRm x3Ig== X-Gm-Message-State: AOAM530BGzwXgv2RAIZvztiFvPw9lftfGMO0VLv91hxrnMK+pNR6+0MK HkqjFPF/Yzk9utxgCXTF/AAZeHBo3UJKaRCbgyEBq0tRPCHIPSKB+QtYp2LV/P7reeXgW9CKP/j RWpmA2/VloJQyYuOPrRg= X-Received: by 2002:a1f:acc2:: with SMTP id v185mr767425vke.18.1594123548908; Tue, 07 Jul 2020 05:05:48 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxPlu1Ij0xtCj944Kes8iZ1hftCInAB3FCRir234yWJdhyzNPMFIhqhbQQYoTEvbpBK5/vrJ1jggRO7zuDVNB8= X-Received: by 2002:a1f:acc2:: with SMTP id v185mr767403vke.18.1594123548654; Tue, 07 Jul 2020 05:05:48 -0700 (PDT) MIME-Version: 1.0 References: <20200305043311.17065-1-vattunuru@marvell.com> <20200703145718.81017-1-haiyue.wang@intel.com> <20200703145718.81017-3-haiyue.wang@intel.com> In-Reply-To: <20200703145718.81017-3-haiyue.wang@intel.com> From: David Marchand Date: Tue, 7 Jul 2020 14:05:37 +0200 Message-ID: To: Haiyue Wang Cc: dev , "Burakov, Anatoly" , Thomas Monjalon , Jerin Jacob Kollanukkaran , Andrew Rybchenko , Harman Kalra Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=dmarchan@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] [PATCH v17 2/2] eal: support for VFIO-PCI VF token 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 Fri, Jul 3, 2020 at 5:05 PM Haiyue Wang wrote: > > The kernel module vfio-pci introduces the VF token to enable SR-IOV > support since 5.7. > > The VF token can be set by a vfio-pci based PF driver and must be known > by the vfio-pci based VF driver in order to gain access to the device. > > Since the vfio-pci module uses the VF token as internal data to provide > the collaboration between SR-IOV PF and VFs, so DPDK can use the same > VF token for all PF devices by specifying the related EAL option. > > Signed-off-by: Haiyue Wang > Acked-by: Anatoly Burakov > Acked-by: Andrew Rybchenko > Tested-by: Harman Kalra Series applied, thanks Haiyue. -- David Marchand