]> 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)
commit78a65f9f59c6fe9cb17ce2d4bb958842fa35943f
tree6fef2c04926d318ecd4193e8e2b8e80232dabd92
parent7876adc99cc845c143bb81567bcc534cc3595d77
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