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 DEBC54380F; Thu, 4 Jan 2024 02:08:02 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 90DAC402BF; Thu, 4 Jan 2024 02:08:02 +0100 (CET) Received: from mail-pl1-f182.google.com (mail-pl1-f182.google.com [209.85.214.182]) by mails.dpdk.org (Postfix) with ESMTP id C840B40266 for ; Thu, 4 Jan 2024 02:08:00 +0100 (CET) Received: by mail-pl1-f182.google.com with SMTP id d9443c01a7336-1d4a2526a7eso23375255ad.3 for ; Wed, 03 Jan 2024 17:08:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1704330480; x=1704935280; darn=dpdk.org; 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=eyDIN5HQ8VXEMpvHuh6ohfbgQT9A6c3T6EJBtbNOt6I=; b=Pi4tjMcM+yWPEoeNWRawS4Pv7Cg/mHiWMXCkILPdJb6zzgEzzMJPiA/Q97UoKFARG2 LRImiFjrysT2gj/846GwI+FV3fQMZvEPK7jnItw0BiZ2NgzhHWxPJvfak/C4bmGb6IhG Z0QFkBNoXAIMn6k/7ubfpiKf61dn6voKTzCX/fbZFQ7k2jpi05C1hrpdCAZW0Gt1pAFT DWzTHq7dna5T7GvZVJKzDYsDx+9SWoDsQn7qm2CU6XbK0nXYiJLV/4aUXvDh7gFhHX9j 4aJvLN8I3ig9ejiRwLGiwSVMi8iLtrF6Ok4pVv7I33bdma5/eynf88n1q6qo2RoCEvzd neUg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704330480; x=1704935280; 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=eyDIN5HQ8VXEMpvHuh6ohfbgQT9A6c3T6EJBtbNOt6I=; b=YXeDAVRcal7MeHlNcr12ueX4DscJkg2BlWS39IY81bq0L70oZmF5dY4r2EkvEcq4Q0 CfADyAL/pTjP4B4FfGZcoTxsGBJ9IhBjkuPfYVe/S+wy0M3hWIbiPMO/0tQHtwHQAq62 Cn/2nO4ryPFeKq3spOZM2UA5/GgIMd2mltrBJv8fX0rF3Gaif/ti2JLs+kdYO+HGfeb9 Yn6QaQ2FlNFAGJs/p/yS1im/rOJQORU4Aw3NdJwv+rm40ZAGnMHcSH5FXIO6GoDAwD/0 vnWP+QBOyxHOR5IuTeOnEv1ENpj0xcxu4uYr4IBUIpaIbwohP6/yGuxmtabvcN2y7wkB MHeg== X-Gm-Message-State: AOJu0YxqEYB5nRncuBBxIVNYZQ94tdU3M0UJqkIXVDalCgkK5PMk78ak Esed9mEmJBwJfNQjOKIs3AWIGtDRlRc8Sg== X-Google-Smtp-Source: AGHT+IEcYXlZ2VCEFRW6Am3r+qCCNftJG6LA5kteIl5AyPFuPEV1ztZGUHl+CiQL7kiqwRPpA+3ZUA== X-Received: by 2002:a17:902:db01:b0:1d4:ca53:2a34 with SMTP id m1-20020a170902db0100b001d4ca532a34mr2780063plx.51.1704330479933; Wed, 03 Jan 2024 17:07:59 -0800 (PST) Received: from hermes.local (204-195-123-141.wavecable.com. [204.195.123.141]) by smtp.gmail.com with ESMTPSA id h4-20020a170902f7c400b001bbb8d5166bsm24589033plw.123.2024.01.03.17.07.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 03 Jan 2024 17:07:59 -0800 (PST) Date: Wed, 3 Jan 2024 17:07:58 -0800 From: Stephen Hemminger To: Dariusz Sosnowski Cc: "NBU-Contact-Thomas Monjalon (EXTERNAL)" , Ferruh Yigit , Andrew Rybchenko , Ori Kam , "dev@dpdk.org" Subject: Re: [RFC] ethdev: fast path async flow API Message-ID: <20240103170758.119e99d4@hermes.local> In-Reply-To: References: <20231227105709.1951231-1-dsosnowski@nvidia.com> <20231228091657.14769682@hermes.local> 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 Wed, 3 Jan 2024 19:14:49 +0000 Dariusz Sosnowski wrote: > In summary, in my opinion extending the async flow API with bulking capabilities or exposing the queue directly to the application is not desirable. > This proposal aims to reduce the I-cache overhead in async flow API by reusing the existing design pattern in DPDK - fast path functions are inlined to the application code and they call cached PMD callbacks. Inline needs to more discouraged in DPDK, because it only works if application ends up building with DPDK from source. It doesn't work for the Linux distro packaging model and symbol versioning, etc.