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 15963A0A02; Wed, 13 Jan 2021 18:06:31 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8738A140E23; Wed, 13 Jan 2021 18:06:30 +0100 (CET) Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by mails.dpdk.org (Postfix) with ESMTP id BE85B140E18 for ; Wed, 13 Jan 2021 18:06:28 +0100 (CET) Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id 02AC95C00FD; Wed, 13 Jan 2021 12:06:28 -0500 (EST) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Wed, 13 Jan 2021 12:06:28 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding:content-type; s=fm3; bh=ebOtrV0hUDivt eOnWrDNS467Fq87ZBSYdQKQIEotTAY=; b=f8ypkfUBuufWeBT5DPWlQ1KWK0/HO aGsx+1cF77aTVYJiOi+J8XpR+1AEBL2PEqii5tSmJwTZmltCv+5UoHdetsU1+H3O B3pCZsp5A1RBGiZ4G/250UCDMgRnC7rdYoBiK3DGGXHlZhU75o6KmJX/eBnDrXO5 YUS+UhZx8jjl2f/hC07CgSbYCDgGYUDzXYpWqqqvMvnt7gCLa/bgp4keJqo3MEOR d/abEWiPzXJGvHw1S2q+kbu00rUeXGLlvkVANX3cl60N3WxONhAI6Xf7NyNUnqeL MCplWOZ7rMP+Ix5ljXcXhhBsFmyApOSwXHAo1d5YW2sqKsNBN84CepbFw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:message-id:mime-version:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=ebOtrV 0hUDivteOnWrDNS467Fq87ZBSYdQKQIEotTAY=; b=OYFytzT02LEkXq8locyr9G TQOKGHEg04g93uSFU80MCeWFRzyeSIf4Tub+G9RmCkAec/8Pg7egiq+PGRAWAtVU naAYVWt3KRkgznaFfb4PmjRiSrN6j8ZkAAC7j2E/6TwoU8WpDKfwJLygfhyRWUsf QGk7LYVIVP+IZ6dsyNgnQgVAXAfjbcOTWKSFddOfNQEy+OP/5ia6RrtOnBwC0FMV lcJSpYraWy1E/fMoCXqKZaO8kmFlMM/Zx/QXu4PxLtkuLoye/R6/FFNDjsiqMOVt 6hQC0ZuhTLXfCrk2XI5jDGTA2k/K6heX3KLtNYLNSD7yqLcprMmOxerxizYNBfug == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedukedrtdefgdeliecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkfgggfgtsehtufertddttd dvnecuhfhrohhmpefvhhhomhgrshcuofhonhhjrghlohhnuceothhhohhmrghssehmohhn jhgrlhhonhdrnhgvtheqnecuggftrfgrthhtvghrnhepffegheetveffuefffeevgeelte etieefueetteejteegvdefiedvteevjefgfeegnecuffhomhgrihhnpeguphgukhdrohhr ghenucfkphepjeejrddufeegrddvtdefrddukeegnecuvehluhhsthgvrhfuihiivgeptd enucfrrghrrghmpehmrghilhhfrhhomhepthhhohhmrghssehmohhnjhgrlhhonhdrnhgv th X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id 6144B24005B; Wed, 13 Jan 2021 12:06:26 -0500 (EST) From: Thomas Monjalon To: dev@dpdk.org Cc: ferruh.yigit@intel.com, kevin.traynor@redhat.com, bruce.richardson@intel.com, hemant.agrawal@nxp.com, jerinj@marvell.com, olivier.matz@6wind.com, maxime.coquelin@redhat.com, stephen@networkplumber.org Date: Wed, 13 Jan 2021 18:06:25 +0100 Message-ID: <1699913.2mAdEQRYyP@thomas> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: [dpdk-dev] KNI alternatives 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" Hi, As discussed today in the techboard meeting, KNI has probably better alternatives today without using an out-of-tree module. Virtio-user is a good candidate to replace KNI. What is the performance of TAP? Is there a way to leverage af_packet, af_xdp, or even pcap interfaces? In order to avoid using the KNI out-of-tree module, we should make the librte_kni compatible with an other interface. The big plan is then to move the KNI module out of the main DPDK repo, as we did for igb_uio. The first step of this plan might be to document pros & cons of the KNI alternatives inside the KNI documentation: https://doc.dpdk.org/guides/prog_guide/kernel_nic_interface.html As a start, this doc should be better referenced: https://doc.dpdk.org/guides/howto/virtio_user_as_exceptional_path.html Note: I won't do this update myself, so feel free to step up! Thanks