From: Jerin Jacob <jerinjacobk@gmail.com>
To: psatheesh@marvell.com
Cc: Nithin Dabilpuram <ndabilpuram@marvell.com>,
Kiran Kumar K <kirankumark@marvell.com>,
Sunil Kumar Kori <skori@marvell.com>,
Satha Rao <skoteshwar@marvell.com>,
Harman Kalra <hkalra@marvell.com>,
dev@dpdk.org
Subject: Re: [dpdk-dev] [PATCH v2 2/2] net/cnxk: support rte flow on cn20k
Date: Mon, 4 Nov 2024 16:59:18 +0530 [thread overview]
Message-ID: <CALBAE1M0x+4z=9UM+mXjmyzt7fG9+VNNdSvNmS91AxL+S2c-jw@mail.gmail.com> (raw)
In-Reply-To: <20241029073106.2620920-2-psatheesh@marvell.com>
On Tue, Oct 29, 2024 at 1:01 PM <psatheesh@marvell.com> wrote:
>
> From: Satheesh Paul <psatheesh@marvell.com>
>
> Support for rte flow in cn20k.
>
> Signed-off-by: Satheesh Paul <psatheesh@marvell.com>
> Reviewed-by: Kiran Kumar K <kirankumark@marvell.com>
> 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 <cnxk_flow.h>
> +
> +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
prev parent reply other threads:[~2024-11-04 11:29 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-21 4:01 [dpdk-dev] [PATCH 1/2] common/cnxk: support NPC " psatheesh
2024-10-21 4:01 ` [dpdk-dev] [PATCH 2/2] net/cnxk: support rte " psatheesh
2024-10-21 17:09 ` Stephen Hemminger
2024-10-29 7:31 ` [dpdk-dev] [PATCH v2 1/2] common/cnxk: support NPC " psatheesh
2024-10-29 7:31 ` [dpdk-dev] [PATCH v2 2/2] net/cnxk: support rte " psatheesh
2024-11-04 11:29 ` Jerin Jacob [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CALBAE1M0x+4z=9UM+mXjmyzt7fG9+VNNdSvNmS91AxL+S2c-jw@mail.gmail.com' \
--to=jerinjacobk@gmail.com \
--cc=dev@dpdk.org \
--cc=hkalra@marvell.com \
--cc=kirankumark@marvell.com \
--cc=ndabilpuram@marvell.com \
--cc=psatheesh@marvell.com \
--cc=skori@marvell.com \
--cc=skoteshwar@marvell.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).