[PATCH 1/4] net/mlx5/hws: allow relaxed mode in MPLS matching

2023-09-10 Thread Erez Shitrit
the right needs for MPLS matching. Signed-off-by: Erez Shitrit Reviewed-by: Alex Vesker Acked-by: Matan Azrad --- drivers/net/mlx5/hws/mlx5dr_definer.c | 45 ++- 1 file changed, 17 insertions(+), 28 deletions(-) diff --git a/drivers/net/mlx5/hws/mlx5dr_definer.c b

[PATCH 2/4] net/mlx5/hws: allow attaching action template to matcher

2023-09-10 Thread Erez Shitrit
is configured to get new AT in the future. Signed-off-by: Erez Shitrit Signed-off-by: Alex Vesker Acked-by: Matan Azrad --- drivers/net/mlx5/hws/mlx5dr.h | 13 + drivers/net/mlx5/hws/mlx5dr_matcher.c | 82 +++ 2 files changed, 83 insertions(+), 12 deletions

[PATCH 3/4] net/mlx5/hws: print syndrome value on error

2023-09-10 Thread Erez Shitrit
Print the syndrome of failure of FW command. Signed-off-by: Erez Shitrit Reviewed-by: Alex Vesker Acked-by: Matan Azrad --- drivers/net/mlx5/hws/mlx5dr_cmd.c | 48 ++- 1 file changed, 34 insertions(+), 14 deletions(-) diff --git a/drivers/net/mlx5/hws

[PATCH 4/4] net/mlx5/hws: skip process action-template on coll matcher

2023-09-10 Thread Erez Shitrit
Collision matcher uses the same action-template and action STE's as its parent matcher, so ne need to redo it. Signed-off-by: Erez Shitrit Reviewed-by: Alex Vesker Acked-by: Matan Azrad --- drivers/net/mlx5/hws/mlx5dr_matcher.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-)

[PATCH 1/4] net/mlx5/hws: fix bug in pattern creation

2023-03-20 Thread Erez Shitrit
When creating a new pattern the data area should be clean, otherwise when the data will come from the arg object it will do OR operation on the data part in the pattern. Fixes: f8c8a6d8440d ("net/mlx5/hws: add action object") Reviewed-by: Alex Vesker Signed-off-by: Erez Shitrit --

[PATCH 2/4] net/mlx5/hws: shared context uses defaults from local context

2023-03-20 Thread Erez Shitrit
redirected back to the local context. Fixes: ce946c7d3999 ("net/mlx5/hws: support ibv context shared with local one") Reviewed-by: Alex Vesker Signed-off-by: Erez Shitrit --- drivers/net/mlx5/hws/mlx5dr_action.c | 9 - drivers/net/mlx5/hws/mlx5dr_tab

[PATCH 4/4] net/mlx5/hws: add check for modify-header actions

2023-03-20 Thread Erez Shitrit
Allow only actions that are currently supported. Fixes: f8c8a6d8440d ("net/mlx5/hws: add action object") Reviewed-by: Alex Vesker Signed-off-by: Erez Shitrit --- drivers/common/mlx5/mlx5_prm.h| 1 + drivers/net/mlx5/hws/mlx5dr_action.c | 6 ++ drivers/ne

[PATCH 3/4] net/mlx5/hws: keep all jumbo tag for deletion

2023-03-20 Thread Erez Shitrit
: add rule object") Reviewed-by: Alex Vesker Signed-off-by: Erez Shitrit --- drivers/net/mlx5/hws/mlx5dr_rule.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/net/mlx5/hws/mlx5dr_rule.c b/drivers/net/mlx5/hws/mlx5dr_rule.c index 9d5e5b11a5..2418ca0b26 10064

[PATCH] net/mlx5/hws: fix bug in pattern creation

2023-03-20 Thread Erez Shitrit
When creating a new pattern the data area should be clean, otherwise when the data will come from the arg object it will do OR operation on the data part in the pattern. Fixes: f8c8a6d8440d ("net/mlx5/hws: add action object") Reviewed-by: Alex Vesker Signed-off-by: Erez Shitrit --

[PATCH] net/mlx5/hws: shared context uses defaults from local context

2023-03-20 Thread Erez Shitrit
redirected back to the local context. Fixes: ce946c7d3999 ("net/mlx5/hws: support ibv context shared with local one") Reviewed-by: Alex Vesker Signed-off-by: Erez Shitrit --- drivers/net/mlx5/hws/mlx5dr_action.c | 9 - drivers/net/mlx5/hws/mlx5dr_tab

[PATCH] net/mlx5/hws: keep all jumbo tag for deletion

2023-03-20 Thread Erez Shitrit
: add rule object") Reviewed-by: Alex Vesker Signed-off-by: Erez Shitrit --- drivers/net/mlx5/hws/mlx5dr_rule.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/net/mlx5/hws/mlx5dr_rule.c b/drivers/net/mlx5/hws/mlx5dr_rule.c index 9d5e5b11a5..2418ca0b26 10064

[PATCH] net/mlx5/hws: add check for modify-header actions

2023-03-20 Thread Erez Shitrit
Allow only actions that are currently supported. Fixes: f8c8a6d8440d ("net/mlx5/hws: add action object") Reviewed-by: Alex Vesker Signed-off-by: Erez Shitrit --- drivers/common/mlx5/mlx5_prm.h| 1 + drivers/net/mlx5/hws/mlx5dr_action.c | 6 ++ drivers/ne

[PATCH] net/mlx5/hws: fix shared context to use local defaults

2023-03-22 Thread Erez Shitrit
redirected back to the local context. Fixes: ce946c7d3999 ("net/mlx5/hws: support ibv context shared with local one") Cc: sta...@dpdk.org Signed-off-by: Erez Shitrit Reviewed-by: Alex Vesker Acked-by: Matan Azrad --- drivers/net/mlx5/hws/mlx5dr_action.c | 9 - drivers/ne

[PATCH] net/mlx5/hws: fix saving of jumbo tag for deletion

2023-03-22 Thread Erez Shitrit
: add rule object") Cc: sta...@dpdk.org Signed-off-by: Erez Shitrit Reviewed-by: Alex Vesker Acked-by: Matan Azrad --- drivers/net/mlx5/hws/mlx5dr_rule.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/net/mlx5/hws/mlx5dr_rule.c b/drivers/net/mlx5/hws/mlx5

[PATCH] net/mlx5/hws: fix bug in pattern creation

2023-03-22 Thread Erez Shitrit
When creating a new pattern the data area should be clean, otherwise when the data will come from the arg object it will do OR operation on the data part in the pattern. Fixes: f8c8a6d8440d ("net/mlx5/hws: add action object") Cc: sta...@dpdk.org Signed-off-by: Erez Shitrit Reviewe

[PATCH] net/mlx5/hws: add check for modify-header actions

2023-03-22 Thread Erez Shitrit
Allow only actions that are currently supported. Signed-off-by: Erez Shitrit Reviewed-by: Alex Vesker Acked-by: Matan Azrad --- drivers/common/mlx5/mlx5_prm.h| 1 + drivers/net/mlx5/hws/mlx5dr_action.c | 6 ++ drivers/net/mlx5/hws/mlx5dr_pat_arg.c | 16

[PATCH v4] net/mlx5/hws: fix bug in pattern creation

2023-03-22 Thread Erez Shitrit
: add action object") Cc: sta...@dpdk.org Signed-off-by: Erez Shitrit Reviewed-by: Alex Vesker Acked-by: Matan Azrad --- drivers/net/mlx5/hws/mlx5dr_cmd.c | 16 ++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/drivers/net/mlx5/hws/mlx5dr_cmd.c b/drivers/ne

[PATCH v4] net/mlx5/hws: fix shared context to use local defaults

2023-03-22 Thread Erez Shitrit
("net/mlx5/hws: support ibv context shared with local one") Cc: sta...@dpdk.org Signed-off-by: Erez Shitrit Reviewed-by: Alex Vesker Acked-by: Matan Azrad --- drivers/net/mlx5/hws/mlx5dr_action.c | 9 - drivers/net/mlx5/hws/mlx5dr_table.c | 29 ++-

[PATCH v4] net/mlx5/hws: fix saving of jumbo tag for deletion

2023-03-22 Thread Erez Shitrit
etion of it. Fixes: 405242c52dd5 ("net/mlx5/hws: add rule object") Cc: sta...@dpdk.org Signed-off-by: Erez Shitrit Reviewed-by: Alex Vesker Acked-by: Matan Azrad --- drivers/net/mlx5/hws/mlx5dr_rule.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drive

[PATCH v4] net/mlx5/hws: add check for modify-header actions

2023-03-22 Thread Erez Shitrit
Allow only actions that are currently supported. A check for each action in the modify-header list was added to verify that is a know action, otherwise the modify-header is failed. Signed-off-by: Erez Shitrit Reviewed-by: Alex Vesker Acked-by: Matan Azrad --- drivers/common/mlx5/mlx5_prm.h

[PATCH V1 00/11] Support resource sharing among ibv_devices

2022-12-19 Thread Erez Shitrit
hared/remote resourses. That in order to allow sharing between few ports. Erez Shitrit (6): mailmap: add new contributors to the list 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

[PATCH V1 01/11] mailmap: add new contributors to the list

2022-12-19 Thread Erez Shitrit
Added Yevgeny Kliteynik to the list Signed-off-by: Erez Shitrit --- .mailmap | 1 + 1 file changed, 1 insertion(+) diff --git a/.mailmap b/.mailmap index 75884b6fe2..c6f34d18a6 100644 --- a/.mailmap +++ b/.mailmap @@ -1495,6 +1495,7 @@ Yash Sharma Yasufumi Ogawa Yelena Krivosheev

[PATCH V1 02/11] net/mlx5/hws: add capabilities fields for vhca access

2022-12-19 Thread Erez Shitrit
The new fields define the ability to access from one vhca to other one. Signed-off-by: Erez Shitrit Reviewed-by: Alex Vesker --- drivers/common/mlx5/mlx5_prm.h | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/common/mlx5/mlx5_prm.h b/drivers/common/mlx5

[PATCH V1 03/11] net/mlx5/hws: remove wrong PRM capability macros

2022-12-19 Thread Erez Shitrit
From: Yevgeny Kliteynik Removing macros for wrong capability checks. Signed-off-by: Yevgeny Kliteynik Reviewed-by: Alex Vesker --- drivers/common/mlx5/mlx5_prm.h | 6 -- 1 file changed, 6 deletions(-) diff --git a/drivers/common/mlx5/mlx5_prm.h b/drivers/common/mlx5/mlx5_prm.h index 19c

[PATCH V1 05/11] net/mlx5/hws: read cross-vhca capabilities

2022-12-19 Thread Erez Shitrit
From: Yevgeny Kliteynik And keep them for future processing. Signed-off-by: Yevgeny Kliteynik Reviewed-by: Alex Vesker --- drivers/net/mlx5/hws/mlx5dr_cmd.c | 24 drivers/net/mlx5/hws/mlx5dr_cmd.h | 1 + 2 files changed, 25 insertions(+) diff --git a/drivers/net/ml

[PATCH V1 04/11] net/mlx5/hws: add PRM definitions for cross-vhca capabilities

2022-12-19 Thread Erez Shitrit
From: Yevgeny Kliteynik Each new cap was defined. Signed-off-by: Yevgeny Kliteynik Reviewed-by: Alex Vesker --- drivers/common/mlx5/mlx5_prm.h | 19 ++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/drivers/common/mlx5/mlx5_prm.h b/drivers/common/mlx5/mlx5_prm

[PATCH V1 06/11] net/mlx5/hws: added allow-other-vhca-access command

2022-12-19 Thread Erez Shitrit
From: Yevgeny Kliteynik Added FW command to allow creation of alias objects. Signed-off-by: Yevgeny Kliteynik Reviewed-by: Alex Vesker --- drivers/common/mlx5/mlx5_prm.h| 23 +++ drivers/net/mlx5/hws/mlx5dr_cmd.c | 28 drivers/net/mlx5/hws

[PATCH V1 11/11] net/mlx5/hws: add debug details for cross gvmi

2022-12-19 Thread Erez Shitrit
For context, table and matcher. Signed-off-by: Erez Shitrit Signed-off-by: Hamdan Igbaria Reviewed-by: Alex Vesker --- drivers/net/mlx5/hws/mlx5dr_debug.c | 22 -- 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/drivers/net/mlx5/hws/mlx5dr_debug.c b

[PATCH V1 07/11] net/mlx5/hws: added command to create alias objects

2022-12-19 Thread Erez Shitrit
From: Yevgeny Kliteynik Added support for a command that can create alias objects - objects that are accessed across VHCA. Signed-off-by: Yevgeny Kliteynik Reviewed-by: Alex Vesker --- drivers/common/mlx5/mlx5_prm.h| 23 ++-- drivers/net/mlx5/hws/mlx5dr_cmd.c | 44 +++

[PATCH V1 08/11] net/mlx5/hws: add vhca identifier ID to the caps

2022-12-19 Thread Erez Shitrit
And read it in the query_cap function Signed-off-by: Erez Shitrit Reviewed-by: Alex Vesker --- drivers/net/mlx5/hws/mlx5dr_cmd.c | 3 +++ drivers/net/mlx5/hws/mlx5dr_cmd.h | 1 + 2 files changed, 4 insertions(+) diff --git a/drivers/net/mlx5/hws/mlx5dr_cmd.c b/drivers/net/mlx5/hws

[PATCH V1 09/11] net/mlx5/hws: support shared ibv-context with local one

2022-12-19 Thread Erez Shitrit
resource, to the original resource or to its alias resource. Signed-off-by: Erez Shitrit Reviewed-by: Alex Vesker --- drivers/common/mlx5/mlx5_prm.h | 6 + drivers/net/mlx5/hws/mlx5dr.h | 2 + drivers/net/mlx5/hws/mlx5dr_action.c | 9 +- drivers/net/mlx5/hws

[PATCH V1 10/11] net/mlx5/hws: support actions while shared resources is used

2022-12-19 Thread Erez Shitrit
TIR/FT actions are different in the context of shared ibv resource, it created on the local ibv_context and aliased to the shared ibv_context. Other actions should be created on the shared ibv resource, new flag was added to indicates where this object came from. Signed-off-by: Erez Shitrit

[PATCH V1 00/11] Support resource sharing among ibv_devices

2022-12-21 Thread Erez Shitrit
hared/remote resourses. That in order to allow sharing between few ports. Erez Shitrit (6): mailmap: add new contributors to the list 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

[PATCH V1 01/11] mailmap: add new contributors to the list

2022-12-21 Thread Erez Shitrit
Added Yevgeny Kliteynik to the list Signed-off-by: Erez Shitrit --- .mailmap | 1 + 1 file changed, 1 insertion(+) diff --git a/.mailmap b/.mailmap index 75884b6fe2..c6f34d18a6 100644 --- a/.mailmap +++ b/.mailmap @@ -1495,6 +1495,7 @@ Yash Sharma Yasufumi Ogawa Yelena Krivosheev

[PATCH V1 02/11] net/mlx5/hws: add capabilities fields for vhca access

2022-12-21 Thread Erez Shitrit
The new fields define the ability to access from one vhca to other one. Signed-off-by: Erez Shitrit Reviewed-by: Alex Vesker --- drivers/common/mlx5/mlx5_prm.h | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/common/mlx5/mlx5_prm.h b/drivers/common/mlx5

[PATCH V1 03/11] net/mlx5/hws: remove wrong PRM capability macros

2022-12-21 Thread Erez Shitrit
From: Yevgeny Kliteynik Removing macros for wrong capability checks. Signed-off-by: Yevgeny Kliteynik Reviewed-by: Alex Vesker --- drivers/common/mlx5/mlx5_prm.h | 6 -- 1 file changed, 6 deletions(-) diff --git a/drivers/common/mlx5/mlx5_prm.h b/drivers/common/mlx5/mlx5_prm.h index 19c

[PATCH V1 04/11] net/mlx5/hws: add PRM definitions for cross-vhca capabilities

2022-12-21 Thread Erez Shitrit
From: Yevgeny Kliteynik Each new cap was defined. Signed-off-by: Yevgeny Kliteynik Reviewed-by: Alex Vesker --- drivers/common/mlx5/mlx5_prm.h | 19 ++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/drivers/common/mlx5/mlx5_prm.h b/drivers/common/mlx5/mlx5_prm

[PATCH V1 06/11] net/mlx5/hws: added allow-other-vhca-access command

2022-12-21 Thread Erez Shitrit
From: Yevgeny Kliteynik Added FW command to allow creation of alias objects. Signed-off-by: Yevgeny Kliteynik Reviewed-by: Alex Vesker --- drivers/common/mlx5/mlx5_prm.h| 23 +++ drivers/net/mlx5/hws/mlx5dr_cmd.c | 28 drivers/net/mlx5/hws

[PATCH V1 05/11] net/mlx5/hws: read cross-vhca capabilities

2022-12-21 Thread Erez Shitrit
From: Yevgeny Kliteynik And keep them for future processing. Signed-off-by: Yevgeny Kliteynik Reviewed-by: Alex Vesker --- drivers/net/mlx5/hws/mlx5dr_cmd.c | 24 drivers/net/mlx5/hws/mlx5dr_cmd.h | 1 + 2 files changed, 25 insertions(+) diff --git a/drivers/net/ml

[PATCH V1 07/11] net/mlx5/hws: added command to create alias objects

2022-12-21 Thread Erez Shitrit
From: Yevgeny Kliteynik Added support for a command that can create alias objects - objects that are accessed across VHCA. Signed-off-by: Yevgeny Kliteynik Reviewed-by: Alex Vesker --- drivers/common/mlx5/mlx5_prm.h| 23 ++-- drivers/net/mlx5/hws/mlx5dr_cmd.c | 44 +++

[PATCH V1 08/11] net/mlx5/hws: add vhca identifier ID to the caps

2022-12-21 Thread Erez Shitrit
And read it in the query_cap function Signed-off-by: Erez Shitrit Reviewed-by: Alex Vesker --- drivers/net/mlx5/hws/mlx5dr_cmd.c | 3 +++ drivers/net/mlx5/hws/mlx5dr_cmd.h | 1 + 2 files changed, 4 insertions(+) diff --git a/drivers/net/mlx5/hws/mlx5dr_cmd.c b/drivers/net/mlx5/hws

[PATCH V1 09/11] net/mlx5/hws: support shared ibv-context with local one

2022-12-21 Thread Erez Shitrit
resource, to the original resource or to its alias resource. Signed-off-by: Erez Shitrit Reviewed-by: Alex Vesker --- drivers/common/mlx5/mlx5_prm.h | 6 + drivers/net/mlx5/hws/mlx5dr.h | 2 + drivers/net/mlx5/hws/mlx5dr_action.c | 9 +- drivers/net/mlx5/hws

[PATCH V1 10/11] net/mlx5/hws: support actions while shared resources is used

2022-12-21 Thread Erez Shitrit
TIR/FT actions are different in the context of shared ibv resource, it created on the local ibv_context and aliased to the shared ibv_context. Other actions should be created on the shared ibv resource, new flag was added to indicates where this object came from. Signed-off-by: Erez Shitrit

[PATCH V1 11/11] net/mlx5/hws: add debug details for cross gvmi

2022-12-21 Thread Erez Shitrit
For context, table and matcher. Signed-off-by: Erez Shitrit Signed-off-by: Hamdan Igbaria Reviewed-by: Alex Vesker --- drivers/net/mlx5/hws/mlx5dr_debug.c | 22 -- 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/drivers/net/mlx5/hws/mlx5dr_debug.c b

[PATCH v2 00/10] Support resource sharing among ibv_devices

2023-01-05 Thread Erez Shitrit
hared/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

[PATCH v2 02/10] net/mlx5/hws: remove wrong PRM capability macros

2023-01-05 Thread Erez Shitrit
From: Yevgeny Kliteynik Removing macros for wrong capability checks. Signed-off-by: Yevgeny Kliteynik Reviewed-by: Alex Vesker Acked-by: Viacheslav Ovsiienko --- drivers/common/mlx5/mlx5_prm.h | 6 -- 1 file changed, 6 deletions(-) diff --git a/drivers/common/mlx5/mlx5_prm.h b/drivers/

[PATCH v2 01/10] net/mlx5/hws: add capabilities fields for vhca access

2023-01-05 Thread Erez Shitrit
The new fields define the ability to access from one vhca to other one. Signed-off-by: Erez Shitrit Reviewed-by: Alex Vesker Acked-by: Viacheslav Ovsiienko --- drivers/common/mlx5/mlx5_prm.h | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/drivers/common/mlx5

[PATCH v2 03/10] net/mlx5/hws: add PRM definitions for cross-vhca capabilities

2023-01-05 Thread Erez Shitrit
From: Yevgeny Kliteynik Each new cap was defined. Signed-off-by: Yevgeny Kliteynik Reviewed-by: Alex Vesker Acked-by: Viacheslav Ovsiienko --- drivers/common/mlx5/mlx5_prm.h | 19 ++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/drivers/common/mlx5/mlx5_prm.

[PATCH v2 04/10] net/mlx5/hws: read cross-vhca capabilities

2023-01-05 Thread Erez Shitrit
From: Yevgeny Kliteynik And keep them for future processing. Signed-off-by: Yevgeny Kliteynik Reviewed-by: Alex Vesker Acked-by: Viacheslav Ovsiienko --- drivers/net/mlx5/hws/mlx5dr_cmd.c | 24 drivers/net/mlx5/hws/mlx5dr_cmd.h | 1 + 2 files changed, 25 insertions

[PATCH v2 05/10] net/mlx5/hws: added allow-other-vhca-access command

2023-01-05 Thread Erez Shitrit
From: Yevgeny Kliteynik Added FW command to allow creation of alias objects. Signed-off-by: Yevgeny Kliteynik Reviewed-by: Alex Vesker Acked-by: Viacheslav Ovsiienko --- drivers/common/mlx5/mlx5_prm.h| 23 +++ drivers/net/mlx5/hws/mlx5dr_cmd.c | 28 ++

[PATCH v2 06/10] net/mlx5/hws: added command to create alias objects

2023-01-05 Thread Erez Shitrit
From: Yevgeny Kliteynik Added support for a command that can create alias objects - objects that are accessed across VHCA. Signed-off-by: Yevgeny Kliteynik Reviewed-by: Alex Vesker Acked-by: Viacheslav Ovsiienko --- drivers/common/mlx5/mlx5_prm.h| 23 ++-- drivers/net/mlx5/h

[PATCH v2 07/10] net/mlx5/hws: add vhca identifier ID to the caps

2023-01-05 Thread Erez Shitrit
And read it in the query_cap function Signed-off-by: Erez Shitrit Reviewed-by: Alex Vesker Acked-by: Viacheslav Ovsiienko --- drivers/net/mlx5/hws/mlx5dr_cmd.c | 3 +++ drivers/net/mlx5/hws/mlx5dr_cmd.h | 1 + 2 files changed, 4 insertions(+) diff --git a/drivers/net/mlx5/hws/mlx5dr_cmd.c

[PATCH v2 08/10] net/mlx5/hws: support shared ibv-context with local one

2023-01-05 Thread Erez Shitrit
resource, to the original resource or to its alias resource. Signed-off-by: Erez Shitrit Reviewed-by: Alex Vesker Acked-by: Viacheslav Ovsiienko --- drivers/common/mlx5/mlx5_prm.h | 6 + drivers/net/mlx5/hws/mlx5dr.h | 2 + drivers/net/mlx5/hws/mlx5dr_action.c | 9

[PATCH v2 09/10] net/mlx5/hws: support actions while shared resources is used

2023-01-05 Thread Erez Shitrit
TIR/FT actions are different in the context of shared ibv resource, it created on the local ibv_context and aliased to the shared ibv_context. Other actions should be created on the shared ibv resource, new flag was added to indicates where this object came from. Signed-off-by: Erez Shitrit

[PATCH v2 10/10] net/mlx5/hws: add debug details for cross gvmi

2023-01-05 Thread Erez Shitrit
For context, table and matcher. Signed-off-by: Erez Shitrit Signed-off-by: Hamdan Igbaria Reviewed-by: Alex Vesker Acked-by: Viacheslav Ovsiienko --- drivers/net/mlx5/hws/mlx5dr_debug.c | 22 -- 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/drivers/net