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 D58F045C76; Mon, 4 Nov 2024 12:29:45 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C665940BA4; Mon, 4 Nov 2024 12:29:45 +0100 (CET) Received: from mail-qt1-f179.google.com (mail-qt1-f179.google.com [209.85.160.179]) by mails.dpdk.org (Postfix) with ESMTP id 16A1840A79 for ; Mon, 4 Nov 2024 12:29:45 +0100 (CET) Received: by mail-qt1-f179.google.com with SMTP id d75a77b69052e-460ad0440ddso26225241cf.3 for ; Mon, 04 Nov 2024 03:29:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1730719784; x=1731324584; darn=dpdk.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=tf6/EXjlI/VPicmGa096cynojJQ+eULBtb/QmQi6cHk=; b=S6sL12qXPYHYqpCvV0KZugmOKwQKIMUiEUOne6TR3zWcUQ32/g52h06RvrAiJpcdLw PC9RGPtOWUhw73t8GR1gG0owZjdVC0fYknbZ60zWTNnTuXBeqnVx2Oe03aDkl/L1za4Q wsZ3zwd9Af2KpAu9MyvpWas2hp4c44oCbtlPwO1WRx3JYNMpzYLBduAFls/nLh5g3KLd y61FidJksCz5lt0lOf1ja4zmz7BbHSCUZ9VNoMj8r9TiAJWiyM1KHDma0oE3qUCb/X1t P7bCnTd5bjIgW2jw9l/iw5cXobvRSpzwKUKDSWiYNMZml4eeBfbzGxTSTcp/VU5izbXq 72RQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1730719784; x=1731324584; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=tf6/EXjlI/VPicmGa096cynojJQ+eULBtb/QmQi6cHk=; b=dlyqgt6vkOZHazfRYuJAQKg4dP2QGmSVs0raTIIBoDh3hf7DpzdL0LNTdNFeMGspt9 hx3iQPQnZB3A89ESKfTj1BW1yFFTHgxFc1xy4m2XEQHl/kEdy3P58TPKTP3VldwdIDEe K3xVJCNOa67UI/9HneKCWaNUtAMd0Raz5cVyzpHPbMvAyDcVeFv2vwgjaLg9wOsrW6Lh 3jPgrYrGFZCqcfSZGDul+voyLWwqTStZ5z9POAxDKqaXvdg4n64fRawN1xtAdojns355 NmOn66Hnh4nRABYZzqceBIh0Q2MNolH48AXqzNhor8JuagOjSCSzWahFedpqTZQXNDlS q+GA== X-Forwarded-Encrypted: i=1; AJvYcCXUVwNu2M8i7cNcfI6N/89A9s2eWRLiJ+vqCY4jPCeNSdcTMMaG9ixoj0O+Oqf/kICa7pE=@dpdk.org X-Gm-Message-State: AOJu0Yymhln1cZKY8ozVUblCJLYiDp0P5ylRadHlbvXaHI+LIjfLeAF6 aCk+DF0+y28BfWMXxWj9HGfUNcc5MF8k+4UETk+aZt2DI8DPIN/BqJLcX+XlCLJXLp/5i/+IYoe nerdGp4qSrzQ2YazlSFUT0rQofyc= X-Google-Smtp-Source: AGHT+IEv0uoTno8snKoPJwfi/C/5H1M0MI5saiWKPfWbKqJm4eSiHdYYZm68bzC3B8g3wFSH2hGIFzfx4VLsVURmNsM= X-Received: by 2002:ac8:67d2:0:b0:462:25ce:5643 with SMTP id d75a77b69052e-46225ce575emr204526121cf.36.1730719784394; Mon, 04 Nov 2024 03:29:44 -0800 (PST) MIME-Version: 1.0 References: <20241021040144.974453-1-psatheesh@marvell.com> <20241029073106.2620920-1-psatheesh@marvell.com> <20241029073106.2620920-2-psatheesh@marvell.com> In-Reply-To: <20241029073106.2620920-2-psatheesh@marvell.com> From: Jerin Jacob Date: Mon, 4 Nov 2024 16:59:18 +0530 Message-ID: Subject: Re: [dpdk-dev] [PATCH v2 2/2] net/cnxk: support rte flow on cn20k To: psatheesh@marvell.com Cc: Nithin Dabilpuram , Kiran Kumar K , Sunil Kumar Kori , Satha Rao , Harman Kalra , dev@dpdk.org 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 Tue, Oct 29, 2024 at 1:01=E2=80=AFPM wrote: > > From: Satheesh Paul > > Support for rte flow in cn20k. > > Signed-off-by: Satheesh Paul > Reviewed-by: Kiran Kumar K > index 0000000000..af2eee7266 > --- /dev/null > +++ b/drivers/net/cnxk/cnxk_flow_wrapper.c > @@ -0,0 +1,303 @@ > +/* SPDX-License-Identifier: BSD-3-Clause > + * Copyright(C) 2024 Marvell. > + */ > + > +#ifdef CNXK_PLATFORM_CN10K > +#include "cn10k_ethdev.h" > +#include "cn10k_rx.h" > +#endif > +#ifdef CNXK_PLATFORM_CN20K > +#include "cn20k_ethdev.h" > +#include "cn20k_rx.h" > +#endif > +#include "cnxk_ethdev_mcs.h" > +#include "cnxk_flow_wrapper.h" > +#include > + > +static void > +cnxk_eth_set_rx_function(struct rte_eth_dev *eth_dev) > +{ > + RTE_SET_USED(eth_dev); > +#ifdef CNXK_PLATFORM_CN10K > + cn10k_eth_set_rx_function(eth_dev); > +#endif > +#ifdef CNXK_PLATFORM_CN20K > + cn20k_eth_set_rx_function(eth_dev); > +#endif Please work to remove compile time macros