]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: Introduce inter-device communication mechanism
authorAviv Heller <avivh@mellanox.com>
Tue, 4 Dec 2018 19:24:46 +0000 (21:24 +0200)
committerSaeed Mahameed <saeedm@mellanox.com>
Fri, 14 Dec 2018 21:28:51 +0000 (13:28 -0800)
commit38d7b8849540a27f2e4cf5c832b474667d390bfc
tree233c8fa8e9f24855e254727b7b0068363f989db7
parentda1f48cd695850baef8e3b9358eb1fe2b75720ba
net/mlx5: Introduce inter-device communication mechanism

This introduces devcom, a generic mechanism for performing operations
on both physical functions of the same Connect-X card.

The first user of this API is merged eswitch, which will be introduced
in subsequent patches.

Signed-off-by: Aviv Heller <avivh@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/Makefile
drivers/net/ethernet/mellanox/mlx5/core/lib/devcom.c [new file with mode: 0644]
drivers/net/ethernet/mellanox/mlx5/core/lib/devcom.h [new file with mode: 0644]
drivers/net/ethernet/mellanox/mlx5/core/main.c
include/linux/mlx5/driver.h