]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
net/mlx5: Fix MLX5_CMD_OP_MAX to be defined correctly
authorShahar Klein <shahark@mellanox.com>
Thu, 9 Jun 2016 21:07:30 +0000 (00:07 +0300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 10 Jun 2016 05:06:25 +0000 (22:06 -0700)
commit86d56a1a6b7352542661d8a9463758c7f285fce3
tree0dd1abea9eca3e6eff9d1b05f41838195b066626
parent9cd3411c42c5d5ba55d6e745edfe7df53c1ffa41
net/mlx5: Fix MLX5_CMD_OP_MAX to be defined correctly

Having MLX5_CMD_OP_MAX on another file causes us to repeatedly miss
accounting new commands added to the driver and hence there're no entries
for them in debugfs. To solve that, we integrate it into the commands enum
as the last entry.

Fixes: 34a40e689393 ('net/mlx5_core: Introduce modify flow table command')
Signed-off-by: Shahar Klein <shahark@mellanox.com>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/mlx5/device.h
include/linux/mlx5/mlx5_ifc.h