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 3CA4242CAC; Tue, 13 Jun 2023 23:22:51 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id BA8FB41138; Tue, 13 Jun 2023 23:22:50 +0200 (CEST) Received: from mail-pg1-f175.google.com (mail-pg1-f175.google.com [209.85.215.175]) by mails.dpdk.org (Postfix) with ESMTP id 3EAF340ED6 for ; Tue, 13 Jun 2023 23:22:49 +0200 (CEST) Received: by mail-pg1-f175.google.com with SMTP id 41be03b00d2f7-53fe2275249so3232305a12.2 for ; Tue, 13 Jun 2023 14:22:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20221208.gappssmtp.com; s=20221208; t=1686691368; x=1689283368; 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=eVZ4Vc9ePjOCPWxXpiO1SMhB63T9uKs2labFkLfvC2Q=; b=2nDmL89PcNnSopZllpPrqBgKBt3zotSRsDjjfbCt+PDj9hzGptNYzajcDu7nb3d2Iz fiUVq8QYvaAo5S4pRoyAtyOXJCz1ZU7hVPGH7QiftWIds6RFLejIqLbWmYBaV+620TI4 Bbvq7RBEnHeZU+kfHSVBR6QE/sCb/95QRiMC5Vx5q4p4zcQ+5ur2P0Abaf+e0ETsGOSQ QX8zQrUE/n5ai22qj2pgw4/VQjTLndI10lDW2D26c/A3yYVZMdlqEYJ6Cv+dMfmkSrWx OwKtAgUiqqGVc7MPuBD964h70lry6ndXmsa36peB+zDUPUuCAhX6faJhg0AuAbiLt74k j/1w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686691368; x=1689283368; 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=eVZ4Vc9ePjOCPWxXpiO1SMhB63T9uKs2labFkLfvC2Q=; b=XYPVUVGcFra33Bs6tmbGlomRDANtSmbPIpWxRoSxJ93X5i/G44nQAKu9XXYwBn0hNa ULbO25gUPB6k2Xgd5oa674/nf6QtpyR1uYQ+wAzq/fFa56wZRXURH+LynLj1QJTxNDiB +Oh1YWxM+qW5z9YGU9We5xMn2WiE0eQ+8rW0pCoLIOKZeKYtV//9Logtil2HOMFLw50R 6OMFxG+nNz1Usc7+RF7FCesLQZ0PbOkThPRlh76GoZenYh72Lm/n9zaMNw8YrpkzYmJe JLMkvu9PZjNi7NOr979HGneQLjeYhzFSL439YE8qKOUXoIFnUrjsUgs8Z1eMpiN5fa8K 9IHA== X-Gm-Message-State: AC+VfDzpAfklygh+4shR+2YsJa5HF4dc1qboTXhX+1Px/m07yMXC7RFh Iu8ROHfFJcW9fZhlBBpdF4Vh3g== X-Google-Smtp-Source: ACHHUZ7IdGt0gndkPY7T3q1cIMPGP5qJ41kEAvxcxB0m2RC9QYfYz26nTf+byb7b/WJe4xcpoRXZSw== X-Received: by 2002:a17:90a:1a0a:b0:246:85ec:d816 with SMTP id 10-20020a17090a1a0a00b0024685ecd816mr45481pjk.3.1686691368120; Tue, 13 Jun 2023 14:22:48 -0700 (PDT) Received: from hermes.local (204-195-120-218.wavecable.com. [204.195.120.218]) by smtp.gmail.com with ESMTPSA id 27-20020a17090a19db00b002568f2f8102sm12227773pjj.30.2023.06.13.14.22.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Jun 2023 14:22:47 -0700 (PDT) Date: Tue, 13 Jun 2023 14:22:46 -0700 From: Stephen Hemminger To: Maxime Coquelin Cc: "Chautru, Nicolas" , David Marchand , "dev@dpdk.org" , "Rix, Tom" , "hemant.agrawal@nxp.com" , "Vargas, Hernan" Subject: Re: [PATCH v1 1/1] doc: announce change in bbdev api related to operation extension Message-ID: <20230613142246.663559eb@hermes.local> In-Reply-To: <8f201884-8a40-468e-c02a-52bc5e646024@redhat.com> References: <20230526021132.41413-1-nicolas.chautru@intel.com> <20230526021132.41413-2-nicolas.chautru@intel.com> <20230525204722.73635324@hermes.local> <874c2179-6dfd-caba-0a8a-75137cb1a418@redhat.com> <30fbed4d-9f04-9a44-d77d-156e7a6257f5@redhat.com> <8f201884-8a40-468e-c02a-52bc5e646024@redhat.com> 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 Tue, 13 Jun 2023 22:00:25 +0200 Maxime Coquelin wrote: > >> > >> If we are going to break the ABI, better to do the right rework directly. Otherwise > >> we'll end-up breaking it again next year. > > > > With the suggested change, this will not break ABI next year. Any future functions are added at the end of the structure anyway. Do it right in 23.11, break the ABI and fix the few drivers. It is not hard to have one ops struct (and it can/should be const) that is pointed to by the bbdev. That will hide the ops from the application.