net/mlx5e: Enforce max flow-tables level >= 3
authorGal Pressman <galp@mellanox.com>
Thu, 11 Jun 2015 11:47:30 +0000 (14:47 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 11 Jun 2015 22:55:25 +0000 (15:55 -0700)
commit796a27ec2d9f722ce5a08bd5b33f3c7712fb6127
treea639230fc89fdc87a34e29ddc6fa0feb971a7191
parentcd58c714acb98a186051dc7e620d1b7ef4843311
net/mlx5e: Enforce max flow-tables level >= 3

The Ethernet driver requires at least 3 flow table levels to
operate, enforce that.

Signed-off-by: Gal Pressman <galp@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx5/core/en_main.c