diff options
author | Maor Gottlieb <maorg@mellanox.com> | 2016-08-28 14:16:31 +0300 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2016-10-07 16:54:15 -0400 |
commit | 5497adc63213e2b9b27c23e42a33e259d59bfe28 (patch) | |
tree | 895878496ec7c3691639a049b1e514512b438b61 /drivers/infiniband/hw/mlx5/mlx5_ib.h | |
parent | 7055a29471eebf4b62687944694222635ed44b09 (diff) | |
download | op-kernel-dev-5497adc63213e2b9b27c23e42a33e259d59bfe28.zip op-kernel-dev-5497adc63213e2b9b27c23e42a33e259d59bfe28.tar.gz |
IB/mlx5: Save flow table priority handler instead of index
Saving the flow table priority object's pointer in the flow handle
is necessary for downstream patches since the sniffer flow table isn't
placed at the standard flow_db structure but in a different database.
Signed-off-by: Maor Gottlieb <maorg@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/hw/mlx5/mlx5_ib.h')
-rw-r--r-- | drivers/infiniband/hw/mlx5/mlx5_ib.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/mlx5/mlx5_ib.h b/drivers/infiniband/hw/mlx5/mlx5_ib.h index a59034a..a24cc20 100644 --- a/drivers/infiniband/hw/mlx5/mlx5_ib.h +++ b/drivers/infiniband/hw/mlx5/mlx5_ib.h @@ -150,7 +150,7 @@ struct mlx5_ib_flow_prio { struct mlx5_ib_flow_handler { struct list_head list; struct ib_flow ibflow; - unsigned int prio; + struct mlx5_ib_flow_prio *prio; struct mlx5_flow_rule *rule; }; |