• A
    IB/uverbs: Introduce a MPLS steering match filter · b04f0f03
    Ariel Levkovich 提交于
    Add a new MPLS steering match filter that can match against
    a single MPLS tag field.
    
    Since the MPLS header can reside in different locations in the packet's
    protocol stack as well as be encapsulated with a tunnel protocol, it
    is required to know the exact location of the header in the protocol
    stack.
    
    Therefore, when including the MPLS protocol spec in the specs list,
    it is mandatory to provide the list in an ordered manner, so
    that it represents the actual header order in a matching packet.
    
    Drivers that process the spec list and apply the matching rule
    should treat the position of the MPLS spec in the spec list as the
    actual location of the MPLS label in the packet's protocol stack.
    Reviewed-by: NMark Bloch <markb@mellanox.com>
    Signed-off-by: NAriel Levkovich <lariel@mellanox.com>
    Signed-off-by: NLeon Romanovsky <leonro@mellanox.com>
    Signed-off-by: NJason Gunthorpe <jgg@mellanox.com>
    b04f0f03
ib_verbs.h 113.7 KB