On Thu, Aug 31, 2017 at 6:51 AM, Hannes Frederic Sowa <han...@stressinduktion.org> wrote: > Saeed Mahameed <sae...@mellanox.com> writes: > >> The first patch from Gal and Ariel provides the mlx5 driver support for >> ConnectX capability to perform IP version identification and matching in >> order to distinguish between IPv4 and IPv6 without the need to specify the >> encapsulation type, thus perform RSS in MPLS automatically without >> specifying MPLS ethertyoe. This patch will also serve for inner GRE IPv4/6 >> classification for inner GRE RSS. > > I don't think this is legal at all or did I misunderstood something? > > <https://tools.ietf.org/html/rfc3032#section-2.2>
It seems you misunderstood the cover letter. The HW will still identify MPLS (IPv4/IPv6) packets using a new bit we specify in the HW steering rules rather than adding new specific rules with {MPLS ethertype} X {IPv4,IPv6} to classify MPLS IPv{4,6} traffic, Same functionality a better and general way to approach it. Bottom line the hardware is capable of processing MPLS headers and perform RSS on the inner packet (IPv4/6) without the need of the driver to provide precise steering MPLS rules. > > Thanks, > Hannes