+116
−0
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
Introducing the base data structure and its operations that are
going to represent ConnectX-4 Flow Steering, this data structure
is basically a tree and all Flow steering objects such as
(Flow Table/Flow Group/FTE/etc ..) are represented as fs_node(s).
fs_node is the base object which describes a basic tree node, with the
following extra info:
type: describes the runtime type of the node (Object).
lock: lock this node sub-tree.
ref_count: number of children + current references.
remove_func: a generic destructor.
fs_node types will be used and explained once the usage is added in the
following patches.
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>