OSDN Git Service

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)
commitc8e6a9e6d6bb29db08e0b69ae97f1e46ccc5691c
treecfa505d9228cce26a4c7bf9441b6e392960f3f8d
parent2198b93279b2fa36bfc51c621d14f93244fb4965
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