From: Ferruh Yigit <ferruh.yigit@amd.com>
To: Chaoyong He <chaoyong.he@corigine.com>, dev@dpdk.org
Cc: oss-drivers@corigine.com, Long Wu <long.wu@corigine.com>
Subject: Re: [PATCH v2] net/nfp: implement the device packet type set interface
Date: Fri, 27 Sep 2024 01:49:14 +0100 [thread overview]
Message-ID: <fb359d08-f600-4266-b431-801c84d4d09c@amd.com> (raw)
In-Reply-To: <20240926071620.3366399-1-chaoyong.he@corigine.com>
On 9/26/2024 8:16 AM, Chaoyong He wrote:
> From: Long Wu <long.wu@corigine.com>
>
> Using the Rx packet offload flag rather than the device
> capability to control the packet type offload configuration.
> Also implement the device packet type set interface to
> let application can set the Rx packet offload flag.
>
> Signed-off-by: Long Wu <long.wu@corigine.com>
> Reviewed-by: Chaoyong He <chaoyong.he@corigine.com>
>
> ---
> V2:
> * Following the advice from reviewer, abandon the modification of RTE
> layer.
> ---
> drivers/net/nfp/nfp_ethdev.c | 1 +
> drivers/net/nfp/nfp_net_common.c | 42 +++++++++++++++++++++++++++++++-
> drivers/net/nfp/nfp_net_common.h | 1 +
> 3 files changed, 43 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/net/nfp/nfp_ethdev.c b/drivers/net/nfp/nfp_ethdev.c
> index bd35df2dc9..09c15eedac 100644
> --- a/drivers/net/nfp/nfp_ethdev.c
> +++ b/drivers/net/nfp/nfp_ethdev.c
> @@ -932,6 +932,7 @@ static const struct eth_dev_ops nfp_net_eth_dev_ops = {
> .xstats_get_names_by_id = nfp_net_xstats_get_names_by_id,
> .dev_infos_get = nfp_net_infos_get,
> .dev_supported_ptypes_get = nfp_net_supported_ptypes_get,
> + .dev_ptypes_set = nfp_net_ptypes_set,
>
Hi Chaoyong,
It looks like nfp support "Packet type parsing", can you please
advertise this feature in the nfp.ini?
I think it is OK to add it into this patch.
next prev parent reply other threads:[~2024-09-27 0:49 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-19 10:11 [PATCH 0/2] add Rx packet type offload control flag Chaoyong He
2024-06-19 10:11 ` [PATCH 1/2] ethdev: " Chaoyong He
2024-09-22 22:41 ` Ferruh Yigit
2024-09-24 2:03 ` Chaoyong He
2024-09-25 19:33 ` Ferruh Yigit
2024-09-26 2:15 ` Chaoyong He
2024-06-19 10:11 ` [PATCH 2/2] net/nfp: implement the device packet type set interface Chaoyong He
2024-09-26 7:16 ` [PATCH v2] " Chaoyong He
2024-09-27 0:49 ` Ferruh Yigit [this message]
2024-09-27 3:10 ` [PATCH v3] " Chaoyong He
2024-09-27 23:50 ` Ferruh Yigit
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=fb359d08-f600-4266-b431-801c84d4d09c@amd.com \
--to=ferruh.yigit@amd.com \
--cc=chaoyong.he@corigine.com \
--cc=dev@dpdk.org \
--cc=long.wu@corigine.com \
--cc=oss-drivers@corigine.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).