Add the option to use resources (Tables, Matchers, Actions, etc.) from one gvmi (AKA ibv_cntext) to other gvmi's.
When specific gvmi allows other to use its resources, steering objects Will created and used on that gvmi. It is done by aliases objects that map between local resources to shared/remote resources. That in order to allow sharing between few ports. --- Changes from V1: - remove mailing list patch from that series, it will be sent separately - remove the duplicated set that sent by mistake --- Erez Shitrit (5): net/mlx5/hws: add capabilities fields for vhca access net/mlx5/hws: add vhca identifier ID to the caps net/mlx5/hws: support shared ibv-context with local one net/mlx5/hws: support actions while shared resources is used net/mlx5/hws: add debug details for cross gvmi Yevgeny Kliteynik (5): net/mlx5/hws: remove wrong PRM capability macros net/mlx5/hws: add PRM definitions for cross-vhca capabilities net/mlx5/hws: read cross-vhca capabilities net/mlx5/hws: added allow-other-vhca-access command net/mlx5/hws: added command to create alias objects drivers/common/mlx5/mlx5_prm.h | 83 ++++++++-- drivers/net/mlx5/hws/mlx5dr.h | 7 +- drivers/net/mlx5/hws/mlx5dr_action.c | 69 +++++++- drivers/net/mlx5/hws/mlx5dr_action.h | 3 + drivers/net/mlx5/hws/mlx5dr_cmd.c | 118 ++++++++++++- drivers/net/mlx5/hws/mlx5dr_cmd.h | 25 +++ drivers/net/mlx5/hws/mlx5dr_context.c | 34 +++- drivers/net/mlx5/hws/mlx5dr_context.h | 22 +++ drivers/net/mlx5/hws/mlx5dr_debug.c | 24 ++- drivers/net/mlx5/hws/mlx5dr_internal.h | 1 + drivers/net/mlx5/hws/mlx5dr_matcher.c | 218 +++++++++++++++++++++++-- drivers/net/mlx5/hws/mlx5dr_matcher.h | 9 + drivers/net/mlx5/hws/mlx5dr_table.c | 191 +++++++++++++++++++++- drivers/net/mlx5/hws/mlx5dr_table.h | 4 +- drivers/net/mlx5/mlx5_devx.c | 2 +- 15 files changed, 749 insertions(+), 61 deletions(-) -- 2.18.2