• M
    net/mlx5_core: Introduce forward to next priority action · b3638e1a
    Maor Gottlieb 提交于
    Add support to create flow rule that forward packets
    to the first flow table in the next priority (next priority
    could be the first priority in the next namespace or the
    next priority in the same namespace).
    This feature could be used for DONT_TRAP rules or rules
    that only want to mark the packet with flow tag.
    
    In order to do it optimally, each flow table has list
    of all rules that point to this flow table,
    when a flow table is destroyed/created, we update the list
    head correspondingly.
    
    This kind of rule is created when destination is NULL and
    action is MLX5_FLOW_CONTEXT_ACTION_FWD_NEXT_PRIO.
    Signed-off-by: NMaor Gottlieb <maorg@mellanox.com>
    Reviewed-by: NMatan Barak <matanb@mellanox.com>
    Signed-off-by: NDoug Ledford <dledford@redhat.com>
    b3638e1a
mlx5_ifc.h 158.3 KB