From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (xvm-189-124.dc0.ghst.net [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 368C1A09FF; Tue, 5 Jan 2021 22:15:18 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A406016077F; Tue, 5 Jan 2021 22:15:17 +0100 (CET) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [63.128.21.124]) by mails.dpdk.org (Postfix) with ESMTP id ABBA3160733 for ; Tue, 5 Jan 2021 22:15:16 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1609881316; 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=ubjqI4Wo3ig9IDMA0hokf0o6Mawgqz/0sfEj9ZjU5hk=; b=I2hdNHHq4CW3UXDVtqJwwdE8vRHg3UuwNxBdSLIJVCkq3rMtUDD9Ayprg0NrL2ptRfV7Yu ekI2a+uqVje+IttTXWNaqwvRR5VVL1vSYxf9NbZtDpAph8GCJw0HhMbioyq3FPMSG4DuL2 e4Z0iIXvTAMrBRMg0z4o3oaowlYH89o= Received: from mail-ua1-f71.google.com (mail-ua1-f71.google.com [209.85.222.71]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-584-ngIQxc9UNHCAE1bIYDVh5w-1; Tue, 05 Jan 2021 16:15:14 -0500 X-MC-Unique: ngIQxc9UNHCAE1bIYDVh5w-1 Received: by mail-ua1-f71.google.com with SMTP id x4so257213uav.15 for ; Tue, 05 Jan 2021 13:15:14 -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=ubjqI4Wo3ig9IDMA0hokf0o6Mawgqz/0sfEj9ZjU5hk=; b=NeDr55K/KyzuM6KAnNgegKAUFBtbWNvQkoxN6jquMkKMtNu634dW2mJUQPVOhzgMAn /qqzV9/hZbgbyrmU7HW1UsSTsp6n7RsEGBpr5afp58kLQJkMTychEANuKOUkcc0q1L6b /jOe8rl/asd0hrmM7gHcqFBsud4/Mj2nSOQGTOavOmQklumxfpEVHGvCIrIcwSQF1lNn ev5NHqunxJyltvW0w7QJcpA8xMgGewHgXPbVST3W4yWzxe3XWVPf551SmTOSW/lDXHuq G4+GqP8LlJrYcBbjm9Qaj3nBPkF+n+hbe8BBu1hyOK4xn3F9Hkczg/N673HhviFMOw4H YHyw== X-Gm-Message-State: AOAM533HGSMkao8UwdoWKz/0Mih41V5VPU4629mY6+3ELDwev9ED6wi5 Kn2FISjMjAORfskOlNQkjqbdiwrPnnQQsKI1G/PlHb1XygLzsH65UXhdrn9HaGj2sMOhakC+3/I YlwT/yVJgt7XaHLtK4eM= X-Received: by 2002:ab0:43a1:: with SMTP id l30mr1327883ual.126.1609881314136; Tue, 05 Jan 2021 13:15:14 -0800 (PST) X-Google-Smtp-Source: ABdhPJz3/QJ64dJgLVkv6B0QnhlbRvI8oARw6Lgx/Az40IBL0+yZOHzqvgYSXIMULVmg+JvRvz5XNqGNeUZdfSK3Knw= X-Received: by 2002:ab0:43a1:: with SMTP id l30mr1327872ual.126.1609881313957; Tue, 05 Jan 2021 13:15:13 -0800 (PST) MIME-Version: 1.0 References: <20201220211405.313012-1-maxime.coquelin@redhat.com> <20201220211405.313012-2-maxime.coquelin@redhat.com> In-Reply-To: <20201220211405.313012-2-maxime.coquelin@redhat.com> From: David Marchand Date: Tue, 5 Jan 2021 22:15:03 +0100 Message-ID: To: Maxime Coquelin Cc: dev , "Xia, Chenbo" , Olivier Matz , Adrian Moreno Zapata 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 01/40] bus/vdev: add helper to get vdev from eth dev X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 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 Sun, Dec 20, 2020 at 10:14 PM Maxime Coquelin wrote: > > This patch adds an helper macro to get the rte_vdev_device > pointer from a rte_eth_dev pointer. > > This is similar to RTE_ETH_DEV_TO_PCI(). > > Signed-off-by: Maxime Coquelin Reviewed-by: David Marchand -- David Marchand