diff options
author | Mark Bloch <markb@mellanox.com> | 2016-08-31 11:24:25 +0000 |
---|---|---|
committer | Leon Romanovsky <leon@kernel.org> | 2016-10-30 15:43:17 +0200 |
commit | 74491de937125d0c98c9b9c9208b4105717a3caa (patch) | |
tree | 6e65856d0f70d4b93dd6e3e51429b54bd4e52702 /Documentation/hwmon | |
parent | a62249857779733dc7cb5d43d6ecdc35fa81b88f (diff) | |
download | linux-stable-74491de937125d0c98c9b9c9208b4105717a3caa.tar.gz linux-stable-74491de937125d0c98c9b9c9208b4105717a3caa.tar.bz2 linux-stable-74491de937125d0c98c9b9c9208b4105717a3caa.zip |
net/mlx5: Add multi dest support
Currently when calling mlx5_add_flow_rule we accept
only one flow destination, this commit allows to pass
multiple destinations.
This change forces us to change the return structure to a more
flexible one. We introduce a flow handle (struct mlx5_flow_handle),
it holds internally the number for rules created and holds an array
where each cell points the to a flow rule.
From the consumers (of mlx5_add_flow_rule) point of view this
change is only cosmetic and requires only to change the type
of the returned value they store.
From the core point of view, we now need to use a loop when
allocating and deleting rules (e.g given to us a flow handler).
Signed-off-by: Mark Bloch <markb@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'Documentation/hwmon')
0 files changed, 0 insertions, 0 deletions