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
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
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
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(-)
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
--
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
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
: 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
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
--
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
: 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
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
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
: 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
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
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
: 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
("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 ++-
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
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
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
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
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
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
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
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
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
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
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 +++
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
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
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
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
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
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
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
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
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
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
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 +++
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
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
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
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
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
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/
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
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.
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
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 ++
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
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
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
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
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
55 matches
Mail list logo