]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net/mlx5: Add interface to hold and release core resources
authorMoni Shoua <monis@mellanox.com>
Thu, 8 Nov 2018 19:10:10 +0000 (21:10 +0200)
committerLeon Romanovsky <leonro@mellanox.com>
Mon, 12 Nov 2018 20:20:29 +0000 (22:20 +0200)
commit27e95603f4dfec470c6d26bea5174aa71b30e971
tree7e8a2a7d6c5d71ecd3a88e302607352220c4edea
parent698114968a22f6c0c9f42e983ba033cc36bb7217
net/mlx5: Add interface to hold and release core resources

Sometimes upper layers may want to prevent the destruction of a core
resource for a period of time while work on that resource is in
progress.  Add API to support this.

Signed-off-by: Moni Shoua <monis@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/qp.c
include/linux/mlx5/qp.h