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 32D64A0524; Thu, 29 Apr 2021 09:49:49 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 11C614067E; Thu, 29 Apr 2021 09:49:49 +0200 (CEST) Received: from mail-lf1-f46.google.com (mail-lf1-f46.google.com [209.85.167.46]) by mails.dpdk.org (Postfix) with ESMTP id 205AB40141 for ; Thu, 29 Apr 2021 09:49:48 +0200 (CEST) Received: by mail-lf1-f46.google.com with SMTP id 2so10669646lft.4 for ; Thu, 29 Apr 2021 00:49:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=semihalf-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=mOQ5vmNXlW3MvRKsf/M3lSc1MJD0QEqwiKBsBnJAwBY=; b=dehGLp4+whNDIV8y7xT7J0csFuvd7qaQ2Klyn1Llu3BABH5UjK01W1cKHWDNeIrdwO 7baIwiEbKFap4Qd5OvSbfoD/g2F6+yVUaAj7uLeo8IVQXejU0CYLfiJbcppVJiBDVz2N qQpTU4eMiiCPv97QB5SDn65CX56LereRlRkae91I+9mAimiczcnoT9n1/7qcWgsGRBxj u85b0W4FHxspzX3sB6uSPaeQZHMo+wVumbIn8p/gp/ISHGvLuH2AMJ0PGY1J/zzVbtM5 gGuGvoCpC1lSLxx0ATni0CbRzLV50n2XzryxAbrlOdkqRDXWr1Z1ijcY10IAQmLfFHOi nW6Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=mOQ5vmNXlW3MvRKsf/M3lSc1MJD0QEqwiKBsBnJAwBY=; b=pg3aA4JtmakFxe2r/nVcmKbuLvPa9APTSxxW5BasZpf4a/LvQfQZQXevRR4jHv6l+7 Z57VaWpms2bY0XfJAVW32CelfLA949fyP7OdaXTaiSwZYSPxdkasd3sPsRPliY42tm1e 68zDrRh0+csCyAz548OFX9Z+KAM2CjkgtXUWypaP/DWwuwa9/SUbJ7R+nkXhxmIGWY2r lUNdT9GpuGlolAOfUEQgsWR9ggSb2ABdnFJW9ecyH7ByDDeDioMLZsM0EFR/NfPgVEo9 Th+HhyStSJ1vvG9GpeQlwaKc4XQ7gZ2rk6bgL/s5En7rtryd9o6PYtnen2nBujecAdM9 mxqQ== X-Gm-Message-State: AOAM531WdzuyReqJD3nCBO42qXe9Ld9m6CrDMxpo98k0ASHeFSn0gaCb OtaFR6MDeZc1F7/pzG/JzzE0vA== X-Google-Smtp-Source: ABdhPJx2brafkoTxO86LGF4NF4NAR5mM8Yt2t3HnOcAeUkwCUuhhfyzBD9EBsET+nZ0JzoJwv2dtaA== X-Received: by 2002:ac2:5cdb:: with SMTP id f27mr19807559lfq.317.1619682587729; Thu, 29 Apr 2021 00:49:47 -0700 (PDT) Received: from toster (89-73-146-138.dynamic.chello.pl. [89.73.146.138]) by smtp.gmail.com with ESMTPSA id b17sm444673lfv.34.2021.04.29.00.49.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Apr 2021 00:49:47 -0700 (PDT) Date: Thu, 29 Apr 2021 09:49:45 +0200 From: Stanislaw Kardach To: Honnappa Nagarahalli Cc: Bruce Richardson , "Ananyev, Konstantin" , "Yigit, Ferruh" , Stephen Hemminger , Jerin Jacob , Kathleen Capella , "thomas@monjalon.net" , "dev@dpdk.org" , Dharmik Thakkar , Ruifeng Wang , "david.marchand@redhat.com" , "jerinj@marvell.com" , "hemant.agrawal@nxp.com" , Stephen Hemminger , nd Message-ID: <20210429074945.alquywrvyxjdezqi@toster> References: <20210426104720.2b892045@hermes.local> <81781e97-735c-f584-4148-ff07dedc5cb4@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Subject: Re: [dpdk-dev] L3fwd mode in testpmd 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 Wed, Apr 28, 2021 at 09:44:54PM +0000, Honnappa Nagarahalli wrote: > [Honnappa] Sorry, I do not understand this. I see that vector code is under compile time flag as below > > #if defined RTE_ARCH_X86 || defined __ARM_NEON > l3fwd_em_send_packets(nb_rx, pkts_burst, > portid, qconf); > #else > l3fwd_em_no_opt_send_packets(nb_rx, pkts_burst, > portid, qconf); > #endif Take a look at the ifdef tree at the top of l3fwd_em.c, here: http://git.dpdk.org/dpdk/tree/examples/l3fwd/l3fwd_em.c#n218 #if defined(__SSE2__) ... #else #error No vector engine (SSE, NEON, ALTIVEC) available, check your toolchain #endif -- Best Regards, Stanislaw Kardach