From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f49.google.com (mail-wm1-f49.google.com [209.85.128.49]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 56AED19885E for ; Fri, 7 Jun 2024 15:50:47 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.49 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717775449; cv=none; b=FQfSDXp2Dqf5xFMy49F7SaI1QfI1NbPFdGgkMyn5kv4tRuX40MCqH4a46K16ENnNGBSk16eiKmb2bBjsAqwVwKzUJjg9rVqFZy+MPBlcudChCAB6S4Iz4h8phhJlP2NM6hwnwqnL07Y+yPOLv99MeEwAKXxN54/6eol2h3no8LU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717775449; c=relaxed/simple; bh=uZQQT0tWMLKpHLzpjA4+4RgpjpRE41cd6g0mqVVjBlM=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=lA0Z1HZ39QFko/g5I1mBZF6GY4Zpktt+zGYnmn2BqVDQN4wmQ8CZVoKHQ0A0aEioCw9QJgVJoBaDk0RucER+GqbR505TRvCZ8Q2mwdLJYtDVqqEykDaMXsuAlR6J4MxA2ml95/L4v5fek/vYDivKz/RGcHSMhvYlUT/xDNdc7/M= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=resnulli.us; spf=none smtp.mailfrom=resnulli.us; dkim=pass (2048-bit key) header.d=resnulli-us.20230601.gappssmtp.com header.i=@resnulli-us.20230601.gappssmtp.com header.b=I1XLcZLe; arc=none smtp.client-ip=209.85.128.49 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=resnulli.us Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=resnulli.us Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=resnulli-us.20230601.gappssmtp.com header.i=@resnulli-us.20230601.gappssmtp.com header.b="I1XLcZLe" Received: by mail-wm1-f49.google.com with SMTP id 5b1f17b1804b1-42155143cb0so26823735e9.2 for ; Fri, 07 Jun 2024 08:50:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=resnulli-us.20230601.gappssmtp.com; s=20230601; t=1717775445; x=1718380245; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=8mLYWZnKH+z6ueZhuJkRBxm2z11CPZmpPTaPGv2cuj0=; b=I1XLcZLeVsc6OMmjnn3QqWOxgtjpnis4rLhTWWXsO0wpAwNVCuza3LAeAv54Ln7tiQ +x//nMH0a9fvHdDOfoHj0nMjAW8YahPWgsfBT76DOZHFJJneyfrkklHHsKbw5CaVlaJM mPQO9SwxNlpW0lfy2nTnV7Dk/gwxaFQeT8fWjjIY/iVKPmBqmujoFsbfbsKTuT1TMHBl hVV5glIw2QbN/MA5F/OmoGnFoqBobPxholl2UOsQULEKwqiGQsHKTot1S1JN5CV6aahL Rc+TBVXagqrGgZBdAF5RNOScsYrEajkgo4bzCryBrIM3V8uH+3Bu/BjMsaqgK57hBIvp AIxg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717775445; x=1718380245; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=8mLYWZnKH+z6ueZhuJkRBxm2z11CPZmpPTaPGv2cuj0=; b=Tmu/2HGG5NMhVSN966mlUXUJLq1r4mHWBXCaNj3RIIkUWHHnttwlnZ/AC9hZlpHEL5 Bebl7asFlcJh3CbR0H05Scrul8GJ6x7gMx9alNfg1thrrvht2DFDR4Rh/EWffmtujX1n A4CQOgGgvQa3H+3IN/oTvmg77s2VhUlD3ZpwWQ7MZZ7YIe5i9HakNU+eA5xplPW8zxbb hUwxPVkFxb6QG2KkPpkmSLOSALYk0TsYXsQ+VfpRfb/lrRfLgvaJwG2K+5HSHOn9gbTX M1ES31t3QaZ47VJv34tQYsfNAAEFuVHUsDlYmnPXiy+ovtaVqJXSWP11BI64yK2hYvuz a1rw== X-Forwarded-Encrypted: i=1; AJvYcCWXu3QLFFBJssI9ZVOZOujs4QA9aJRz5NRn1hRIZM5/yzKWvlrz0dGYL3CnxSTR68SH7R6RP+fYSTl1+UXLsDuhvfYOH2wX X-Gm-Message-State: AOJu0Yx371vlkawTSFKyKvCVd/ozB7C2srQ2QF1B1cyL78QakYxyXUPO 1h7CEyRImLX73DMnzPc2ZOpn8NX6vQOjkwzFi5f5k1cy0zdszkLYBYXeShZ5YZs= X-Google-Smtp-Source: AGHT+IHG8WszpcEWn5y0Ergt20tKhSOz5/rJxXqP/p8U9bIooclfDP/A70icjjOiWOdZ+5jrSUBNHw== X-Received: by 2002:a05:600c:3496:b0:421:2429:7e46 with SMTP id 5b1f17b1804b1-421649fbb46mr33986435e9.13.1717775445415; Fri, 07 Jun 2024 08:50:45 -0700 (PDT) Received: from localhost ([193.47.165.251]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-35ef5d66cf6sm4237732f8f.49.2024.06.07.08.50.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 07 Jun 2024 08:50:44 -0700 (PDT) Date: Fri, 7 Jun 2024 17:50:41 +0200 From: Jiri Pirko To: Jason Gunthorpe Cc: David Ahern , Jakub Kicinski , Dan Williams , Jonathan Corbet , Itay Avraham , Leon Romanovsky , linux-doc@vger.kernel.org, linux-rdma@vger.kernel.org, netdev@vger.kernel.org, Paolo Abeni , Saeed Mahameed , Tariq Toukan , Andy Gospodarek , Aron Silverton , Christoph Hellwig , Jiri Pirko , Leonid Bloch , Leon Romanovsky , linux-cxl@vger.kernel.org, patches@lists.linux.dev Subject: Re: [PATCH 0/8] Introduce fwctl subystem Message-ID: References: <665fa9c9e69de_4a4e62941e@dwillia2-xfh.jf.intel.com.notmuch> <20240605135911.GT19897@nvidia.com> <20240606071811.34767cce@kernel.org> <20240606144818.GC19897@nvidia.com> <20240606080557.00f3163e@kernel.org> <4724e6a1-2da1-4275-8807-b7fe6cd9b6c1@kernel.org> <887d1cb7-e9e9-4b12-aebb-651addc6b01c@kernel.org> <20240607151451.GL19897@nvidia.com> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240607151451.GL19897@nvidia.com> Fri, Jun 07, 2024 at 05:14:51PM CEST, jgg@nvidia.com wrote: >On Fri, Jun 07, 2024 at 08:50:17AM -0600, David Ahern wrote: > >> Mellanox offers both with the Spectrum line and should have a pretty >> good understanding of how many customers deploy with the SDK vs >> switchdev. Why is that? > >We offer lots of options with mlx5 switching too, and switchdev is not >being selected by customers principally for performance reasons, in my >view. > >The OVS space wants to operate the switch much like a firewall and >this creates a high rate of database updates and exception >packets. DPDK can operate all the same offload HW from userspace and >avoid all the system call and other kernel overhead. It is much more >purpose built to what OVS wants to do. In the >50Gbps space this >matters a lot and overall DPDK performance notably wins over switchdev >for many OVS workloads - even though the high speed path is >near-identical. > >In this role DPDK is effectively a switch SDK, an open source one at >least. > >Sadly I'm seeing signs that proprietary OVS focused SDKs (think >various P4 offerings and others) are out competing open DPDK on >merit :( > >For whatever reason the market for switching is not strongly motivated >toward open SDKs, and the available open solutions are struggling a >bit to compete. > >But to repeat again, fwctl is not for dataplane, it is not for >implementing a switch SDK (go use RDMA if you want to do that). I will switch sdk is all about control plane. >write here a commitment to accept patches blocking such usages if >drivers try to abuse the purpose of the subsystem. > >Jason