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 F1DF84238D; Fri, 13 Jan 2023 18:13:30 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9613A410EF; Fri, 13 Jan 2023 18:13:30 +0100 (CET) Received: from mail-pj1-f44.google.com (mail-pj1-f44.google.com [209.85.216.44]) by mails.dpdk.org (Postfix) with ESMTP id 784A740E03 for ; Fri, 13 Jan 2023 18:13:29 +0100 (CET) Received: by mail-pj1-f44.google.com with SMTP id z1-20020a17090a66c100b00226f05b9595so9904625pjl.0 for ; Fri, 13 Jan 2023 09:13:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=xNkgkBdkgdAXQj/oJoZHquEP/rWdrKgcp0vwyF4mxdA=; b=iQ6qn7IpV2AxO1T7R/YOMWnRH03mblMY5bjdK0pg6CGEjHMjKabmp8jdEqJMegl9lP ereu2foQocweYRv2zXjldjKCADqtPKYBUaXFxstpF4Z45okddV9dqKR+OwdSt6Z1K6rG NXJTPJVHaKnSmusiz9NvpsNTSxWC0Q2v29XE9zZDhdTvqb+0zBcDUb5eP8W7fdrK/NVf eXnd2QqDOcwEnpjfNSLhuvpMYDbFng77ib6T4NUTLXjccp03SRRApF7HnbLgYUmtOo5+ jcY0hLEIkVD6wTKOWU9PkdlcuILHZigo34i3YSuf58FOyGwnRMO/s6wblRMpNKD9A/4B 1/hg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=xNkgkBdkgdAXQj/oJoZHquEP/rWdrKgcp0vwyF4mxdA=; b=eC3djXJqFT1OZkFl/S6oW2DT1tKhSmo4S15TZIKLOC0i2R9YTnn44GxUQ7vhirlFcJ LCvD0D4wKMGoKrEAiNgr+cK9+rMMc3BEQOI8Dzs6WaPF6tfBIAH+KxswQvXNy1sr3gUo LOI0bZGL4Bb28QCNzFatV7K2wOSCCXz3rVXmhNNhL85FBdKRBrIQs9x3iGJvc89MZ00S sLqDyIp1qMAfZkbFUpWKAL7PXRX+SozkWS4vW5J9Xjlmjw92y+nAhalf3dxtL9sNW0TF lEa9TPxyzJCrWN2G2JZgW0FQ2eCmMad82gdo2FUQSA9bIfN88ZAgFbI/kpfkQ7ZhoFFb ZMRQ== X-Gm-Message-State: AFqh2kooMjFcmWkXC6RIwl/BEtmzxc0e/rv1UCRC0rny/W9f+xfAywTD Tt/fpDwo2q52vsqizwvDqvLGSg== X-Google-Smtp-Source: AMrXdXup4X5lyntlCROReDxYtgYVT/4lPMHmDAUGLc307hxsutUg462Lk/IThBYKwsqgSGlc0T/yTA== X-Received: by 2002:a17:902:aa96:b0:18e:8223:6447 with SMTP id d22-20020a170902aa9600b0018e82236447mr78274916plr.22.1673630008549; Fri, 13 Jan 2023 09:13:28 -0800 (PST) Received: from hermes.local (204-195-120-218.wavecable.com. [204.195.120.218]) by smtp.gmail.com with ESMTPSA id j14-20020a170903024e00b0019101215f63sm14436824plh.93.2023.01.13.09.13.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Jan 2023 09:13:28 -0800 (PST) Date: Fri, 13 Jan 2023 09:13:26 -0800 From: Stephen Hemminger To: Thomas Monjalon Cc: dev@dpdk.org, Cristian Dumitrescu , Bruce Richardson , Anatoly Burakov Subject: Re: [RFC] Remove Kernel Network Interface (KNI) Message-ID: <20230113091326.20d210c9@hermes.local> In-Reply-To: <2383172.OBFZWjSADL@thomas> References: <20230113050313.87378-1-stephen@networkplumber.org> <2383172.OBFZWjSADL@thomas> 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 Fri, 13 Jan 2023 09:12:16 +0100 Thomas Monjalon wrote: > 13/01/2023 06:03, Stephen Hemminger: > > The Linux special network driver for kernel networking has been > > a long term problem for DPDK. The performance benefits of KNI > > are available via virtio-user and XDP, and the simpler kernel > > interface via TAP is also available. > > > > This driver has required lots of effort to keep up with the > > kernel API changes. And the overall architecture of the driver > > is fundamentally insecure and has unfixable locking and data > > race problems. No developer has been willing to do extensive > > tests or be the maintainer. > > > > In short, the time has come to do some early spring cleaning > > and remove KNI from DPDK 23.03. > > In doc/guides/rel_notes/deprecation.rst it is announced > to be removed in 23.11. Let's keep this RFC for later :) > > For 23.03 could we add a deprecation log message when library is used and when kernel module is loaded.