diff options
author | Maor Gottlieb | 2016-01-11 09:26:00 +0100 |
---|---|---|
committer | David S. Miller | 2016-01-11 23:48:52 +0100 |
commit | 34a40e689393a6b13673ab395a9a4d063d249fe9 (patch) | |
tree | fe8c29459996a4c0fe2ea0bbd2a0dfc77051def3 /drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.h | |
parent | net/mlx5_core: Managing root flow table (diff) | |
download | kernel-qcow2-linux-34a40e689393a6b13673ab395a9a4d063d249fe9.tar.gz kernel-qcow2-linux-34a40e689393a6b13673ab395a9a4d063d249fe9.tar.xz kernel-qcow2-linux-34a40e689393a6b13673ab395a9a4d063d249fe9.zip |
net/mlx5_core: Introduce modify flow table command
Introduce the modify flow table command. This command is used when
we want to change the next flow table of an existing flow table.
The next flow table is defined as the table we search (in order
to find a match), if we couldn't find a match in any of the flow table
entries in the current flow table.
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: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.h')
-rw-r--r-- | drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.h b/drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.h index 70d18ec145c2..1ae9b685c783 100644 --- a/drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.h +++ b/drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.h @@ -40,6 +40,10 @@ int mlx5_cmd_create_flow_table(struct mlx5_core_dev *dev, int mlx5_cmd_destroy_flow_table(struct mlx5_core_dev *dev, struct mlx5_flow_table *ft); +int mlx5_cmd_modify_flow_table(struct mlx5_core_dev *dev, + struct mlx5_flow_table *ft, + struct mlx5_flow_table *next_ft); + int mlx5_cmd_create_flow_group(struct mlx5_core_dev *dev, struct mlx5_flow_table *ft, u32 *in, unsigned int *group_id); |