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 05CE1A00C4; Thu, 20 Jan 2022 05:53:56 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 89B01410E5; Thu, 20 Jan 2022 05:53:56 +0100 (CET) Received: from mail-il1-f180.google.com (mail-il1-f180.google.com [209.85.166.180]) by mails.dpdk.org (Postfix) with ESMTP id 021EA40042 for ; Thu, 20 Jan 2022 05:53:54 +0100 (CET) Received: by mail-il1-f180.google.com with SMTP id r16so4065435ile.8 for ; Wed, 19 Jan 2022 20:53:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=U8dJaEv+jsk2UW0w5FKGOQB1YpwNoBG2Cnx9r2zjt/s=; b=oOZ75iofdYEtA8s1a3IO+Q1hnks1JMyHvBAVukSXGMqu2YpMydoRdHdlcINRcnH0u5 W6Bdh7+8qT9tRzaaC4bML63SIBCSPQ56k0GY0JXRXSVh7Eyo0/GxM7iRMJE3IvTnv0ZP XF2kKwCvvVYnVkK3p2kN06VBxMTfDpuGDRWV5J3EElngXQbR6VRrHPyA+jQHM9YvXnC1 iUE1R41tYNjLLBhQmVgn1hfZQXZPGTNgIAm2u37Z21YTA99DWakK7P+LW2Ekj4QrtBWM ju+IzgGUqznt6ZmMJeLyOP4yhQeizclKPBgtpc0vLXaAja5UyLkBCLnxuP+RyaORMNIu KNLA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=U8dJaEv+jsk2UW0w5FKGOQB1YpwNoBG2Cnx9r2zjt/s=; b=Ed7LNBBAYmpio2VGa+8cfDg1oRTBXPFLTvO7VLxSknL8UoAw6y6Zrufj6IRLo8Ff+b 2Ym1PjsFoKPBo7wOqXcdgnjae2EBb8Dlhs8Cj8VuqR6I+sDsLhTNt/ZYr/Zlujq1zKyK +2BQD+29wMh0jJ/aEjwdCUReydFvN5oJizK/kbKNUcsZoHsUMGtj2AdGAl7SDxWtadjj j07RvuSZoLuEO79Lh3ThdnO0uVGOhohm7FYWQYh1XsUeFK7jPNMQlPJ5M1/Kx1GLNjgN I66rHoSUeizoO97v6dRLF8hW9cdIXVAHYNo/wYhygyf7a+dMlVvSRgAhoo3+6ok3xD5o Zy5Q== X-Gm-Message-State: AOAM532vvrhieXOUm0cozT9kXBA2U/kRCAoeYX6mcbf+zMqtrPDh0EEt 3n6PFKsMXnUoGLLc/Dklp0HpNlFpgJ7pM9h5VoI= X-Google-Smtp-Source: ABdhPJy5jEtvP2N0Jt5hyiRLeP89YLEbO6xI6I6OKLp3QxJZKJSQeZlm6kjHe4FLXXQbkHVSfIsTHQk08cUAEoW5Umg= X-Received: by 2002:a92:cd87:: with SMTP id r7mr914944ilb.192.1642654434114; Wed, 19 Jan 2022 20:53:54 -0800 (PST) MIME-Version: 1.0 References: <20211213082226.3646-1-pbhagavatula@marvell.com> <20211213082226.3646-2-pbhagavatula@marvell.com> In-Reply-To: <20211213082226.3646-2-pbhagavatula@marvell.com> From: Jerin Jacob Date: Thu, 20 Jan 2022 10:23:27 +0530 Message-ID: Subject: Re: [PATCH 2/8] net/cnxk: add CN9K template Rx functions to build To: Pavan Nikhilesh Cc: Jerin Jacob , Thomas Monjalon , David Marchand , Shijith Thotton , Nithin Dabilpuram , Kiran Kumar K , Sunil Kumar Kori , Satha Rao , Anatoly Burakov , dpdk-dev Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 Mon, Dec 13, 2021 at 1:52 PM wrote: > > From: Pavan Nikhilesh > > Add CN9K seggeregated Rx and event dequeue functions to build, Fix typo > add macros to make future modifications simpler. > > Signed-off-by: Pavan Nikhilesh Please rebase to latest next-net-mrvl. There is a build issue now. ccache gcc -Idrivers/libtmp_rte_net_cnxk.a.p -Idrivers -I../drivers -Idrivers/net/cnxk -I../drivers/net/cnxk -Ilib/ethdev -I../lib/ethdev -I. -I.. -Iconfig -I../config -Ilib/eal/include -I../lib/eal/include -Ilib/eal/linux/include -I../lib/ eal/linux/include -Ilib/eal/x86/include -I../lib/eal/x86/include -Ilib/eal/common -I../lib/eal/common -Ilib/eal -I../lib/eal -Ilib/kvargs -I../lib/kvargs -Ilib/metrics -I../lib/metrics -Ilib/telemetry -I../lib/telemetry -Ilib/net -I../lib/n et -Ilib/mbuf -I../lib/mbuf -Ilib/mempool -I../lib/mempool -Ilib/ring -I../lib/ring -Ilib/meter -I../lib/meter -Idrivers/bus/pci -I../drivers/bus/pci -I../drivers/bus/pci/linux -Ilib/pci -I../lib/pci -Idrivers/bus/vdev -I../drivers/bus/vdev -Ilib/cryptodev -I../lib/cryptodev -Ilib/rcu -I../lib/rcu -Ilib/eventdev -I../lib/eventdev -Ilib/hash -I../lib/hash -Ilib/timer -I../lib/timer -Ilib/security -I../lib/security -Idrivers/common/cnxk -I../drivers/common/cnxk -Idrivers/mempoo l/cnxk -I../drivers/mempool/cnxk -fdiagnostics-color=3Dalways -D_FILE_OFFSET_BITS=3D64 -Wall -Winvalid-pch -Werror -O2 -g -include rte_config.h -Wextra -Wcast-qual -Wdeprecated -Wformat -Wformat-nonliteral -Wformat-security -Wmissing-declaratio ns -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpointer-arith -Wsign-compare -Wstrict-prototypes -Wundef -Wwrite-strings -Wno-address-of-packed-member -Wno-packed-not-aligned -Wno-missing-field-initializers -Wno-zero-lengt h-bounds -D_GNU_SOURCE -fPIC -march=3Dnative -DALLOW_EXPERIMENTAL_API -DALLOW_INTERNAL_API -Wno-format-truncation -flax-vector-conversions -Wno-strict-aliasing -DRTE_LOG_DEFAULT_LOGTYPE=3Dpmd.net.cnxk -MD -MQ drivers/libtmp_rte_net_cnxk.a.p/net _cnxk_cn9k_rx_select.c.o -MF drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cn9k_rx_select.c.o.d -o drivers/libtmp_rte_net_cnxk.a.p/net_cnxk_cn9k_rx_select.c.o -c ../drivers/net/cnxk/cn9k_rx_select.c ../drivers/net/cnxk/cn9k_rx_select.c: In function =E2=80=98cn9k_eth_set_rx_= function=E2=80=99: ../drivers/net/cnxk/cn9k_rx_select.c:59:27: error: "DEV_RX_OFFLOAD_SCATTER" is deprecated [-Werror] 59 | if (dev->rx_offloads & DEV_RX_OFFLOAD_SCATTER) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../drivers/net/cnxk/cn9k_rx_select.c:64:20: error: "DEV_RX_OFFLOAD_SCATTER" is deprecated [-Werror] 64 | if (dev->rx_offloads & DEV_RX_OFFLOAD_SCATTER) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~