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 C057DA0A0C; Thu, 1 Jul 2021 16:33:38 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id AC291412FB; Thu, 1 Jul 2021 16:33:38 +0200 (CEST) Received: from shelob.oktetlabs.ru (shelob.oktetlabs.ru [91.220.146.113]) by mails.dpdk.org (Postfix) with ESMTP id 1FD0D412FA for ; Thu, 1 Jul 2021 16:33:38 +0200 (CEST) Received: from [192.168.38.17] (aros.oktetlabs.ru [192.168.38.17]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by shelob.oktetlabs.ru (Postfix) with ESMTPSA id B44D67F510; Thu, 1 Jul 2021 17:33:37 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 shelob.oktetlabs.ru B44D67F510 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=oktetlabs.ru; s=default; t=1625150017; bh=UuVU4KjgEnQcbr27ZWdG6w1rmh2jRSxZNjRfGDzjpMU=; h=Subject:To:Cc:References:From:Date:In-Reply-To; b=VlDhO9iYrGimQKcl1GYL9+abj9MWgbGP4OFQ/aexpz9kRmiwgabPi0rQpRU+bXWdv cJztupUXWAHlBwU1t8GfN74axGdZNw7AXDF3/C8ovVsl/fuk02Zc9zKI9kbBcwGsLX tkJ1kkvL514hFOMMnDroE2Zc7/e8yJLWV0XBcAbE= To: Heinrich Kuhn , dev@dpdk.org Cc: Simon Horman References: <20210609140814.76977-1-heinrich.kuhn@netronome.com> <20210609140814.76977-2-heinrich.kuhn@netronome.com> From: Andrew Rybchenko Organization: OKTET Labs Message-ID: <2cff3ee5-805a-b6c9-52e6-9c9ee26a9d8b@oktetlabs.ru> Date: Thu, 1 Jul 2021 17:33:37 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: <20210609140814.76977-2-heinrich.kuhn@netronome.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH v2 2/2] net/nfp: fix PF secondary process probing 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 6/9/21 5:08 PM, Heinrich Kuhn wrote: > This patch creates a new function for handling PF probing of a secondary > process. A CPP handle is obtained for the CPP bridge service and the > service itself is also registered during secondary process > initialization. DPDK services aren't shared between processes so it is > not enough to only have the primary register the service if it is also > needed in a secondary process. This implies that both the primary and > secondary will have their own copy of the bridge service. > > Fixes: 5e15e799d697 ("net/nfp: create separate entity for PF device") > > Signed-off-by: Heinrich Kuhn > Signed-off-by: Simon Horman Cc: stable@dpdk.org Applied, thanks