]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
IB/mlx5: Make netdev notifications multiport capable
authorDaniel Jurgens <danielj@mellanox.com>
Thu, 4 Jan 2018 15:25:35 +0000 (17:25 +0200)
committerJason Gunthorpe <jgg@mellanox.com>
Mon, 8 Jan 2018 18:42:21 +0000 (11:42 -0700)
commit7fd8aefb7ce202dd9d97f752bf249be6215f1004
tree8b8a9e2d374cbb1dda7aa873a9ad2c7af28f53ac
parent508562d6f708888b10127c2892513f76ea8b22ba
IB/mlx5: Make netdev notifications multiport capable

When multiple RoCE ports are supported registration for events on
multiple netdevs is required. Refactor the event registration and
handling to support multiple ports.

Signed-off-by: Daniel Jurgens <danielj@mellanox.com>
Reviewed-by: Parav Pandit <parav@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/mlx5/main.c
drivers/infiniband/hw/mlx5/mlx5_ib.h
drivers/infiniband/hw/mlx5/qp.c
include/linux/mlx5/driver.h