• Roi Dayan's avatar
    net/mlx5e: Create new flow attr for multi table actions · 8300f225
    Roi Dayan authored
    Some TC actions use post actions for their implementation.
    For example CT and sample actions.
    
    Create a new flow attr after each multi table action and
    create a post action rule for it.
    
    First flow attr being offloaded normally and linked to the next
    attr (post action rule) with setting an id on reg_c.
    Post action rules match the id on reg_c and continue to the next one.
    
    The flow counter is allocated on the last rule.
    Signed-off-by: default avatarRoi Dayan <roid@nvidia.com>
    Signed-off-by: default avatarSaeed Mahameed <saeedm@nvidia.com>
    8300f225
act.h 3.1 KB