OSDN Git Service

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)
commitfadd59fc50d010145f251db583c7ccef37393d19
tree233c8fa8e9f24855e254727b7b0068363f989db7
parent64e4cf0dab16ad432fcbe7ac1109488e5a282c7b
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