From: Eimear Morrissey <eimear.morrissey@huawei.com>
To: Stephen Hemminger <stephen@networkplumber.org>
Cc: "dev@dpdk.org" <dev@dpdk.org>
Subject: RE: [PATCH] lib/net: Add ICMP support to rte_net_get_ptype()
Date: Fri, 31 Oct 2025 12:32:18 +0000 [thread overview]
Message-ID: <03abaccc37f14f4c8955580784f30cbe@huawei.com> (raw)
In-Reply-To: <20251015102947.4614244f@hermes.local>
> -----Original Message-----
> From: Stephen Hemminger <stephen@networkplumber.org>
> Sent: Wednesday 15 October 2025 18:30
> To: Eimear Morrissey <eimear.morrissey@huawei.com>
> Cc: dev@dpdk.org
> Subject: Re: [PATCH] lib/net: Add ICMP support to rte_net_get_ptype()
>
> On Thu, 9 Oct 2025 16:27:40 +0100
> Eimear Morrissey <eimear.morrissey@huawei.com> wrote:
>
> > Set RTE_PTYPE_L4_ICMP for ICMP packets.
> >
> > Signed-off-by: Eimear Morrissey <eimear.morrissey@huawei.com>
>
> Would be good to do ICMP6 as well.
Should an ICMPv6 packet be RTE_PTYPE_L4_ICMP/RTE_PTYPE_INNER_L4_ICMP as well?
The comments in rte_mbuf_ptype.h are inconsistent, the top level comment with examples suggests that 'version'=6, 'next header'=0x3A
should be RTE_PYTPE_INNER_L4_ICMP but the comment on RTE_PTYPE_INNER_L4_ICMP itself says 'version'=6, 'next header'=1 ?
-Eimear
prev parent reply other threads:[~2025-11-04 0:10 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-10-09 15:27 Eimear Morrissey
2025-10-15 17:29 ` Stephen Hemminger
2025-10-31 12:32 ` Eimear Morrissey [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=03abaccc37f14f4c8955580784f30cbe@huawei.com \
--to=eimear.morrissey@huawei.com \
--cc=dev@dpdk.org \
--cc=stephen@networkplumber.org \
/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).