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 4E7CB45B4A; Wed, 16 Oct 2024 06:36:13 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 278074026F; Wed, 16 Oct 2024 06:36:13 +0200 (CEST) Received: from mail.lysator.liu.se (mail.lysator.liu.se [130.236.254.3]) by mails.dpdk.org (Postfix) with ESMTP id F2709400D6 for ; Wed, 16 Oct 2024 06:36:10 +0200 (CEST) Received: from mail.lysator.liu.se (localhost [127.0.0.1]) by mail.lysator.liu.se (Postfix) with ESMTP id B42B11721A for ; Wed, 16 Oct 2024 06:36:10 +0200 (CEST) Received: by mail.lysator.liu.se (Postfix, from userid 1004) id A82AB171A8; Wed, 16 Oct 2024 06:36:10 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on hermod.lysator.liu.se X-Spam-Level: X-Spam-Status: No, score=-1.2 required=5.0 tests=ALL_TRUSTED,AWL, T_SCC_BODY_TEXT_LINE autolearn=disabled version=4.0.0 X-Spam-Score: -1.2 Received: from [192.168.1.85] (h-62-63-215-114.A163.priv.bahnhof.se [62.63.215.114]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.lysator.liu.se (Postfix) with ESMTPSA id 27ABD1714E; Wed, 16 Oct 2024 06:36:08 +0200 (CEST) Message-ID: <512b6388-bbf0-4afe-aa9f-7507f50c55a3@lysator.liu.se> Date: Wed, 16 Oct 2024 06:36:07 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [RFC v2 10/10] eventdev: remove single event enqueue and dequeue To: Stephen Hemminger , =?UTF-8?Q?Mattias_R=C3=B6nnblom?= Cc: Jerin Jacob , dev@dpdk.org, David Marchand , Anoob Joseph , Hemant Agrawal , Sachin Saxena , Abdullah Sevincer , Pavan Nikhilesh , Shijith Thotton , Harry van Haaren References: <20241015084943.823983-2-mattias.ronnblom@ericsson.com> <20241015182535.825098-1-mattias.ronnblom@ericsson.com> <20241015182535.825098-11-mattias.ronnblom@ericsson.com> <20241015150020.7d1a57f4@hermes.local> Content-Language: en-US From: =?UTF-8?Q?Mattias_R=C3=B6nnblom?= In-Reply-To: <20241015150020.7d1a57f4@hermes.local> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: ClamAV using ClamSMTP 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 2024-10-16 00:00, Stephen Hemminger wrote: > On Tue, 15 Oct 2024 20:25:35 +0200 > Mattias Rönnblom wrote: > >> Remove the single event enqueue and dequeue, since they did not >> provide any noticable performance benefits. >> >> This is a change of the ABI, previously announced as a deprecation >> notice. These functions were not directly called by the application, >> so the API remains unaffected. >> >> Signed-off-by: Mattias Rönnblom > > Still have a build failure with one driver. > The wonders of #ifdef . > > -------------------------------BEGIN LOGS---------------------------- > #################################################################################### > #### [Begin job log] "ubuntu-22.04-gcc-shared-aarch64" at step Build and test > #################################################################################### > | ^~~~~~ > ../drivers/event/cnxk/cn9k_eventdev.c: In function ‘cn9k_sso_fp_fns_set’: > ../drivers/event/cnxk/cn9k_eventdev.c:576:20: error: ‘struct rte_eventdev’ has no member named ‘enqueue’; did you mean ‘ca_enqueue’? > 576 | event_dev->enqueue = cn9k_sso_hws_enq; > | ^~~~~~~ > | ca_enqueue > ../drivers/event/cnxk/cn9k_eventdev.c:576:30: error: ‘cn9k_sso_hws_enq’ undeclared (first use in this function); did you mean ‘cn9k_sso_hws_link’? > 576 | event_dev->enqueue = cn9k_sso_hws_enq; > | ^~~~~~~~~~~~~~~~ > | cn9k_sso_hws_link > ../drivers/event/cnxk/cn9k_eventdev.c:584:28: error: ‘struct rte_eventdev’ has no member named ‘enqueue’; did you mean ‘ca_enqueue’? > 584 | event_dev->enqueue = cn9k_sso_hws_dual_enq; > | ^~~~~~~ > | ca_enqueue > ../drivers/event/cnxk/cn9k_eventdev.c:584:38: error: ‘cn9k_sso_hws_dual_enq’ undeclared (first use in this function); did you mean ‘cn9k_sso_hws_dual_ca_enq’? > 584 | event_dev->enqueue = cn9k_sso_hws_dual_enq; > | ^~~~~~~~~~~~~~~~~~~~~ > | cn9k_sso_hws_dual_ca_enq > [2451/4290] Compiling C object 'drivers/a715181@@tmp_rte_event_cnxk at sta/event_cnxk_deq_cn9k_deq_64_79_seg_burst.c.o'. > [2452/4290] Compiling C object 'drivers/a715181@@tmp_rte_event_cnxk at sta/event_cnxk_deq_cn9k_deq_80_95_seg_burst.c.o'. > [2453/4290] Generating rte_crypto_octeontx.sym_chk with a meson_exe.py custom command. > [2454/4290] Compiling C object 'drivers/a715181@@tmp_rte_event_cnxk at sta/event_cnxk_deq_cn9k_deq_96_111_seg_burst.c.o'. > [2455/4290] Compiling C object 'drivers/a715181@@tmp_rte_event_cnxk at sta/event_cnxk_deq_cn9k_deq_112_127_seg_burst.c.o'. > ninja: build stopped: subcommand failed. > ##[error]Process completed with exit code 1. > #################################################################################### > #### [End job log] "ubuntu-22.04-gcc-shared-aarch64" at step Build and test > #################################################################################### > --------------------------------END LOGS-----------------------------