Skip to content
  • Maor Gottlieb's avatar
    net/mlx5_core: Connect flow tables · f90edfd2
    Maor Gottlieb authored
    
    
    Flow tables from different priorities should be chained together.
    When a packet arrives we search for a match in the
    by-pass flow tables (first we search for a match in priority 0
    and if we don't find a match we move to the next priority).
    If we can't find a match in any of the bypass flow-tables, we continue
    searching in the flow-tables of the next priority, which are the
    kernel's flow tables.
    
    Setting the miss flow table in a new flow table to be the next one in
    the list is performed via create flow table API. If we want to change an
    existing flow table, for example in order to point from an
    existing flow table to the new next-in-list flow table, we use the
    modify flow table API.
    
    Signed-off-by: default avatarMaor Gottlieb <maorg@mellanox.com>
    Signed-off-by: default avatarMoni Shoua <monis@mellanox.com>
    Signed-off-by: default avatarMatan Barak <matanb@mellanox.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    f90edfd2