]> git.proxmox.com Git - mirror_ubuntu-zesty-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)
commita257b94a18f7eb60bbe9b5fd415d208ac71d49ea
tree6fef2c04926d318ecd4193e8e2b8e80232dabd92
parentd745098cedb3f5c6a554796d4a3a505abd4ebaa6
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