IB/mlx5: Expose more priorities for bypass namespace
authorMark Bloch <markb@mellanox.com>
Tue, 13 Mar 2018 13:18:46 +0000 (15:18 +0200)
committerDoug Ledford <dledford@redhat.com>
Wed, 14 Mar 2018 20:05:16 +0000 (16:05 -0400)
commit72f7cc09b143cf972c8c7571fc95d1017ba76c3d
tree125702db7da7cf891d265296b7ccb0cb2005fe43
parentc62adb7def71d7e0b4ba44f8da81a448eb53d6d5
IB/mlx5: Expose more priorities for bypass namespace

BYPASS namespace is used by the RDMA side to insert flow rules into
the vport RX flow tables. Currently only 8 priorities are exposed,
increase this to 16 to allow more flexibility. This change will also
cause the BYPASS namespace to use 32 levels (as apposed to 16 today) of
flow tables, 16 levels for regular rules and 16 for don't trap rules.

Reviewed-by: Maor Gottlieb <maorg@mellanox.com>
Signed-off-by: Mark Bloch <markb@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>
include/linux/mlx5/device.h