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 8DF7DA034F; Tue, 8 Jun 2021 12:39:33 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7A4474067A; Tue, 8 Jun 2021 12:39:33 +0200 (CEST) Received: from shelob.oktetlabs.ru (shelob.oktetlabs.ru [91.220.146.113]) by mails.dpdk.org (Postfix) with ESMTP id 2456F4013F for ; Tue, 8 Jun 2021 12:39:32 +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 B6D4E7F5F5; Tue, 8 Jun 2021 13:39:31 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 shelob.oktetlabs.ru B6D4E7F5F5 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=oktetlabs.ru; s=default; t=1623148771; bh=+0nXKdzOUPwPJ8qPX9lb9aIbatO0Sr8MX26arcxXT5Q=; h=Subject:To:Cc:References:From:Date:In-Reply-To; b=M8UC3eVmpGuWeC7r6fng33U+Fln49J/tucfy/7N5v5P0iU0g6IC7sm0/qxBwJLX/r jk0TseCPGJNuze599UCtFa8dAugYKRm7GwxOBXq+zTyRAqB7HzsUujNKuoFQXwi9Lo n6f5PdYaldUyVM4NH2PE/5ek03cEtIuxh63lWQv8= To: Thomas Monjalon , "Min Hu (Connor)" Cc: dev@dpdk.org, ferruh.yigit@intel.com, aman.deep.singh@intel.com References: <1614906276-34293-1-git-send-email-oulijun@huawei.com> <1619054288-17556-1-git-send-email-humin29@huawei.com> <2e30c1c4-4b6b-336f-3a31-a84979b7150f@oktetlabs.ru> <2021092.ZKMin5vSrh@thomas> From: Andrew Rybchenko Organization: OKTET Labs Message-ID: <65e42e1c-8fb0-54f0-3bbb-daf4d19ac9af@oktetlabs.ru> Date: Tue, 8 Jun 2021 13:39:31 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.10.0 MIME-Version: 1.0 In-Reply-To: <2021092.ZKMin5vSrh@thomas> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH v13] app/testpmd: support multi-process 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/8/21 1:22 PM, Thomas Monjalon wrote: > 08/06/2021 10:42, Andrew Rybchenko: >> On 4/22/21 4:18 AM, Min Hu (Connor) wrote: >>> --- a/doc/guides/testpmd_app_ug/run_app.rst >>> +++ b/doc/guides/testpmd_app_ug/run_app.rst > [...] >>> +All the dev ops is supported in primary process. While secondary process is not permitted >>> +to allocate or release shared memory, so some ops are not supported as follows:: >>> +``dev_configure`` >>> +``dev_start`` >>> +``dev_stop`` >>> +``rx_queue_setup`` >>> +``tx_queue_setup`` >>> +``rx_queue_release`` >>> +``tx_queue_release`` >> >> @Thomas, @Ferrh, shouldn't it be handled on ethdev level as >> well if it is really that strict. > > Yes it should be documented at ethdev level, not testpmd. > I think it was kept fuzzy for too long. To document is good, but I'm talking about more - add checks in corresponding API functions and return error.