diff options
author | Saeed Mahameed <saeedm@mellanox.com> | 2015-04-02 10:07:34 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-04-02 16:33:43 -0400 |
commit | 64613d9499c4887485d4350387919ea507330d90 (patch) | |
tree | 6b1186f8509add5e36e87122813b53c86ab6987a /drivers/infiniband/hw | |
parent | ce0f75093282c5dca1e79ae3e3e893deaea86166 (diff) |
net/mlx5_core: Extend struct mlx5_interface to support multiple protocols
Preparation for ethernet driver.
Signed-off-by: Achiad Shochat <achiad@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: Eli Cohen <eli@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/infiniband/hw')
-rw-r--r-- | drivers/infiniband/hw/mlx5/main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/infiniband/hw/mlx5/main.c b/drivers/infiniband/hw/mlx5/main.c index e59e2a1f8726..57c9809e8b87 100644 --- a/drivers/infiniband/hw/mlx5/main.c +++ b/drivers/infiniband/hw/mlx5/main.c | |||
@@ -1362,6 +1362,7 @@ static struct mlx5_interface mlx5_ib_interface = { | |||
1362 | .add = mlx5_ib_add, | 1362 | .add = mlx5_ib_add, |
1363 | .remove = mlx5_ib_remove, | 1363 | .remove = mlx5_ib_remove, |
1364 | .event = mlx5_ib_event, | 1364 | .event = mlx5_ib_event, |
1365 | .protocol = MLX5_INTERFACE_PROTOCOL_IB, | ||
1365 | }; | 1366 | }; |
1366 | 1367 | ||
1367 | static int __init mlx5_ib_init(void) | 1368 | static int __init mlx5_ib_init(void) |