]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: Set number of allowed levels in priority
authorMaor Gottlieb <maorg@mellanox.com>
Thu, 28 Apr 2016 22:36:34 +0000 (01:36 +0300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 29 Apr 2016 20:29:09 +0000 (16:29 -0400)
commitae216c7d2de083095680a6c079d5092b8ca88437
tree6fef2c04926d318ecd4193e8e2b8e80232dabd92
parent335f911fa48f4761a7674c9a0bd035be99acabc4
net/mlx5: Set number of allowed levels in priority

Refactors the flow steering namespace creation,
by changing the name num_fts to num_levels.
When new flow table is created, the driver assign new level
to this flow table therefore the meaning is equivalent.
Since downstream patches will introduce the ability to create more
than one flow table per level, the name num_fts is no
longer accurate.

Signed-off-by: Maor Gottlieb <maorg@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx5/core/fs_core.c
drivers/net/ethernet/mellanox/mlx5/core/fs_core.h