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 09DB4A050A for ; Wed, 13 Apr 2022 10:11:06 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4CAB94281F; Wed, 13 Apr 2022 10:11:05 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mails.dpdk.org (Postfix) with ESMTP id 188024281D for ; Wed, 13 Apr 2022 10:11:03 +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-f72.google.com (mail-lf1-f72.google.com [209.85.167.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-296-hvPzopFLMIerheHH8Et2HA-1; Wed, 13 Apr 2022 04:11:02 -0400 X-MC-Unique: hvPzopFLMIerheHH8Et2HA-1 Received: by mail-lf1-f72.google.com with SMTP id p6-20020a056512138600b0046b9141a66dso603715lfa.22 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=2vdwolW/RKV9DQg4+p5F1IixSBA0aCBRHFH9UMtjhveXyTFa4k/nyfhH++eo4ECwIP EgANA811+RkYwBC8ddqcfsTjL4dUEb+BeojsQBc0XVkTQTCgZyYMdTavfCiwIsbyuZp+ cuxCLQQHvfJqWyK9OHJJthtJ0pDgfObUDS3lLY4oJKeDT36yqLzONKcs9YK/oVr+RFzl qwGOl/6FTtz81TJMz5YWt9nGaedrqZrwv9wI1ELSiANmGyIXUSKBSujOR6Fq27NKCkjl 3ottSDV7tEAqSRBRRx1tn07UnUw0KKL0t7A0BbCo/dUepZOSajQGdlhKxhqL+mwKDHAJ WisA== X-Gm-Message-State: AOAM532PVrAPfPiOKI6k0qTqfNJStzWDs/IXMzxzlaKdWyW4aGak+CV4 Xm25X4tCr86UcAANvDtUwlp02xnsr7I9laqJW7kouHlwwBx980MdJVHCCJuO3uvn9q9Xr3K1K9H AF1MVIacAvKvlNCkKGg8TEqY= X-Received: by 2002:a05:6512:3f8c:b0:45d:cb2a:8779 with SMTP id x12-20020a0565123f8c00b0045dcb2a8779mr28482979lfa.499.1649837460489; 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: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-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