diff options
author | Maor Gottlieb | 2015-12-10 16:12:44 +0100 |
---|---|---|
committer | David S. Miller | 2015-12-12 06:15:24 +0100 |
commit | 86d722ad2c3bd2f0536b196b7fd67ae2a7e2a492 (patch) | |
tree | 47690b3e2490ac45a9c15abc7a73f36124611f6e /drivers/net/ethernet/mellanox/mlx5/core/en_main.c | |
parent | net/mlx5_core: Flow steering tree initialization (diff) | |
download | kernel-qcow2-linux-86d722ad2c3bd2f0536b196b7fd67ae2a7e2a492.tar.gz kernel-qcow2-linux-86d722ad2c3bd2f0536b196b7fd67ae2a7e2a492.tar.xz kernel-qcow2-linux-86d722ad2c3bd2f0536b196b7fd67ae2a7e2a492.zip |
net/mlx5: Use flow steering infrastructure for mlx5_en
Expose the new flow steering API and remove the old
one.
Few changes are required:
1. The Ethernet flow steering follows the existing implementation, but uses
the new steering API. The old flow steering implementation is removed.
2. Move the E-switch FDB management to use the new API.
3. When driver is loaded call to mlx5_init_fs which initialize
the flow steering tree structure, open namespaces for NIC receive
and for E-switch FDB.
4. Call to mlx5_cleanup_fs when the driver is unloaded.
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: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx5/core/en_main.c')
-rw-r--r-- | drivers/net/ethernet/mellanox/mlx5/core/en_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/mellanox/mlx5/core/en_main.c b/drivers/net/ethernet/mellanox/mlx5/core/en_main.c index a20be56df553..d4601a564699 100644 --- a/drivers/net/ethernet/mellanox/mlx5/core/en_main.c +++ b/drivers/net/ethernet/mellanox/mlx5/core/en_main.c @@ -30,7 +30,7 @@ * SOFTWARE. */ -#include <linux/mlx5/flow_table.h> +#include <linux/mlx5/fs.h> #include "en.h" #include "eswitch.h" |