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 A88A542BF1; Mon, 5 Jun 2023 15:09:33 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9A78640DF6; Mon, 5 Jun 2023 15:09:33 +0200 (CEST) Received: from agw.arknetworks.am (agw.arknetworks.am [79.141.165.80]) by mails.dpdk.org (Postfix) with ESMTP id 75E894003C for ; Mon, 5 Jun 2023 15:09:32 +0200 (CEST) Received: from debian (unknown [78.109.69.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by agw.arknetworks.am (Postfix) with ESMTPSA id CAA2AE0E15; Mon, 5 Jun 2023 17:09:31 +0400 (+04) Date: Mon, 5 Jun 2023 17:09:31 +0400 (+04) From: Ivan Malov To: dev@dpdk.org cc: Andrei Izrailev , Ferruh Yigit , Thomas Monjalon Subject: Getting network port ID by ethdev port ID Message-ID: MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII 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 Dear community, Is there any means in DPDK to discover relationship between network/physical ports of the given adapter/board and etdevs deployed in DPDK application on top of it? For example, in Linux, there are facilities like > /sys/class/net//phys_port_name > /sys/class/net//dev_port and > devlink port show Do we have something similar in DPDK? If no, would the feature be worthwhile implementing? Interested to hear your input on this. Thank you.