]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: E-Switch, Add event callback for representors
authorMark Bloch <mbloch@nvidia.com>
Tue, 3 Aug 2021 23:19:54 +0000 (16:19 -0700)
committerSaeed Mahameed <saeedm@nvidia.com>
Thu, 5 Aug 2021 20:49:24 +0000 (13:49 -0700)
commitc6d30205f5f5e0a137327b656170cf80f7454eee
treecfa505d9228cce26a4c7bf9441b6e392960f3f8d
parent82d99502873e04cb3938ff683cd3570b0648e0cb
net/mlx5: E-Switch, Add event callback for representors

This callback will allow to notify representors about relevant events
when in OFFLOADS mode. In downstream patches, this will be used to notify
about PAIR/UNPAIR devcom events.

Signed-off-by: Mark Bloch <mbloch@nvidia.com>
Reviewed-by: Mark Zhang <markzhang@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c
include/linux/mlx5/eswitch.h