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 C6779A0524; Mon, 12 Apr 2021 21:40:29 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 875D114130E; Mon, 12 Apr 2021 21:40:29 +0200 (CEST) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mails.dpdk.org (Postfix) with ESMTP id 81F32141309 for ; Mon, 12 Apr 2021 21:40:28 +0200 (CEST) IronPort-SDR: elOw3oUwVKpIuEpKex7axDDABY65cloiCZJ/XzYzx1gnewTraOCcLf/SSwIpMVgE+B89sGV/2v R4TD960VrzgA== X-IronPort-AV: E=McAfee;i="6200,9189,9952"; a="191078548" X-IronPort-AV: E=Sophos;i="5.82,216,1613462400"; d="scan'208";a="191078548" Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Apr 2021 12:40:27 -0700 IronPort-SDR: 6eUXG+F+a7LfkznstONafzbdzMsf5azF4r0um9t0TVLORDB2RSFQrOA4DLuIgYC4m6Y+m5dRNA tAJQjxIXWCQQ== X-IronPort-AV: E=Sophos;i="5.82,216,1613462400"; d="scan'208";a="460291463" Received: from fyigit-mobl1.ger.corp.intel.com (HELO [10.213.203.254]) ([10.213.203.254]) by orsmga001-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Apr 2021 12:40:24 -0700 To: Bing Zhao , orika@nvidia.com, thomas@monjalon.net, andrew.rybchenko@oktetlabs.ru, matan@nvidia.com, viacheslavo@nvidia.com Cc: dev@dpdk.org, ajit.khaparde@broadcom.com, getelson@nvidia.com, andreyv@nvidia.com References: <1617940481-125528-1-git-send-email-bingz@nvidia.com> <1618063428-206842-1-git-send-email-bingz@nvidia.com> From: Ferruh Yigit X-User: ferruhy Message-ID: <6a3f87b5-2b30-3f8c-7a31-c55eeaa0a834@intel.com> Date: Mon, 12 Apr 2021 20:40:21 +0100 MIME-Version: 1.0 In-Reply-To: <1618063428-206842-1-git-send-email-bingz@nvidia.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Subject: Re: [dpdk-dev] [PATCH v2 0/4] Change shared action API to action handle API 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 Sender: "dev" On 4/10/2021 3:03 PM, Bing Zhao wrote: > The patch set includes: > 1. API changes > 2. testpmd adaption and guide update > 3. driver update (only net/mlx5 impacted) > > --- > v2: add adaptions of testpmd and driver part > --- > > Bing Zhao (4): > ethdev: introduce indirect action APIs > app/test-pmd: change to indirect action command > doc: update user guide for indirect action > net/mlx5: adaption to indirect action API > Hi Bing, How the patchset constructed will cause build error in patch by patch build, since first patch removes some struct/functions that are in use. One way to handle this is: - first add new function/structs - switch app & pmd to new function/structs - remove old function/structs And another issue is this support has been added on 20.11, and we are changing it in the second release after it. Of course it is OK to change the API by time, that is why we have experimental APIs, but the concern is if the development is driven by single vendor without a consensus or enough reviews, and my worry is if same thing happening again. The author and reviewers of the original patch is already cc'ed, I think it would be good to have their ack to the change. Thanks, ferruh