] binds
Rx port 0, queue 3 with Tx port 2, queue 2,
Rx port 0, queue 4 with Tx port 2, queue 3,
Rx port 0, queue 5 with Tx port 2, queue 4.
The new `hairpin-map` parameter is optional.
If omitted, testpmd will create "default" hairpin maps.
Signed-off-by: Gregory Etelson
---
v2: F
From: Hamdan Igbaria
Add support for creation of packet reformat object,
via the ALLOC_PACKET_REFORMAT_CONTEXT command.
Signed-off-by: Hamdan Igbaria
---
drivers/common/mlx5/mlx5_prm.h | 39 +
drivers/net/mlx5/hws/mlx5dr_cmd.c | 60 ++
drive
From: Hamdan Igbaria
Add the ability to create forward table and FTE.
Signed-off-by: Hamdan Igbaria
---
drivers/common/mlx5/mlx5_prm.h| 4
drivers/net/mlx5/hws/mlx5dr_cmd.c | 13 +
drivers/net/mlx5/hws/mlx5dr_cmd.h | 19 +++
3 files changed, 36 insertions(
From: Hamdan Igbaria
Add mlx5dr_devx_obj struct to mlx5dr_action, so we could hold
the FT obj in dest table action.
Signed-off-by: Hamdan Igbaria
---
drivers/net/mlx5/hws/mlx5dr_action.c | 4
drivers/net/mlx5/hws/mlx5dr_action.h | 3 +++
drivers/net/mlx5/hws/mlx5dr_table.c | 1 -
3 files
From: Erez Shitrit
In FDB it will direct the packet into the hypervisor vport.
That allows the user to mirror packets into the default-miss vport.
Signed-off-by: Erez Shitrit
---
drivers/net/mlx5/hws/mlx5dr_action.c | 11 +++
1 file changed, 11 insertions(+)
diff --git a/drivers/net/m
From: Shun Hao
This patch supports mirroring by adding an dest_array action. The action
accecpts a list containing multiple destination actions, and can duplicate
packet and forward to each destination in the list.
Signed-off-by: Shun Hao
Acked-by: Alex Vesker
---
drivers/common/mlx5/mlx5_prm
From: Haifei Luo
In dest_array action, an optional reformat action can be applied to each
destination. This patch supports this by using the extended destination
entry.
Signed-off-by: Haifei Luo
Signed-off-by: Shun Hao
---
drivers/common/mlx5/mlx5_prm.h | 15 +++
drivers/net/mlx5/hw
Replace if() with switch().
Signed-off-by: Gregory Etelson
---
drivers/net/mlx5/mlx5_flow_hw.c | 70 ++---
1 file changed, 39 insertions(+), 31 deletions(-)
diff --git a/drivers/net/mlx5/mlx5_flow_hw.c b/drivers/net/mlx5/mlx5_flow_hw.c
index 6fcf654e4a..b2215fb5cf
action without configuration is invalid and will be
rejected by PMD.
Signed-off-by: Gregory Etelson
---
drivers/net/mlx5/mlx5.c | 1 +
drivers/net/mlx5/mlx5.h | 2 +
drivers/net/mlx5/mlx5_flow.c| 134 +++
drivers/net/mlx5/mlx5_flow.h| 69 +++-
drivers/net/mlx5
HWS mirror flow action validation rejected flows in NIC domain,
if PMD FDB mode was active.
The patch allows NIC mirror action in FDB mode.
Fixes: 0284c9b82ee8 ("net/mlx5: support HWS mirror action")
Signed-off-by: Gregory Etelson
---
drivers/net/mlx5/mlx5_flow
("net/mlx5: reformat HWS code")
Cc: sta...@dpdk.org
Signed-off-by: Gregory Etelson
---
drivers/net/mlx5/mlx5_flow_hw.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/net/mlx5/mlx5_flow_hw.c b/drivers/net/mlx5/mlx5_flow_hw.c
index 910d42a5f5..efb2d512b7 10
the
RAW_DECAP / RAW_ENCAP sequence as 2 separate actions. As the result
location selection was wrong.
The patch fixes RAW_DECAP / RAW_ENCAP sequence processing for
MODIFY_FIELD expansion.
Fixes: cf7f458 ("net/mlx5: add indirect QUOTA create/query/modify")
Signed-off-by: Grego
1. In `rte_flow_actions_template`, rename `actions_off` into `dr_off`.
2. Remove duplicated code in template table creation.
Signed-off-by: Gregory Etelson
---
drivers/net/mlx5/mlx5_flow.h| 2 +-
drivers/net/mlx5/mlx5_flow_hw.c | 117 ++--
2 files changed, 52
ended metadata mode for HWS")
Signed-off-by: Gregory Etelson
---
drivers/net/mlx5/mlx5_flow.h| 2 +-
drivers/net/mlx5/mlx5_flow_hw.c | 90 -
2 files changed, 45 insertions(+), 47 deletions(-)
diff --git a/drivers/net/mlx5/mlx5_flow.h b/drivers/net/mlx5/m
PMD used a buffer located on expired stack to store
mirror reformat data.
The patch moves reformat buffer to the same context as the mirror
action creation.
Fixes: 0284c9b82ee8 ("net/mlx5: support HWS mirror action")
Signed-off-by: Gregory Etelson
---
drivers/net/mlx5/mlx5_flow
Signed-off-by: Gregory Etelson
---
drivers/net/mlx5/mlx5_flow.c| 69 +-
drivers/net/mlx5/mlx5_flow.h| 67 -
drivers/net/mlx5/mlx5_flow_hw.c | 427 +++-
3 files changed, 482 insertions(+), 81 deletions(-)
diff --git a/drivers/net/mlx5/mlx5_flow.c b
`mlx5_action_construct_data` types union to prevent it's collision
with shared_meter.
Fixes: 82641ccee69d ("net/mlx5: support indirect list METER_MARK action")
Signed-off-by: Gregory Etelson
---
drivers/net/mlx5/mlx5_flow.h| 4 +---
drivers/net/mlx5/mlx5_flow_hw.c | 5 +++--
2 files change
Erez Shitrit (1):
net/mlx5/hws: allow destination into default miss FT
Gregory Etelson (10):
net/mlx5: reformat HWS code
net/mlx5: support HWS mirror action
net/mlx5: fix mirror action validation
net/mlx5: fix in shared counter and age template action create
net/mlx5: fix modify field
Add MLX5 PMD support for indirect actions list.
Erez Shitrit (1):
net/mlx5/hws: allow destination into default miss FT
Gregory Etelson (10):
net/mlx5: reformat HWS code
net/mlx5: support HWS mirror action
net/mlx5: fix mirror action validation
net/mlx5: fix in shared counter and age
From: Hamdan Igbaria
Add support for creation of packet reformat object,
via the ALLOC_PACKET_REFORMAT_CONTEXT command.
Signed-off-by: Hamdan Igbaria
Acked-by: Suanming Mou
---
drivers/common/mlx5/mlx5_prm.h | 39 +
drivers/net/mlx5/hws/mlx5dr_cmd.c | 60 +
From: Hamdan Igbaria
Add the ability to create forward table and FTE.
Signed-off-by: Hamdan Igbaria
Acked-by: Suanming Mou
---
drivers/common/mlx5/mlx5_prm.h| 4
drivers/net/mlx5/hws/mlx5dr_cmd.c | 13 +
drivers/net/mlx5/hws/mlx5dr_cmd.h | 19 +++
3 files
From: Hamdan Igbaria
Add mlx5dr_devx_obj struct to mlx5dr_action, so we could hold
the FT obj in dest table action.
Signed-off-by: Hamdan Igbaria
Acked-by: Suanming Mou
---
drivers/net/mlx5/hws/mlx5dr_action.c | 4
drivers/net/mlx5/hws/mlx5dr_action.h | 3 +++
drivers/net/mlx5/hws/mlx5dr
From: Shun Hao
This patch supports mirroring by adding an dest_array action. The action
accecpts a list containing multiple destination actions, and can duplicate
packet and forward to each destination in the list.
Signed-off-by: Shun Hao
Acked-by: Alex Vesker
Acked-by: Suanming Mou
---
driv
From: Erez Shitrit
In FDB it will direct the packet into the hypervisor vport.
That allows the user to mirror packets into the default-miss vport.
Signed-off-by: Erez Shitrit
Acked-by: Suanming Mou
---
drivers/net/mlx5/hws/mlx5dr_action.c | 11 +++
1 file changed, 11 insertions(+)
di
Replace if() with switch().
Signed-off-by: Gregory Etelson
Acked-by: Suanming Mou
---
drivers/net/mlx5/mlx5_flow_hw.c | 70 ++---
1 file changed, 39 insertions(+), 31 deletions(-)
diff --git a/drivers/net/mlx5/mlx5_flow_hw.c b/drivers/net/mlx5/mlx5_flow_hw.c
index
From: Haifei Luo
In dest_array action, an optional reformat action can be applied to each
destination. This patch supports this by using the extended destination
entry.
Signed-off-by: Haifei Luo
Signed-off-by: Shun Hao
Acked-by: Suanming Mou
---
drivers/common/mlx5/mlx5_prm.h | 15
action without configuration is invalid and will be
rejected by PMD.
Signed-off-by: Gregory Etelson
Acked-by: Suanming Mou
---
drivers/net/mlx5/mlx5.c | 1 +
drivers/net/mlx5/mlx5.h | 2 +
drivers/net/mlx5/mlx5_flow.c| 134 +++
drivers/net/mlx5/mlx5_flow.h| 69
HWS mirror flow action validation rejected flows in NIC domain,
if PMD FDB mode was active.
The patch allows NIC mirror action in FDB mode.
Fixes: 0284c9b82ee8 ("net/mlx5: support HWS mirror action")
Signed-off-by: Gregory Etelson
Acked-by: Suanming Mou
---
drivers/net/mlx5/mlx5
("net/mlx5: reformat HWS code")
Cc: sta...@dpdk.org
Signed-off-by: Gregory Etelson
Acked-by: Suanming Mou
---
drivers/net/mlx5/mlx5_flow_hw.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/drivers/net/mlx5/mlx5_flow_hw.c b/drivers/net/mlx5/mlx5_flow_hw.c
index
1. In `rte_flow_actions_template`, rename `actions_off` into `dr_off`.
2. Remove duplicated code in template table creation.
Signed-off-by: Gregory Etelson
Acked-by: Suanming Mou
---
drivers/net/mlx5/mlx5_flow.h| 2 +-
drivers/net/mlx5/mlx5_flow_hw.c | 117
the
RAW_DECAP / RAW_ENCAP sequence as 2 separate actions. As the result
location selection was wrong.
The patch fixes RAW_DECAP / RAW_ENCAP sequence processing for
MODIFY_FIELD expansion.
Fixes: cf7f458 ("net/mlx5: add indirect QUOTA create/query/modify")
Signed-off-by: Gregory Etelson
ended metadata mode for HWS")
Signed-off-by: Gregory Etelson
Acked-by: Suanming Mou
---
drivers/net/mlx5/mlx5_flow.h| 2 +-
drivers/net/mlx5/mlx5_flow_hw.c | 90 -
2 files changed, 45 insertions(+), 47 deletions(-)
diff --git a/drivers/net/mlx5/mlx5_flow.h
PMD used a buffer located on expired stack to store
mirror reformat data.
The patch moves reformat buffer to the same context as the mirror
action creation.
Fixes: 0284c9b82ee8 ("net/mlx5: support HWS mirror action")
Signed-off-by: Gregory Etelson
Acked-by: Suanming Mou
---
driver
Signed-off-by: Gregory Etelson
Acked-by: Suanming Mou
---
drivers/net/mlx5/mlx5_flow.c| 69 +-
drivers/net/mlx5/mlx5_flow.h| 67 -
drivers/net/mlx5/mlx5_flow_hw.c | 427 +++-
3 files changed, 482 insertions(+), 81 deletions(-)
diff --git a/drivers
`mlx5_action_construct_data` types union to prevent it's collision
with shared_meter.
Fixes: 82641ccee69d ("net/mlx5: support indirect list METER_MARK action")
Signed-off-by: Gregory Etelson
Acked-by: Suanming Mou
---
drivers/net/mlx5/mlx5_flow.h| 4 +---
drivers/net/mlx5/mlx5_flow_hw.c | 5
Add MLX5 PMD support for indirect actions list.
Erez Shitrit (1):
net/mlx5/hws: allow destination into default miss FT
Gregory Etelson (4):
net/mlx5: reformat HWS code for HWS mirror action
net/mlx5: support HWS mirror action
net/mlx5: reformat HWS code for indirect list actions
net
From: Hamdan Igbaria
Add support for creation of packet reformat object,
via the ALLOC_PACKET_REFORMAT_CONTEXT command.
Signed-off-by: Hamdan Igbaria
Acked-by: Suanming Mou
---
drivers/common/mlx5/mlx5_prm.h | 39 +
drivers/net/mlx5/hws/mlx5dr_cmd.c | 60 +
From: Hamdan Igbaria
Add the ability to create forward table and FTE.
Signed-off-by: Hamdan Igbaria
Acked-by: Suanming Mou
---
drivers/common/mlx5/mlx5_prm.h| 4
drivers/net/mlx5/hws/mlx5dr_cmd.c | 13 +
drivers/net/mlx5/hws/mlx5dr_cmd.h | 19 +++
3 files
From: Hamdan Igbaria
Add mlx5dr_devx_obj struct to mlx5dr_action, so we could hold
the FT obj in dest table action.
Signed-off-by: Hamdan Igbaria
Acked-by: Suanming Mou
---
drivers/net/mlx5/hws/mlx5dr_action.c | 4
drivers/net/mlx5/hws/mlx5dr_action.h | 3 +++
drivers/net/mlx5/hws/mlx5dr
From: Shun Hao
This patch supports mirroring by adding an dest_array action. The action
accecpts a list containing multiple destination actions, and can duplicate
packet and forward to each destination in the list.
Signed-off-by: Shun Hao
Acked-by: Alex Vesker
Acked-by: Suanming Mou
---
driv
From: Erez Shitrit
In FDB it will direct the packet into the hypervisor vport.
That allows the user to mirror packets into the default-miss vport.
Signed-off-by: Erez Shitrit
Acked-by: Suanming Mou
---
drivers/net/mlx5/hws/mlx5dr_action.c | 11 +++
1 file changed, 11 insertions(+)
di
From: Haifei Luo
In dest_array action, an optional reformat action can be applied to each
destination. This patch supports this by using the extended destination
entry.
Signed-off-by: Haifei Luo
Signed-off-by: Shun Hao
Acked-by: Suanming Mou
---
drivers/common/mlx5/mlx5_prm.h | 15
Signed-off-by: Gregory Etelson
Acked-by: Suanming Mou
---
drivers/net/mlx5/mlx5_flow_hw.c | 70 ++---
1 file changed, 39 insertions(+), 31 deletions(-)
diff --git a/drivers/net/mlx5/mlx5_flow_hw.c b/drivers/net/mlx5/mlx5_flow_hw.c
index 6fcf654e4a..b2215fb5cf 100644
action without configuration is invalid and will be
rejected by PMD.
Signed-off-by: Gregory Etelson
Acked-by: Suanming Mou
---
drivers/net/mlx5/mlx5.c | 1 +
drivers/net/mlx5/mlx5.h | 2 +
drivers/net/mlx5/mlx5_flow.c| 134 +++
drivers/net/mlx5/mlx5_flow.h| 69
Signed-off-by: Gregory Etelson
Acked-by: Suanming Mou
---
drivers/net/mlx5/mlx5_flow.h| 4 +-
drivers/net/mlx5/mlx5_flow_hw.c | 252 +---
2 files changed, 140 insertions(+), 116 deletions(-)
diff --git a/drivers/net/mlx5/mlx5_flow.h b/drivers/net/mlx5
Signed-off-by: Gregory Etelson
Acked-by: Suanming Mou
---
drivers/net/mlx5/mlx5_flow.c| 69 -
drivers/net/mlx5/mlx5_flow.h| 70 --
drivers/net/mlx5/mlx5_flow_hw.c | 430 +++-
3 files changed, 484 insertions(+), 85 deletions(-)
diff --git a/drivers
Add MLX5 PMD support for indirect actions list.
Erez Shitrit (1):
net/mlx5/hws: allow destination into default miss FT
Gregory Etelson (4):
net/mlx5: reformat HWS code for HWS mirror action
net/mlx5: support HWS mirror action
net/mlx5: reformat HWS code for indirect list actions
net
From: Hamdan Igbaria
Add support for creation of packet reformat object,
via the ALLOC_PACKET_REFORMAT_CONTEXT command.
Signed-off-by: Hamdan Igbaria
Acked-by: Suanming Mou
---
drivers/common/mlx5/mlx5_prm.h | 39 +
drivers/net/mlx5/hws/mlx5dr_cmd.c | 60 +
From: Hamdan Igbaria
Add mlx5dr_devx_obj struct to mlx5dr_action, so we could hold
the FT obj in dest table action.
Signed-off-by: Hamdan Igbaria
Acked-by: Suanming Mou
---
drivers/net/mlx5/hws/mlx5dr_action.c | 4
drivers/net/mlx5/hws/mlx5dr_action.h | 3 +++
drivers/net/mlx5/hws/mlx5dr
From: Hamdan Igbaria
Add the ability to create forward table and FTE.
Signed-off-by: Hamdan Igbaria
Acked-by: Suanming Mou
---
drivers/common/mlx5/mlx5_prm.h| 4
drivers/net/mlx5/hws/mlx5dr_cmd.c | 13 +
drivers/net/mlx5/hws/mlx5dr_cmd.h | 19 +++
3 files
From: Shun Hao
This patch supports mirroring by adding an dest_array action. The action
accecpts a list containing multiple destination actions, and can duplicate
packet and forward to each destination in the list.
Signed-off-by: Shun Hao
Acked-by: Alex Vesker
Acked-by: Suanming Mou
---
driv
From: Erez Shitrit
In FDB it will direct the packet into the hypervisor vport.
That allows the user to mirror packets into the default-miss vport.
Signed-off-by: Erez Shitrit
Acked-by: Suanming Mou
---
drivers/net/mlx5/hws/mlx5dr_action.c | 11 +++
1 file changed, 11 insertions(+)
di
From: Haifei Luo
In dest_array action, an optional reformat action can be applied to each
destination. This patch supports this by using the extended destination
entry.
Signed-off-by: Haifei Luo
Signed-off-by: Shun Hao
Acked-by: Suanming Mou
---
drivers/common/mlx5/mlx5_prm.h | 15
Reformat HWS code for HWS mirror action.
Signed-off-by: Gregory Etelson
Acked-by: Suanming Mou
---
drivers/net/mlx5/mlx5_flow_hw.c | 70 ++---
1 file changed, 39 insertions(+), 31 deletions(-)
diff --git a/drivers/net/mlx5/mlx5_flow_hw.c b/drivers/net/mlx5
action without configuration is invalid and will be
rejected by PMD.
Signed-off-by: Gregory Etelson
Acked-by: Suanming Mou
---
doc/guides/nics/features/mlx5.ini | 1 +
doc/guides/rel_notes/release_23_11.rst | 1 +
drivers/net/mlx5/mlx5.c| 1 +
drivers/net/mlx5/mlx5.h
Reformat HWS code for indirect list actions.
Signed-off-by: Gregory Etelson
Acked-by: Suanming Mou
---
drivers/net/mlx5/mlx5_flow.h| 4 +-
drivers/net/mlx5/mlx5_flow_hw.c | 250 +---
2 files changed, 139 insertions(+), 115 deletions(-)
diff --git a/drivers
Signed-off-by: Gregory Etelson
Acked-by: Suanming Mou
---
drivers/net/mlx5/mlx5_flow.c| 69 -
drivers/net/mlx5/mlx5_flow.h| 70 --
drivers/net/mlx5/mlx5_flow_hw.c | 432 +++-
3 files changed, 485 insertions(+), 86 deletions(-)
diff --git a/drivers
Add MLX5 PMD support for indirect actions list.
Erez Shitrit (1):
net/mlx5/hws: allow destination into default miss FT
Gregory Etelson (4):
net/mlx5: reformat HWS code for HWS mirror action
net/mlx5: support HWS mirror action
net/mlx5: reformat HWS code for indirect list actions
net
From: Hamdan Igbaria
Add support for creation of packet reformat object,
via the ALLOC_PACKET_REFORMAT_CONTEXT command.
Signed-off-by: Hamdan Igbaria
Acked-by: Suanming Mou
---
drivers/common/mlx5/mlx5_prm.h | 39 +
drivers/net/mlx5/hws/mlx5dr_cmd.c | 60 +
From: Hamdan Igbaria
Add the ability to create forward table and FTE.
Signed-off-by: Hamdan Igbaria
Acked-by: Suanming Mou
---
drivers/common/mlx5/mlx5_prm.h| 4
drivers/net/mlx5/hws/mlx5dr_cmd.c | 13 +
drivers/net/mlx5/hws/mlx5dr_cmd.h | 19 +++
3 files
From: Hamdan Igbaria
Add mlx5dr_devx_obj struct to mlx5dr_action, so we could hold
the FT obj in dest table action.
Signed-off-by: Hamdan Igbaria
Acked-by: Suanming Mou
---
drivers/net/mlx5/hws/mlx5dr_action.c | 4
drivers/net/mlx5/hws/mlx5dr_action.h | 3 +++
drivers/net/mlx5/hws/mlx5dr
From: Shun Hao
This patch supports mirroring by adding an dest_array action. The action
accecpts a list containing multiple destination actions, and can duplicate
packet and forward to each destination in the list.
Signed-off-by: Shun Hao
Acked-by: Alex Vesker
Acked-by: Suanming Mou
---
driv
From: Erez Shitrit
In FDB it will direct the packet into the hypervisor vport.
That allows the user to mirror packets into the default-miss vport.
Signed-off-by: Erez Shitrit
Acked-by: Suanming Mou
---
drivers/net/mlx5/hws/mlx5dr_action.c | 11 +++
1 file changed, 11 insertions(+)
di
From: Haifei Luo
In dest_array action, an optional reformat action can be applied to each
destination. This patch supports this by using the extended destination
entry.
Signed-off-by: Haifei Luo
Signed-off-by: Shun Hao
Acked-by: Suanming Mou
---
drivers/common/mlx5/mlx5_prm.h | 15
Reformat HWS code for HWS mirror action.
Signed-off-by: Gregory Etelson
Acked-by: Suanming Mou
---
drivers/net/mlx5/mlx5_flow_hw.c | 70 ++---
1 file changed, 39 insertions(+), 31 deletions(-)
diff --git a/drivers/net/mlx5/mlx5_flow_hw.c b/drivers/net/mlx5
action without configuration is invalid and will be
rejected by PMD.
Signed-off-by: Gregory Etelson
Acked-by: Suanming Mou
---
doc/guides/nics/features/mlx5.ini | 1 +
doc/guides/rel_notes/release_23_11.rst | 1 +
drivers/net/mlx5/mlx5.c| 1 +
drivers/net/mlx5/mlx5.h
Signed-off-by: Gregory Etelson
Acked-by: Suanming Mou
---
drivers/net/mlx5/mlx5_flow.c| 69 -
drivers/net/mlx5/mlx5_flow.h| 70 --
drivers/net/mlx5/mlx5_flow_hw.c | 430 +++-
3 files changed, 484 insertions(+), 85 deletions(-)
diff --git a/drivers
Reformat HWS code for indirect list actions.
Signed-off-by: Gregory Etelson
Acked-by: Suanming Mou
---
drivers/net/mlx5/mlx5_flow.h| 4 +-
drivers/net/mlx5/mlx5_flow_hw.c | 250 +---
2 files changed, 139 insertions(+), 115 deletions(-)
diff --git a/drivers
Add MLX5 PMD support for indirect actions list.
Erez Shitrit (1):
net/mlx5/hws: allow destination into default miss FT
Gregory Etelson (4):
net/mlx5: reformat HWS code for HWS mirror action
net/mlx5: support HWS mirror action
net/mlx5: reformat HWS code for indirect list actions
net
From: Hamdan Igbaria
Add the ability to create forward table and FTE.
Signed-off-by: Hamdan Igbaria
Acked-by: Suanming Mou
---
drivers/common/mlx5/mlx5_prm.h| 4
drivers/net/mlx5/hws/mlx5dr_cmd.c | 13 +
drivers/net/mlx5/hws/mlx5dr_cmd.h | 19 +++
3 files
From: Hamdan Igbaria
Add mlx5dr_devx_obj struct to mlx5dr_action, so we could hold
the FT obj in dest table action.
Signed-off-by: Hamdan Igbaria
Acked-by: Suanming Mou
---
drivers/net/mlx5/hws/mlx5dr_action.c | 4
drivers/net/mlx5/hws/mlx5dr_action.h | 3 +++
drivers/net/mlx5/hws/mlx5dr
From: Erez Shitrit
In FDB it will direct the packet into the hypervisor vport.
That allows the user to mirror packets into the default-miss vport.
Signed-off-by: Erez Shitrit
Acked-by: Suanming Mou
---
drivers/net/mlx5/hws/mlx5dr_action.c | 11 +++
1 file changed, 11 insertions(+)
di
Reformat HWS code for HWS mirror action.
Signed-off-by: Gregory Etelson
Acked-by: Suanming Mou
---
drivers/net/mlx5/mlx5_flow_hw.c | 70 ++---
1 file changed, 39 insertions(+), 31 deletions(-)
diff --git a/drivers/net/mlx5/mlx5_flow_hw.c b/drivers/net/mlx5
From: Shun Hao
This patch supports mirroring by adding an dest_array action. The action
accecpts a list containing multiple destination actions, and can duplicate
packet and forward to each destination in the list.
Signed-off-by: Shun Hao
Acked-by: Alex Vesker
Acked-by: Suanming Mou
---
driv
From: Haifei Luo
In dest_array action, an optional reformat action can be applied to each
destination. This patch supports this by using the extended destination
entry.
Signed-off-by: Haifei Luo
Signed-off-by: Shun Hao
Acked-by: Suanming Mou
---
drivers/common/mlx5/mlx5_prm.h | 15
action without configuration is invalid and will be
rejected by PMD.
Signed-off-by: Gregory Etelson
Acked-by: Suanming Mou
---
doc/guides/nics/features/mlx5.ini | 1 +
doc/guides/rel_notes/release_23_11.rst | 1 +
drivers/net/mlx5/mlx5.c| 1 +
drivers/net/mlx5/mlx5.h
Reformat HWS code for indirect list actions.
Signed-off-by: Gregory Etelson
Acked-by: Suanming Mou
---
drivers/net/mlx5/mlx5_flow.h| 4 +-
drivers/net/mlx5/mlx5_flow_hw.c | 235 ++--
2 files changed, 131 insertions(+), 108 deletions(-)
diff --git a/drivers
Support indirect list METER_MARK action.
Signed-off-by: Gregory Etelson
Acked-by: Suanming Mou
---
drivers/net/mlx5/mlx5_flow.c| 69 -
drivers/net/mlx5/mlx5_flow.h| 70 --
drivers/net/mlx5/mlx5_flow_hw.c | 430 +++-
3 files changed, 484 insertions
From: Hamdan Igbaria
Add support for creation of packet reformat object,
via the ALLOC_PACKET_REFORMAT_CONTEXT command.
Signed-off-by: Hamdan Igbaria
Acked-by: Suanming Mou
---
drivers/common/mlx5/mlx5_prm.h | 39 +
drivers/net/mlx5/hws/mlx5dr_cmd.c | 60 +
emplate 0 actions_template 0 postpone no \
pattern ... end \
actions raw_encap index 0 / jump group 1 / end
The new `size` parameter is mutually exclusive with the existing
`index` parameter.
Signed-off-by: Gregory Etelson
---
app/test-pmd/cmdline_flow.c | 19 ++-
1 file ch
Increase expansion buffer size to accumulate more RSS types.
Fixes: 3f02c7ff6815 ("net/mlx5: fix RSS expansion for inner tunnel VLAN")
Signed-off-by: Gregory Etelson
Acked-by: Matan Azrad
---
drivers/net/mlx5/mlx5_flow.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
di
xes: 9b4ea7ae77fa ("app/testpmd: revert MAC update in checksum forwarding")
Signed-off-by: Gregory Etelson
---
app/test-pmd/cmdline.c | 50 +
app/test-pmd/csumonly.c | 6 +
app/test-pmd/testpmd.c | 5 +++--
app/test-pmd/testpmd.h | 3 ++-
4
y and update only functionality for backward compatibility
with existing API.
Signed-off-by: Gregory Etelson
---
v2: remove RTE_FLOW_QU_DEFAULT query-update mode
---
lib/ethdev/rte_flow.c| 39 +
lib/ethdev/rte_flow.h| 103 +++
lib/e
return to application number of tokens stored in port
before update.
Application must create a rule with quota action to mark flow and
match on the mark with quota item in following flow rule.
Signed-off-by: Gregory Etelson
Acked-by: Ori Kam
---
v2: remove RTE_FLOW_QU_DEFAULT query-update mode
Hello Ori,
> Some comments below,
I posted v2 with updates.
Regards,
Gregory
y and update only functionality for backward compatibility
with existing API.
Signed-off-by: Gregory Etelson
---
v2: remove RTE_FLOW_QU_DEFAULT query-update mode
v3: update release release notes
fix doxygen errors
---
doc/guides/rel_notes/release_23_03.rst | 7 ++
lib/ethdev/rte_f
return to application number of tokens stored in port
before update.
Application must create a rule with quota action to mark flow and
match on the mark with quota item in following flow rule.
Signed-off-by: Gregory Etelson
Acked-by: Ori Kam
---
v2: remove RTE_FLOW_QU_DEFAULT query-update mode
v3
y and update only functionality for backward compatibility
with existing API.
Signed-off-by: Gregory Etelson
---
v2: Remove RTE_FLOW_QU_DEFAULT query-update mode.
v3: Update release release notes.
Fix doxygen errors.
v4: Add returned errno codes.
---
doc/guides/rel_notes/release_23_03.rst
return to application number of tokens stored in port
before update.
Application must create a rule with quota action to mark flow and
match on the mark with quota item in following flow rule.
Signed-off-by: Gregory Etelson
Acked-by: Ori Kam
---
v2: Remove RTE_FLOW_QU_DEFAULT query-update mode.
v3
Add indirect quota flow action.
Add match on quota flow item.
Gregory Etelson (5):
net/mlx5: update query fields in async job structure
net/mlx5: remove code duplication
common/mlx5: update MTR ASO definitions
net/mlx5: add indirect QUOTA create/query/modify
mlx5dr: Definer, translate
Query fields defined in `mlx5_hw_q_job` target CT type only.
The patch updates `mlx5_hw_q_job` for other query types as well.
Signed-off-by: Gregory Etelson
---
drivers/net/mlx5/mlx5.h | 10 +-
drivers/net/mlx5/mlx5_flow_aso.c | 2 +-
drivers/net/mlx5/mlx5_flow_hw.c | 6
Replace duplicated code with dedicated functions
Signed-off-by: Gregory Etelson
---
drivers/net/mlx5/mlx5.h | 6 +-
drivers/net/mlx5/mlx5_flow_hw.c | 182
2 files changed, 95 insertions(+), 93 deletions(-)
diff --git a/drivers/net/mlx5/mlx5.h b
Update MTR ASO definitions for QUOTA flow action.
Quota flow action requires WQE READ capability and access to
token fields.
Signed-off-by: Gregory Etelson
---
drivers/common/mlx5/mlx5_prm.h | 4
1 file changed, 4 insertions(+)
diff --git a/drivers/common/mlx5/mlx5_prm.h b/drivers/common
Implement HWS functions for indirect QUOTA creation, modification and
query.
Signed-off-by: Gregory Etelson
---
drivers/net/mlx5/meson.build | 1 +
drivers/net/mlx5/mlx5.h| 72 +++
drivers/net/mlx5/mlx5_flow.c | 62 +++
drivers/net/mlx5/mlx5_flow.h | 20
3 (11b) PASS
Quota item checks Meter register bit 1 value to determine state:
SPEC MASK
PASS 2 (10b)2 (10b)
BLOCK0 (00b)2 (10b)
Signed-off-by: Gregory Etelson
---
drivers/net/mlx5/hws/mlx5dr_definer.c | 61 +++
1 file changed
Hello Thomas,
[]
> > Current API allows either query or update indirect flow action.
> > If port hardware allows both update and query in a single operation,
> > application still has to issue 2 separate hardware requests.
> >
> > The patch adds `rte_flow_action_handle_query_update` function call
before update.
> >
> > Application must create a rule with quota action to mark flow and
> > match on the mark with quota item in following flow rule.
> >
> > Signed-off-by: Gregory Etelson
> > Acked-by: Ori Kam
> > ---
> > v2: Remove RTE_FLOW_QU_DEFAULT
Hello Thomas,
[]
> > > > + /**
> > > > + * Apply quota verdict - PASS or BLOCK to a flow.
> > >
> > > Is "to" really wanted here?
> > > What about "pass or block a flow"?
> > >
> >
> > The flow action provides information only - it does not affect flow in any
> way.
> > Application needs
if that is supported
by port hardware, by setting `qu_mode` parameter to
RTE_FLOW_QU_QUERY_FIRST or RTE_FLOW_QU_UPDATE_FIRST.
Signed-off-by: Gregory Etelson
---
v2: Remove RTE_FLOW_QU_DEFAULT query-update mode.
v3: Update release release notes.
Fix doxygen errors.
v4: Add returned errno codes.
v5:
match on the mark with quota item in following flow rule.
Signed-off-by: Gregory Etelson
Acked-by: Ori Kam
---
v2: Remove RTE_FLOW_QU_DEFAULT query-update mode.
v3: Update release notes.
v5: Update the patch description.
Remove PMD documentation.
---
app/test-pmd/cmdline_flow.c
1 - 100 of 729 matches
Mail list logo