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 2BE05A034E; Thu, 20 Jan 2022 16:49:57 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id ADF9342703; Thu, 20 Jan 2022 16:49:56 +0100 (CET) Received: from mail-pl1-f173.google.com (mail-pl1-f173.google.com [209.85.214.173]) by mails.dpdk.org (Postfix) with ESMTP id D8D6C40042 for ; Thu, 20 Jan 2022 16:49:55 +0100 (CET) Received: by mail-pl1-f173.google.com with SMTP id c3so5516416pls.5 for ; Thu, 20 Jan 2022 07:49:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20210112.gappssmtp.com; s=20210112; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=X0Pw7Cq8Obx9RXm7s3LiQ3rJGXgWQIGlDpTc0WIP+Xc=; b=fxZYfNoCuk3R3Oz2y+pwXgsCbMBrUXTm+vg032g9uOsvjoT6nvxF7xfSMVNZeT3ePU WNvDkR4a/arpR/loP98oZexxAtoeeM7wWSBSl+6MgS+I7lkACdHPjeK68EIW6FmpPJc+ NI39+2i/c6mrJxI/V7ZMCdlb1jt6eSUAipYvXqW0DYU9138yJ7gR0BhQHYJeKGYgAVRm +2Vg3ljuHAvYQajsFpkpY9gK6LTuHBooiBiSfAJXMJNyABoPrF/ziC0OK6JkUz0G7Cjl z4Bdts9Ve1vjp8TFAcFAtRR0dW3aBNJsW6Xm6kAOEiY3T5elsCCUyNEE18pZUf4GVlB8 MmWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=X0Pw7Cq8Obx9RXm7s3LiQ3rJGXgWQIGlDpTc0WIP+Xc=; b=2V+7LP/mBGgEU0n2/YpTpgdoiG2vsZgOZf+sO4txWOLkEuL+Z9+HPc7EAtHTRP3flf nU+7pphpoYOgD1z/J84QurMSz4rQzDujvoJ0BDAlZOIGQFC1rAK6KKBE4ik4ZlaqSN+I T0Q/f/28fypSuS1LEOfXaOBd3cv5JC+XP3SZLmQDlSKhMCHiLmmtjSA0ldWCFYf30Li/ 3yxZFqxnl+ntV6xg8EUs+OyXe82bYyCC2aARGSaeT5ngXHyQUkb/sDOW5BsZ7pRKGOE+ 20sQMj8VSjqKxrQ8ZnlrWRm6VGSkjRxx9TC7FU5PDRbxT5dcFC5BsjsN9eMzFu2rO/eX dKCQ== X-Gm-Message-State: AOAM532qpqctHICo2SShGq6poA0MXVnDmgyVjx2f3N8fQ0cZYeCVkskt Q7tIsmL1YZKVFAkDJSQOTs/dkQ== X-Google-Smtp-Source: ABdhPJxfe5ofEse+SCNewBqM1HLP3lw+5GdAeZ0ZKq4lBzW0i1MWcdWGuI8UBmYVqFfqix6Vlw8+Vw== X-Received: by 2002:a17:90a:8808:: with SMTP id s8mr11414534pjn.9.1642693795053; Thu, 20 Jan 2022 07:49:55 -0800 (PST) Received: from hermes.local (204-195-112-199.wavecable.com. [204.195.112.199]) by smtp.gmail.com with ESMTPSA id k11sm4139514pfu.180.2022.01.20.07.49.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 Jan 2022 07:49:54 -0800 (PST) Date: Thu, 20 Jan 2022 07:49:52 -0800 From: Stephen Hemminger To: Kumara Parameshwaran Cc: ferruh.yigit@intel.com, dev@dpdk.org, Kumara Parameshwaran Subject: Re: [PATCH] net/tap: Bug fix to populate fds in secondary process Message-ID: <20220120074952.3d01fd4f@hermes.local> In-Reply-To: <20220120111215.76058-1-kumaraparamesh92@gmail.com> References: <20220120111215.76058-1-kumaraparamesh92@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 Thu, 20 Jan 2022 16:42:15 +0530 Kumara Parameshwaran wrote: > +/** > +* Get rte_eth_dev from device name. The device name should be specified > +* as below: > +* - PCIe address (Domain:Bus:Device.Function), for example- 0000:2:00.0 > +* - SoC device name, for example- fsl-gmac0 > +* - vdev dpdk name, for example- net_[pcap0|null0|tap0] > +* > +* @param name > +* pci address or name of the device > +* @return > +* - rte_eth_dev if sucessful > +* - NULL on failure > +*/ > +struct rte_eth_dev* > +rte_get_eth_dev_by_name(const char *name); Needs to be marked internal and/or experimental.