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 CDF9C43256; Tue, 31 Oct 2023 22:41:52 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 509104067C; Tue, 31 Oct 2023 22:41:52 +0100 (CET) Received: from mail-oa1-f42.google.com (mail-oa1-f42.google.com [209.85.160.42]) by mails.dpdk.org (Postfix) with ESMTP id DC33540294 for ; Tue, 31 Oct 2023 22:41:50 +0100 (CET) Received: by mail-oa1-f42.google.com with SMTP id 586e51a60fabf-1ef370c2e12so4381660fac.1 for ; Tue, 31 Oct 2023 14:41:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1698788510; x=1699393310; 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=W9whr1wITi644cLTt0fwlAF/baPhsgrNlhh9bdf4fbU=; b=Jf1zj/2VMPZxiop3Y6KTVpJN9F2dSbF3me3RBViBGg5foMXC9GnyhRXDgIqH4/pXUE 0RK5qEFc9c28avMedJE/naQ4FmSuuGCHx/+89ALOjQpR9uGlgbFm8gs9nOFE+Dqbox2E oygVP2eOtQr73ix3TtCG5onNA+Shqtdk2Xn+A7/llEGSJzwlwUE/aL2YBqsRcyk8LBZ4 9lXPrP3kfO26X6Bo20h28fS4HP8g30/OvvkeV3yCLpI0dMsI6Z+IK7D50NQ+5GnyHhDP UhYa/Ove7lcHHdcf3+gNehCDSQb9+94U8IahLm2CB9xxHWSzZ5Vku6aXaOziTcCPOU1n Yw5A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698788510; x=1699393310; 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=W9whr1wITi644cLTt0fwlAF/baPhsgrNlhh9bdf4fbU=; b=Yj35kPd9OGVdQPfhoi/KyavQTaYgAOq0QvxQB67XGVhLFV0QxZDsKhD5RVZV73/2VX eVS8Pvsiru6QG4LnU96TotLrepwinSyblpA7m+trZuvvWeMf0gmMe0PSI8H99S7LYQfT WBUqzO1RwLPE5iXjaOt8bHf4xnUiA/NgH45kwbbrtDjqKSOnvhZ8JqXQzJn28EYF5phS u/saT/IYEv+w6xRUuU8FDterYcW5pSGJZMLGczrnZVpSaiQ+HB2OMKJsbaLXFkyFrdDx zL3G7gD5iLOA+svLZ8UdYizOsidm90CLIU50p2rbsBLaBhPZUtTDKJ7f4EyxoRzfTG4f 4oJA== X-Gm-Message-State: AOJu0YxO+dJjdTlCC4eQd2dUj+Cbuirw81RFeNrHRm0JOUUdKzc/wTjA 8ng84VQln8YfBRPfjQ6xaZzRwQ== X-Google-Smtp-Source: AGHT+IH99i/bqAIakWM6Sf2q7xc0zskmEB8CBwqZ6qijxuiOQs0Db7Fmiz5vWN3D5XRbzdo99sbjlA== X-Received: by 2002:a05:6358:881f:b0:168:e479:58bc with SMTP id hv31-20020a056358881f00b00168e47958bcmr17567110rwb.16.1698788509999; Tue, 31 Oct 2023 14:41:49 -0700 (PDT) Received: from fedora ([38.142.2.14]) by smtp.gmail.com with ESMTPSA id q2-20020a63ae02000000b005b7e3eddb87sm1416441pgf.61.2023.10.31.14.41.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 31 Oct 2023 14:41:49 -0700 (PDT) Date: Tue, 31 Oct 2023 14:41:46 -0700 From: Stephen Hemminger To: Rory Sexton Cc: honnappa.nagarahalli@arm.com, konstantin.v.ananyev@yandex.ru, dev@dpdk.org Subject: Re: [RFC 1/1] ring: add infrastructure to allow callbacks within the ring library Message-ID: <20231031144146.488ddc4a@fedora> In-Reply-To: <20230323113743.4086730-2-rory.sexton@intel.com> References: <20230323113743.4086730-1-rory.sexton@intel.com> <20230323113743.4086730-2-rory.sexton@intel.com> X-Mailer: Claws Mail 4.1.1 (GTK 3.24.38; x86_64-redhat-linux-gnu) 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 Thu, 23 Mar 2023 11:37:43 +0000 Rory Sexton wrote: > From: Rory Sexton > To: honnappa.nagarahalli@arm.com, konstantin.v.ananyev@yandex.ru > Cc: dev@dpdk.org, Rory Sexton > Subject: [RFC 1/1] ring: add infrastructure to allow callbacks within the ring library > Date: Thu, 23 Mar 2023 11:37:43 +0000 > X-Mailer: git-send-email 2.34.1 > > Adding initial code to give a feel for what it would look like if > callbacks were supported by the ring dequeue functions within the > ring library. They could be optionally compiled in/out as required. > > Signed-off-by: Rory Sexton Interesting but there is no current use for this. Adding dead code, just creates more test cases and bloat to DPDK. Could you use tracepoints for this instead.