[dpdk-dev] [PATCH v2 01/11] ethdev: add extensions attributes to IPv6 item

Ori Kam orika at nvidia.com
Sun Oct 4 15:45:38 CEST 2020


Hi

> -----Original Message-----
> From: Dekel Peled <dekelp at nvidia.com>
> Sent: Friday, October 2, 2020 12:15 AM
> Subject: [PATCH v2 01/11] ethdev: add extensions attributes to IPv6 item
> 
> Using the current implementation of DPDK, an application cannot match on
> IPv6 packets, based on the existing extension headers, in a simple way.
> 
> Field 'Next Header' in IPv6 header indicates type of the first extension
> header only. Following extension headers can't be identified by
> inspecting the IPv6 header.
> As a result, the existence or absence of specific extension headers
> can't be used for packet matching.
> 
> For example, fragmented IPv6 packets contain a dedicated extension header
> (which is implemented in a later patch of this series).
> Non-fragmented packets don't contain the fragment extension header.
> For an application to match on non-fragmented IPv6 packets, the current
> implementation doesn't provide a suitable solution.
> Matching on the Next Header field is not sufficient, since additional
> extension headers might be present in the same packet.
> To match on fragmented IPv6 packets, the same difficulty exists.
> 
> This patch implements the update as detailed in RFC [1].
> A set of additional values will be added to IPv6 header struct.
> These values will indicate the existence of every defined extension
> header type, providing simple means for identification of existing
> extensions in the packet header.
> Continuing the above example, fragmented packets can be identified using
> the specific value indicating existence of fragment extension header.
> 
> [1]
> https://nam11.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmails.dp
> dk.org%2Farchives%2Fdev%2F2020-
> August%2F177257.html&data=02%7C01%7Corika%40nvidia.com%7C1a92
> 82d24518485dd37508d8664f2634%7C43083d15727340c1b7db39efd9ccc17a%7
> C0%7C0%7C637371837412802968&sdata=7Jdz3yt3nsSrWYei69BwWro7cZ
> 0VwdnKZ0sfcD8MglQ%3D&reserved=0
> 
> Signed-off-by: Dekel Peled <dekelp at nvidia.com>
> ---

Acked-by: Ori Kam <orika at nvidia.com>
Thanks,
Ori


More information about the dev mailing list