diff options
author | Maor Gottlieb <maorg@mellanox.com> | 2015-12-10 18:12:42 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-12-12 08:15:24 +0300 |
commit | 0c56b97503fdf027488897db5709e2557aa1592a (patch) | |
tree | dabeab960ede87f0f4ddf84f794bb577832b1f0b /include/linux/mlx5 | |
parent | 5e1626c09c615005e1edf9f971c20a35dc74efaa (diff) | |
download | linux-0c56b97503fdf027488897db5709e2557aa1592a.tar.xz |
net/mlx5_core: Introduce flow steering API
Introducing the following objects:
mlx5_flow_root_namespace: represent the root of specific flow table
type tree(e.g NIC receive, FDB, etc..)
mlx5_flow_group: define the mask of the flow specification.
fs_fte(flow steering flow table entry): defines the value of the
flow specification.
The following describes the relationships between the tree objects:
root_namespace --> priorities -->namespaces -->
priorities -->flow-tables --> flow-groups -->
flow-entries --> destinations
When we create new object(flow table/flow group/flow table entry), we
call to the FW command and then we add the related sw object to the tree.
When we destroy object, e.g. call to mlx5_destroy_flow_table, we use
the tree node destructor for destroying the FW object and remove the
node from the tree.
Signed-off-by: Maor Gottlieb <maorg@mellanox.com>
Signed-off-by: Moni Shoua <monis@mellanox.com>
Signed-off-by: Matan Barak <matanb@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/mlx5')
0 files changed, 0 insertions, 0 deletions