]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5_core: Initialize namespaces only when supported by device
authorMaor Gottlieb <maorg@mellanox.com>
Mon, 11 Jan 2016 08:26:03 +0000 (10:26 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 11 Jan 2016 22:48:53 +0000 (17:48 -0500)
commitf8ed814c9d26b62be9d25695c32109b2bf5138d3
tree6639b6b1b42995999ec5a0b833ef2e0c92881b3f
parent7ca2a5a0cc4d63be842b02f0eace0ff56f843f0a
net/mlx5_core: Initialize namespaces only when supported by device

Before we create the sub tree of a steering namespaces(kernel, bypass,
leftovers) we check that the device has the required capabilities
in order to create this subtree.

Signed-off-by: Maor Gottlieb <maorg@mellanox.com>
Signed-off-by: Moni Shoua <monis@mellanox.com>
Signed-off-by: Matan Barak <matanb@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx5/core/fs_core.c