From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id D3682A0508; Wed, 13 Apr 2022 10:11:37 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7005042817; Wed, 13 Apr 2022 10:11:06 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mails.dpdk.org (Postfix) with ESMTP id 2A7134281E for ; Wed, 13 Apr 2022 10:11:04 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1649837463; 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=ceOGZ7yHT+k246D9yG7Fmn/scNnN4KfeDKMdqioVclQ=; b=bjDtnzWBKL5pFG7q9HA479L/VNhTomsyFNLhJVVA7BTxB1tvQBJJA0D89NuTvoPyHgSaIq yYXQb/EYogXR5P0lt6q3FWFpZTr9UCvQAMmaS1O0wewGGUm2mgRheoGBa0TAap1ST8Xo+G HwjlK76HxSdiI0jFkiF8erp7X4uQ+Dg= Received: from mail-lf1-f71.google.com (mail-lf1-f71.google.com [209.85.167.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-495-D-Ab7RAuOxi77tGosNT15Q-1; Wed, 13 Apr 2022 04:11:02 -0400 X-MC-Unique: D-Ab7RAuOxi77tGosNT15Q-1 Received: by mail-lf1-f71.google.com with SMTP id n2-20020a0565120ac200b0044a2c76f7e1so603306lfu.5 for ; Wed, 13 Apr 2022 01:11:01 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ceOGZ7yHT+k246D9yG7Fmn/scNnN4KfeDKMdqioVclQ=; b=qJ8nWJ2dFG3Slm6B70yBltIFZ+HbP6UVZkZ4OtWEeKUbkCDgxfLFXmOHPTRsVg/DN5 mEViPVIIPJgfqLLzR9sH0GWO+1xwpKHj/a2PBlNp50bF2ScVxiHSqnKg1F3hfTrbDzL9 O7PUtsGmeg2tGgNhy0Sd+EeD/zEDRhMHOmZ121snwYvVg4oto3WGElxd7tQILJ2tYAew a9IZiJTldOUWFf+OKgXfuDyKVybm/aWpNAzx0OkLHupbKh80t4TQfy1sDPL+p1RhhBr3 fsmo+H83Ua2pkoNxSQ3rv+71q/APW72dgcdOhMSDRd2lFVBmSmWo32AGVpDbC0Ex5WlG WyEA== X-Gm-Message-State: AOAM530g8JRM5o0QKY5/DHK/iN+vev+m4UZ0Lv+F8sZykej9nnL+F3GK g2S/WOIxuGDtrUmPHnNJGZR5ALFvlNhR+3BRBF/IKcjzwGGEiZhmNS0fOwAp27dWJqIxR8R6Edb RqZYtdSL4eY5kInt2m2c= X-Received: by 2002:a05:6512:3f8c:b0:45d:cb2a:8779 with SMTP id x12-20020a0565123f8c00b0045dcb2a8779mr28482977lfa.499.1649837460487; Wed, 13 Apr 2022 01:11:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxvkSjXPZ4uB6RrkxNZKHuiJio17bc7r+4gEOWh7QvOkani735u8jP243za4R1VGm96OR8Nuc6ANUYh4KlY3jc= X-Received: by 2002:a05:6512:3f8c:b0:45d:cb2a:8779 with SMTP id x12-20020a0565123f8c00b0045dcb2a8779mr28482965lfa.499.1649837460247; Wed, 13 Apr 2022 01:11:00 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: David Marchand Date: Wed, 13 Apr 2022 10:10:48 +0200 Message-ID: Subject: Re: [PATCH] vmbus: get current rte_vmbus_bus struct To: Abdelfattah Chehab Cc: "dev@dpdk.org" , "stable@dpdk.org" 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" 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 On Wed, Apr 13, 2022 at 9:32 AM Abdelfattah Chehab wrote: > > Hi All, > > FOREACH_DEVICE_ON_VMBUS needs rte_vmbus_bus to work on > > If static link to libdpdk.a : no issues > > If dynamic link to *.so: linker issue, global variable not found. Not sure I really get your usecase, but this probably is a linking issue on your side. -- David Marchand