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>
This commit is contained in:
Maor Gottlieb
2016-08-28 14:16:31 +03:00
gecommit door Doug Ledford
bovenliggende 7055a29471
commit 5497adc632
2 gewijzigde bestanden met toevoegingen van 3 en 3 verwijderingen

Bestand weergeven

@@ -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;
};