From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 142FCA0588; Thu, 16 Apr 2020 19:20:05 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id E3C901DDCA; Thu, 16 Apr 2020 19:20:04 +0200 (CEST) Received: from mail-pg1-f195.google.com (mail-pg1-f195.google.com [209.85.215.195]) by dpdk.org (Postfix) with ESMTP id 706B41DD11 for ; Thu, 16 Apr 2020 19:20:03 +0200 (CEST) Received: by mail-pg1-f195.google.com with SMTP id 2so1918906pgp.11 for ; Thu, 16 Apr 2020 10:20:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=MgjsKrkqH+gAr+ZyFXKOLgCr27bxEtTGavG1hl9THkM=; b=1qhQlVUvisgzA55jBiaQXzja6CxuBbPEoS2KmAkrGmFyc5hEKhph09+nvlkEZhmDL9 7jEWrR7rz7UvoGj3Tes2GIffkVt9K9QMI4z1wYkWClTODvdXNSrZqUr9dLEozILATp1i Ky6vGUqR8M4oKIYn7wFRbIvdpBQ4Qzz5yQqBnsP7xlIgS5sNk1tAJU7bpG4rDQw20hI6 VnGK77Jds5YVBvs0LnvGWMqSVuPNnxwSYYv2973AVpBStZ23D5TpwHmVKwAUbbmRr1Bi GcP5rMeQ1S/kpyjZQiUv2mdtiCzmD5qSioVXIQDfN76wPz3Jd9TRJLNiiGJTukUx9ghi 0CuA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=MgjsKrkqH+gAr+ZyFXKOLgCr27bxEtTGavG1hl9THkM=; b=sRRuNNmiOpuuzjgvSVHPvwHEZfMbJPMid1jQgF0rqlpeL+tRm0rsXSXuHxi867tqVs o7crZ4Vhq5zqlOZAxeyglLiPkMFRmF7zBYTu5AJ+3B0PdZ2eG3TJs67DNrDjFecrAXUg Un7Ax2Mk2AMEJNylAxj7oegVGK+xJc3L2C13wGqhEISX3zcJTbac8XuCCsPEclL6BmYj 5x7kv4bGB6nzPDTbTi3ZyqAkzDUj3IOIwj9aJktFe4ZDyLd2ezg6bEdNhVzuGhoAjP4K vWLPuhjpAqL2LxCrP6WVg7ROiwS/wEa2BuEH4yrOCcIPuNTwKnAfSbkfz/YsPzBmQE7p PVNg== X-Gm-Message-State: AGi0PuaVqKLCIwtfLWOzpqkIdM2y/s6gmoZz1c97Y5MvrW5VIcPMju/H 0FtTnr5Y76TYWleoBLPsw1xvGQ== X-Google-Smtp-Source: APiQypLsknobKa1/1YtzotsA8FHjCdEIiPXbDBEFn1RO3cu0wzYhdzBMR5j+UB04aUq6JBSMDWNuiw== X-Received: by 2002:a63:141:: with SMTP id 62mr33808810pgb.101.1587057602626; Thu, 16 Apr 2020 10:20:02 -0700 (PDT) Received: from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127]) by smtp.gmail.com with ESMTPSA id h5sm3186402pjv.4.2020.04.16.10.20.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 16 Apr 2020 10:20:02 -0700 (PDT) Date: Thu, 16 Apr 2020 10:19:50 -0700 From: Stephen Hemminger To: "Andrzej Ostruszka [C]" Cc: Jerin Jacob , dpdk-dev Message-ID: <20200416101950.39a0682b@hermes.lan> In-Reply-To: References: <20200306164104.15528-1-aostruszka@marvell.com> <20200416091118.7a4a0bab@hermes.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [dpdk-dev] [PATCH 0/4] Introduce IF proxy library X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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 Thu, 16 Apr 2020 17:12:07 +0000 "Andrzej Ostruszka [C]" wrote: > On 4/16/20 6:49 PM, Jerin Jacob wrote: > > On Thu, Apr 16, 2020 at 9:41 PM Stephen Hemminger > > wrote: > [...] > >> Has anyone investigated solving this in the kernel rather than > >> creating the added overhead of more Linux devices? > >> > >> What I am thinking of is a netlink to userspace interface. > >> The kernel already has File-System-in-Userspace (FUSE) to allow > >> for filesystems. What about having a NUSE (Netlink in userspace)? > > > > IMO, there is no issue with the Linux Netlink _userspace_ interface. > > The goal of IF proxy to abstract the OS differences so that it can > > work with Linux, FreeBSD, and Windows(if needed). > > My understanding of Stephen's question is a bit different - Stephen > please correct me if I'm wrong. By the comparison with FUSE he was > thinking about providing a "kernel proxy" to userspace-based > port/interface, which could be used not only by DPDK but by other too. > > The answer from me is: no I have not. For two reasons: > - that would be Linux only > - if we would create such proxy, we would probably end up with tap like > driver in the end > > With regards > Andrzej Ostruszka The point is think of the problem beyond just DPDK.