The template API NVGRE item can support full mask.
This patch updates default NVGRE item mask for the template API.
Fixes: 80c676259a04 ("net/mlx5: validate HWS template items")
Cc: sta...@dpdk.org
Signed-off-by: Jiawei Wang
Acked-by: Bing Zhao
---
drivers/net/mlx5/mlx5_f
.@dpdk.org
Signed-off-by: Jiawei Wang
Acked-by: Bing Zhao
Acked-by: Viacheslav Ovsiienko
---
drivers/net/mlx5/mlx5_devx.c | 3 ++-
drivers/net/mlx5/mlx5_flow.c | 24 +---
drivers/net/mlx5/mlx5_rx.h | 4 ++--
3 files changed, 17 insertions(+), 14 deletions(-)
diff --git a/d
n the wrong place.
This patch adds the checking to release the Rx hash queue
resource after the sample action release, to avoid one more
extra release if there's a failure.
Fixes: ca5eb60ecd5b ("net/mlx5: fix resource release for mirror flow")
Cc: sta...@dpdk.org
Signed-off-by: Jiaw
Update the description of flow mirroring to make clear
what are the limitations of the mlx5 driver.
Signed-off-by: Jiawei Wang
Acked-by: Thomas Monjalon
---
doc/guides/nics/mlx5.rst | 22 +-
1 file changed, 13 insertions(+), 9 deletions(-)
diff --git a/doc/guides/nics/mlx5
")
Cc: sta...@dpdk.org
Signed-off-by: Jiawei Wang
Acked-by: Matan Azrad
---
drivers/net/mlx5/mlx5_flow_dv.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/mlx5/mlx5_flow_dv.c b/drivers/net/mlx5/mlx5_flow_dv.c
index 154e509707..9753af2cb1 100644
--- a/drivers/net/mlx5
This patch adds the checking to avoid creating send_to_kernel
action on the FDB table if eswitch disabled.
Fixes: 033e826f680b ("net/mlx5: fix device checking for send to kernel action")
Signed-off-by: Jiawei Wang
Acked-by: Suanming Mou
---
drivers/net/mlx5/mlx5_flow_hw.c | 3 +
creating action at the VF/SF ports
on the FDB table.
Fixes: b2cd39187cd4 ("net/mlx5: extend send to kernel action support")
Signed-off-by: Jiawei Wang
Acked-by: Suanming Mou
---
drivers/net/mlx5/mlx5_flow_hw.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/drivers/net/mlx5/mlx5
("net/mlx5: support E-Switch mirroring and jump in one
flow")
Cc: sta...@dpdk.org
Signed-off-by: Jiawei Wang
---
doc/guides/nics/mlx5.rst| 5 ++
drivers/net/mlx5/mlx5_flow_dv.c | 93 +
2 files changed, 76 insertions(+), 22 deletions(-)
diff -
, and
it's possible that PF1 device scan results in no switch ports.
This patch supports the new configuration by allowing a PF scan with
empty switch ports.
Signed-off-by: Xueming Li
Signed-off-by: Jiawei Wang
---
drivers/net/mlx5/linux/mlx5_os.c | 7 ---
1 file changed, 7 dele
This patch uses the temp variable to check the current action type,
to avoid overlap the sample action following the decap.
Fixes: 7356aec64c48 ("net/mlx5: fix mirror flow split with L3 encapsulation")
Cc: sta...@dpdk.org
Signed-off-by: Jiawei Wang
Acked-by: Suanming Mou
---
driver
MLX5 PMD updates the TIS index based on the tx queue affinity,
and creates the DevX SQ object with updated the TIS index.
This patch adds the checking that set the affinity per Tx Queue
if HW objects can be created by DevX.
Signed-off-by: Jiawei Wang
Acked-by: Viacheslav Ovsiienko
---
drivers
This patch adds the description for send to kernel action support.
Signed-off-by: Jiawei Wang
Acked-by: Ori Kam
---
doc/guides/nics/mlx5.rst | 7 +++
doc/guides/prog_guide/rte_flow.rst | 9 +
lib/ethdev/rte_flow.h | 1 -
3 files changed, 16 insertions(+), 1
The hws send to kernel action was supported in NIC and FDB tables,
Currently, the send to kernel action is created in NIC RX only.
This patch adds the FDB and NIC-TX tables support for sending to the kernel
action for HWS.
Signed-off-by: Jiawei Wang
---
drivers/net/mlx5/mlx5.h | 2
packets into the kernel through the FDB
table.
This patch adds the FDB and NIC-TX tables support for sending to the kernel
action.
Signed-off-by: Jiawei Wang
---
drivers/net/mlx5/linux/mlx5_os.c | 25 +++--
drivers/net/mlx5/mlx5.h | 4 +++-
drivers/net/mlx5/mlx5_flow.h
packets into the kernel through the FDB
table.
This patchset adds the FDB and NIC-TX tables support for sending to the kernel
action, also updates the documentation.
[1]
https://patchwork.dpdk.org/project/dpdk/list/?series=25318
Jiawei Wang (3):
net/mlx5: extend send to kernel action support
() and starts sending traffic, the MLX5 PMD
updates TIS creation with tx_aggr_affinity value of Tx queue.
TIS index 1 goes to first physical port, TIS index 2 goes to second
physical port, and so on, TIS index 0 is reserved for default
HW hash mode.
Signed-off-by: Jiawei Wang
Acked-by: Viacheslav
This patch adds the new aggregated affinity item support in PMD:
RTE_FLOW_ITEM_TYPE_AGGR_AFFINITY.
This patch adds the validation function for the new item,
it works for NIC-RX and FDB rule on ROOT-table only.
Signed-off-by: Jiawei Wang
Acked-by: Viacheslav Ovsiienko
---
doc/guides/nics
This patch adds function to query hca capability via Devx for
lag_rx_port_affinity.
Signed-off-by: Jiawei Wang
Acked-by: Viacheslav Ovsiienko
---
drivers/common/mlx5/mlx5_devx_cmds.c | 3 +++
drivers/common/mlx5/mlx5_devx_cmds.h | 1 +
drivers/common/mlx5/mlx5_prm.h | 7 +--
drivers
:
* update the PMD code based on the new RTE API.
Jiawei Wang (3):
net/mlx5: add lag Rx port affinity in PRM
net/mlx5: add aggregated affinity item support
net/mlx5: enhance the Tx queue affinity
doc/guides/nics/features/default.ini | 1 +
doc/guides/nics/features/mlx5.ini| 1 +
doc/guides
first physical port and redirects
these packets into Rx queue 0.
Signed-off-by: Jiawei Wang
Acked-by: Thomas Monjalon
---
app/test-pmd/cmdline_flow.c | 28 +
doc/guides/prog_guide/rte_flow.rst | 8 +
doc/guides/rel_notes/release_23_03.rst | 1
Signed-off-by: Jiawei Wang
Acked-by: Thomas Monjalon
---
app/test-pmd/cmdline.c | 92 +
doc/guides/rel_notes/release_23_03.rst | 7 ++
doc/guides/testpmd_app_ug/testpmd_funcs.rst | 14
lib/ethdev/ethdev_driver.h | 37
pdate release release note
* Reword the commit log to make clear
v3:
* Update exception rule
* Update the commit log
* Add the description for PHY affinity and numbering definition
* Add the number of physical ports into device info
* Change the patch order
v2: Update based on the comments
Jiawei
first physical port and redirects
these packets into Rx queue 0.
Signed-off-by: Jiawei Wang
Acked-by: Thomas Monjalon
---
app/test-pmd/cmdline_flow.c | 28 +
doc/guides/prog_guide/rte_flow.rst | 8 +
doc/guides/rel_notes/release_23_03.rst | 1
Signed-off-by: Jiawei Wang
Acked-by: Thomas Monjalon
---
app/test-pmd/cmdline.c | 92 +
doc/guides/rel_notes/release_23_03.rst | 7 ++
doc/guides/testpmd_app_ug/testpmd_funcs.rst | 14
lib/ethdev/ethdev_driver.h | 39
d the description for PHY affinity and numbering definition
* Add the number of physical ports into device info
* Change the patch order
v2: Update based on the comments
Jiawei Wang (2):
ethdev: add Tx queue mapping of aggregated ports
ethdev: add flow matching of aggregated port
app/tes
first physical port and redirects
these packets into Rx queue 0.
Signed-off-by: Jiawei Wang
---
app/test-pmd/cmdline_flow.c | 28 +
doc/guides/prog_guide/rte_flow.rst | 9 ++
doc/guides/rel_notes/release_23_03.rst | 1 +
doc/guides/testpmd_app_ug
Signed-off-by: Jiawei Wang
---
app/test-pmd/cmdline.c | 96 +
doc/guides/rel_notes/release_23_03.rst | 7 ++
doc/guides/testpmd_app_ug/testpmd_funcs.rst | 14 +++
lib/ethdev/ethdev_driver.h | 39 +
lib/ethdev/e
r
v3:
* Update exception rule
* Update the commit log
* Add the description for PHY affinity and numbering definition
* Add the number of physical ports into device info
* Change the patch order
v2: Update based on the comments
Jiawei Wang (2):
ethdev: introduce the Tx map API for aggregated
first physical port and redirects
these packets into Rx queue 0.
Signed-off-by: Jiawei Wang
Acked-by: Ori Kam
---
app/test-pmd/cmdline_flow.c | 28 +
doc/guides/prog_guide/rte_flow.rst | 8 +
doc/guides/rel_notes/release_23_03.rst | 1 +
doc/guides
e second physical port if sending packets with Tx Queue 2
or Tx Queue 3.
Signed-off-by: Jiawei Wang
---
app/test-pmd/cmdline.c | 100
app/test-pmd/config.c | 1 +
devtools/libabigail.abignore| 5 +
doc/guides/r
commit log to make clear
v3:
* Update exception rule
* Update the commit log
* Add the description for PHY affinity and numbering definition
* Add the number of physical ports into device info
* Change the patch order
v2: Update based on the comments
Jiawei Wang (2):
ethdev: introduce the PHY
reserved for default HWS hash mode.
Signed-off-by: Jiawei Wang
---
drivers/common/mlx5/mlx5_prm.h | 8 ---
drivers/net/mlx5/mlx5.c| 43 +++---
drivers/net/mlx5/mlx5_devx.c | 24 ++-
drivers/net/mlx5/mlx5_ethdev.c | 1 +
drivers/net/mlx5
This patch adds the new phy affinity item support in PMD:
RTE_FLOW_ITEM_TYPE_PHY_AFFINITY.
This patch adds the validation function for the new item,
it works for NIC-RX and FDB rule on ROOT-table only.
Signed-off-by: Jiawei Wang
---
doc/guides/nics/features/default.ini | 1 +
doc/guides/nics
This patch adds function to query hca capability via Devx for
lag_rx_port_affinity.
Signed-off-by: Jiawei Wang
---
drivers/common/mlx5/mlx5_devx_cmds.c | 3 +++
drivers/common/mlx5/mlx5_devx_cmds.h | 1 +
drivers/common/mlx5/mlx5_prm.h | 7 +--
drivers/net/mlx5/linux/mlx5_os.c | 4
This patch series implement PHY affinity item support in MLX5 PMD and
the support for TIS creation with tx_phy_affinity value of
Tx queue.
This patch series relies on the preceding ethdev API:
http://patches.dpdk.org/project/dpdk/patch/20230203050717.46914-2-jiaw...@nvidia.com/
Jiawei Wang (3
the first port) and redirects these packets into RxQ 0.
Signed-off-by: Jiawei Wang
Acked-by: Ori Kam
---
app/test-pmd/cmdline_flow.c | 29 ++
doc/guides/prog_guide/rte_flow.rst | 8 +
doc/guides/rel_notes/release_23_03.rst | 6
doc/guides
PHY affinity and numbering definition
* Add the number of physical ports into device info
* Change the patch order
v2: Update based on the comments
Jiawei Wang (2):
ethdev: introduce the PHY affinity field in Tx queue API
ethdev: add PHY affinity match item
app/test-pmd/cmdline.c
port config 0 txq 3 phy_affinity 2
These commands config the TxQ index 0 and TxQ index 1 with phy affinity 1,
uses TxQ 0 or TxQ 1 send packets, these packets will be sent from the
hardware port 0, and similar with hardware port 1 if sending packets
with TxQ 2 or TxQ 3.
Signed-off-by: Jiawei Wang
-off-by: Jiawei Wang
---
app/test-pmd/cmdline_flow.c | 29 +
doc/guides/prog_guide/rte_flow.rst | 8 ++
doc/guides/rel_notes/release_23_03.rst | 5
doc/guides/testpmd_app_ug/testpmd_funcs.rst | 4 +++
lib/ethdev/rte_flow.c
finity 2
These commands config the TxQ index 0 and TxQ index 1 with phy affinity 1,
uses TxQ 0 or TxQ 1 send packets, these packets will be sent from the
hardware port 0, and similar with hardware port 1 if sending packets
with TxQ 2 or TxQ 3.
Signed-off-by: Jiawei Wang
---
app/test-pmd/c
port with received.
RFC:
http://patches.dpdk.org/project/dpdk/cover/20221221102934.13822-1-jiaw...@nvidia.com/
The PMD patch will be sent soon.
Jiawei Wang (2):
ethdev: add PHY affinity match item
ethdev: introduce the PHY affinity field in Tx queue API
app/test-pmd/cmdline.c
0 txq 3 mhpsdp_hwport 2
These commands config the TxQ index 0 and TxQ index 1 with mhpsdp_hwport 1,
uses TxQ 0 or TxQ 1 send packets, these packets will be sent from the
hardware port 0, and similar with hardware port 1 if sending packets
with TxQ 2 or TxQ 3.
Signed-off-by: Jiawei Wang
---
app/
mhpsdp_hw_port hwport is 1 /
end actions queue index 0 / end
The above command means that creates a flow on a single DPDK port and
matches the packet from the first physical port (the hwport 1
stands for the first port) and redirects these packets into RxQ 0.
Signed-off-by: Jiawei Wang
---
app
.
RFC:
http://patches.dpdk.org/project/dpdk/cover/20221221102934.13822-1-jiaw...@nvidia.com/
Jiawei Wang (2):
ethdev: add mhpsdp hardware port match item
ethdev: introduce the mhpsdp hwport field in Tx queue API
app/test-pmd/cmdline.c | 84 +
app/test
hash mode.
Signed-off-by: Jiawei Wang
---
drivers/common/mlx5/mlx5_prm.h | 8 ---
drivers/net/mlx5/mlx5.c| 43 +++---
drivers/net/mlx5/mlx5_devx.c | 21 ++---
drivers/net/mlx5/mlx5_tx.h | 1 +
drivers/net/mlx5/mlx5_txq.c| 9
This patch adds the new port affinity item supports in PMD:
RTE_FLOW_ITEM_TYPE_PORT_AFFINITY.
This patch adds the validation function for the new item,
it works for NIC-RX rules on ROOT-table only.
Signed-off-by: Jiawei Wang
---
doc/guides/nics/features/mlx5.ini | 1 +
doc/guides/nics/mlx5
This patch adds function to query hca capability via Devx for
lag_rx_port_affinity.
Signed-off-by: Jiawei Wang
---
drivers/common/mlx5/mlx5_devx_cmds.c | 3 +++
drivers/common/mlx5/mlx5_devx_cmds.h | 1 +
drivers/common/mlx5/mlx5_prm.h | 7 +--
drivers/net/mlx5/linux/mlx5_os.c | 4
with TxQ 2 or TxQ 3.
Signed-off-by: Jiawei Wang
---
app/test-pmd/cmdline.c | 84 +
devtools/libabigail.abignore| 5 ++
doc/guides/rel_notes/release_22_03.rst | 4 +
doc/guides/testpmd_app_ug/testpmd_funcs.rst | 13
li
-off-by: Jiawei Wang
---
app/test-pmd/cmdline_flow.c | 29 +
doc/guides/prog_guide/rte_flow.rst | 7 +
doc/guides/rel_notes/release_22_03.rst | 5
doc/guides/testpmd_app_ug/testpmd_funcs.rst | 4 +++
lib/ethdev/rte_flow.c
ceived.
Jiawei Wang (5):
ethdev: add port affinity match item
ethdev: introduce the affinity field in Tx queue API
drivers: add lag Rx port affinity in PRM
net/mlx5: add port affinity item support
drivers: enhance the Tx queue affinity
app/test-pmd/cmdline.c
/SF).
This patch adds the checking for reserved metadata register before
getting the register, to avoid assertion failure.
Fixes: 9a726360dd30 ("net/mlx5: fix sample flow action on trusted device")
Cc: sta...@dpdk.org
Signed-off-by: Jiawei Wang
Acked-by: Viacheslav Ovsiienko
---
v2:
/SF).
This patch adds the checking for reserved metadata register before
getting the register, to avoid assertion failure.
Fixes: 9a726360dd30 ("net/mlx5: fix sample flow action on trusted device")
Cc: sta...@dpdk.org
Signed-off-by: Jiawei Wang
Acked-by: Slava Ovsiienko
---
v2:
From: Jiawei Wang
The sample flow tried to get the reserved metadata register for
match implicitly, and if the reserved metadata register was invalid
then back to use the application tag.
The assertion failure was caused while getting register due to
the reserved metadata regC is invalid on CX
("net/mlx5: support flow hit action for aging")
Cc: sta...@dpdk.org
Signed-off-by: Jiawei Wang
Acked-by: Viacheslav Ovsiienko
---
drivers/net/mlx5/mlx5_flow_dv.c | 53 -
1 file changed, 32 insertions(+), 21 deletions(-)
diff --git a/drivers/net/mlx5/mlx5_f
ation.
Fixes: 04c0d3f20f54 ("net/mlx5: fix port matching in sample flow rule")
Fixes: 255b8f86eb6e ("net/mlx5: fix E-Switch egress mirror flow validation")
Cc: sta...@dpdk.org
Signed-off-by: Jiawei Wang
Acked-by: Viacheslav Ovsiienko
---
drivers/net
Some fixes for sample/mirror issues.
Jiawei Wang (2):
net/mlx5: fix flow source port checking in sample flow rule
net/mlx5: fix mirror flow validation with ASO action
drivers/net/mlx5/mlx5_flow.c| 55 +---
drivers/net/mlx5/mlx5_flow.h| 19 ++
drivers/net/mlx5
set the layer attributes correctly.
This patch reverts the below code changes to support the match, and
adjusts the layers update in case of decap with outer tunnel header.
Fixes: fa06906a48ee ("net/mlx5: fix IPIP multi-tunnel validation")
Cc: sta...@dpdk.org
Signed-off-by: Jiawei Wang
This patch adds mlx5 description about E-Switch mirroring
flow (RTE_FLOW_ACTION_TYPE_SAMPLE with sample ratio=1) with
encap action, then supports the uplink port only in the sample
actions list or in the one flow.
Signed-off-by: Jiawei Wang
---
doc/guides/nics/mlx5.rst | 2 ++
1 file changed, 2
mlx5: fix match information in meter")
Cc: sta...@dpdk.org
Signed-off-by: Jiawei Wang
Acked-by: Matan Azrad
---
v2: fix the style warning
---
drivers/net/mlx5/mlx5_flow_dv.c | 7 +++
1 file changed, 7 insertions(+)
diff --git a/drivers/net/mlx5/mlx5_flow_dv.c b/drivers/net/mlx5/mlx5_flow_d
mlx5: fix match information in meter")
Cc: sta...@dpdk.org
Signed-off-by: Jiawei Wang
Acked-by: Matan Azrad
---
drivers/net/mlx5/mlx5_flow_dv.c | 7 +++
1 file changed, 7 insertions(+)
diff --git a/drivers/net/mlx5/mlx5_flow_dv.c b/drivers/net/mlx5/mlx5_flow_dv.c
index bee9363515..f0dbc96dc8
CN field")
Signed-off-by: Jiawei Wang
Acked-by: Asaf Penso
---
doc/guides/nics/mlx5.rst | 5 +
1 file changed, 5 insertions(+)
diff --git a/doc/guides/nics/mlx5.rst b/doc/guides/nics/mlx5.rst
index a7f9851d16..eb16669b3f 100644
--- a/doc/guides/nics/mlx5.rst
+++ b/doc/guides/nic
AN or encap action (if any) in the prefix sub-flow.
Fixes: 6a951567c159 ("net/mlx5: support E-Switch mirroring and jump in one
flow")
Cc: sta...@dpdk.org
Signed-off-by: Jiawei Wang
Acked-by: Viacheslav Ovsiienko
---
drivers/net/mlx5/mlx5_flow.c | 63 +
ned-off-by: Jiawei Wang
Acked-by: Viacheslav Ovsiienko
---
doc/guides/nics/mlx5.rst| 2 ++
drivers/net/mlx5/mlx5_flow.c| 6 ++
drivers/net/mlx5/mlx5_flow_dv.c | 10 ++
3 files changed, 18 insertions(+)
diff --git a/doc/guides/nics/mlx5.rst b/doc/guides/nics/mlx5.rst
index
after flow split.
This patch copies the explicit port match to the sample suffix subflow,
and the latter gets the correct source vport value in the flow matcher.
Fixes: b4c0ddbfcc58 ("net/mlx5: split sample flow into two sub-flows")
Cc: sta...@dpdk.org
Signed-off-by: Jiawei Wang
---
d
TX_QUEUE items in
order to not impact hairpins.
Fixes: ce777b147bf8 ("net/mlx5: fix E-Switch flow without port item")
Cc: sta...@dpdk.org
Signed-off-by: Jiawei Wang
Acked-by: Viacheslav Ovsiienko
Acked-by: Ori Kam
---
v4: rebase
v3: update the tx_item checking
v2: fix one typo
---
the following meter subflows handle the flow mark correctly.
Fixes: 9ade91dfe85d ("net/mlx5: fix group value of sample suffix flow")
Cc: sta...@dpdk.org
Signed-off-by: Jiawei Wang
Acked-by: Viacheslav Ovsiienko
---
drivers/net/mlx5/mlx5_flow.c | 5 ++---
drivers/net/mlx5/mlx5_
("net/mlx5: connect meter policy to created flows")
Cc: sta...@dpdk.org
Signed-off-by: Jiawei Wang
Acked-by: Viacheslav Ovsiienko
---
drivers/net/mlx5/mlx5_flow.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/mlx5/mlx5_flow.c b/drivers/net/mlx5/mlx5_flow.c
index
tag is used.
Fixes: 8d72fa668964 ("net/mlx5: share tag between meter and metadata")
Cc: sta...@dpdk.org
Signed-off-by: Jiawei Wang
Acked-by: Viacheslav Ovsiienko
---
drivers/net/mlx5/mlx5_flow.c | 35 +--
1 file changed, 17 insertions(+), 18 deletion
TX_QUEUE items in
order to not impact hairpins.
Fixes: ce777b147bf8 ("net/mlx5: fix E-Switch flow without port item")
Cc: sta...@dpdk.org
Signed-off-by: Jiawei Wang
Acked-by: Viacheslav Ovsiienko
---
v3: update the tx_item checking
v2: fix one typo
---
doc/guides/nics/mlx5.rst
register support check can be
done only ones and check results can be shared for all representors.
Signed-off-by: Jiawei Wang
Acked-by: Viacheslav Ovsiienko
---
v3: Rebase
v2: Fix the CI warning
---
drivers/net/mlx5/linux/mlx5_os.c | 33 +-
drivers/net/mlx5/mlx5.h
register support check can be
done only ones and check results can be shared for all representors.
Signed-off-by: Jiawei Wang
Acked-by: Viacheslav Ovsiienko
---
v2: Fix the CI warning
---
drivers/net/mlx5/linux/mlx5_os.c | 33 +-
drivers/net/mlx5/mlx5.h
register support check can be
done only ones and check results can be shared for all representors.
Signed-off-by: Jiawei Wang
---
drivers/net/mlx5/linux/mlx5_os.c | 33 +-
drivers/net/mlx5/mlx5.h| 10 ++---
drivers/net/mlx5/mlx5_flow.c | 31
Updates the Minimal SW and HW Version offload support
information for ASO metering.
Signed-off-by: Jiawei Wang
---
doc/guides/nics/mlx5.rst | 5 +
1 file changed, 5 insertions(+)
diff --git a/doc/guides/nics/mlx5.rst b/doc/guides/nics/mlx5.rst
index 3e9c736cae..42559cf261 100644
--- a/doc
Updates the Minimal SW and HW Version offload support
information for Metering hierarchy.
Signed-off-by: Jiawei Wang
---
doc/guides/nics/mlx5.rst | 5 +
1 file changed, 5 insertions(+)
diff --git a/doc/guides/nics/mlx5.rst b/doc/guides/nics/mlx5.rst
index 42559cf261..b6b8ecb3a0 100644
commit.
The patch checks whether the decap action is part of "L3 encapsulation"
and does not move the decap action into suffix subflow for the case.
Fixes: cafd87f62a06 ("net/mlx5: fix VLAN push/pop and decap actions with
mirror")
Cc: sta...@dpdk.org
Signed-off-by: Jiawei Wang
A
mirror")
Cc: sta...@dpdk.org
Signed-off-by: Jiawei Wang
Acked-by: Viacheslav Ovsiienko
---
drivers/net/mlx5/mlx5_flow.c | 20 +++-
1 file changed, 19 insertions(+), 1 deletion(-)
diff --git a/drivers/net/mlx5/mlx5_flow.c b/drivers/net/mlx5/mlx5_flow.c
index a3fdce685e..3200a
cted.
The default is to allow.
Set it to 0 if disallow, for example:
-a ,allow_duplicate_pattern=0
Signed-off-by: Jiawei Wang
Acked-by: Matan Azrad
---
doc/guides/nics/mlx5.rst | 14 ++
doc/guides/rel_notes/release_21_08.rst | 6 ++
drivers/net/mlx5/linux
Add glue function to update the duplicate rule allow/disallow
through rdma-core DV API.
Signed-off-by: Jiawei Wang
Acked-by: Matan Azrad
---
drivers/common/mlx5/linux/meson.build | 2 ++
drivers/common/mlx5/linux/mlx5_glue.c | 12
drivers/common/mlx5/linux/mlx5_glue.h | 1 +
3
cted.
The default is to allow.
Set it to 0 if disallow, for example:
-a ,allow_duplicate_pattern=0
Jiawei Wang (2):
common/mlx5: add glue function for duplicate rule ability
net/mlx5: control rules with identical pattern behavior
doc/guides/nics/mlx5.rst | 14 +
.@dpdk.org
Signed-off-by: Jiawei Wang
Acked-by: Xueming Li
---
drivers/net/mlx5/mlx5.h | 2 +-
drivers/net/mlx5/mlx5_flow.c| 4 ++--
drivers/net/mlx5/mlx5_flow_dv.c | 2 +-
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/net/mlx5/mlx5.h b/drivers/net/mlx5/ml
flags checking into the correct
MODIFY_HDR_ACTIONS set.
Fixes: 641dbe4fb053 ("net/mlx5: support modify field flow action")
Cc: sta...@dpdk.org
Signed-off-by: Jiawei Wang
Acked-by: Viacheslav Ovsiienko
---
drivers/net/mlx5/mlx5_flow_dv.c | 2 +-
1 file changed, 1 insertion(+), 1 deletio
cted.
The default is to allow.
Set it to 0 if disallow, for example:
-a ,allow_duplicate_pattern=0
Signed-off-by: Jiawei Wang
---
doc/guides/nics/mlx5.rst | 10 ++
doc/guides/rel_notes/release_21_08.rst | 6 ++
drivers/net/mlx5/linux/mlx5_os.c | 7 ++
Add glue function to update the duplicate rule allow/disallow
through rdma-core DV API.
Signed-off-by: Jiawei Wang
---
drivers/common/mlx5/linux/meson.build | 2 ++
drivers/common/mlx5/linux/mlx5_glue.c | 12
drivers/common/mlx5/linux/mlx5_glue.h | 1 +
3 files changed, 15
transfer checking for ASO age action.
Fixes: f9bc5274a6f9 ("net/mlx5: allow age modes combination")
Cc: sta...@dpdk.org
Signed-off-by: Jiawei Wang
Acked-by: Matan Azrad
---
drivers/net/mlx5/mlx5_flow_dv.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/driver
modes combination")
Cc: sta...@dpdk.org
Signed-off-by: Jiawei Wang
Acked-by: Matan Azrad
---
drivers/net/mlx5/mlx5_flow_dv.c | 81 +
1 file changed, 42 insertions(+), 39 deletions(-)
diff --git a/drivers/net/mlx5/mlx5_flow_dv.c b/drivers/net/mlx5/mlx5_flow_
modes combination")
Cc: sta...@dpdk.org
Signed-off-by: Jiawei Wang
Acked-by: Matan Azrad
---
drivers/net/mlx5/mlx5_flow_dv.c | 81 +
1 file changed, 42 insertions(+), 39 deletions(-)
diff --git a/drivers/net/mlx5/mlx5_flow_dv.c b/drivers/net/mlx5/mlx5_flow_
is NULL then return rte_flow
pointer to user, otherwise return the original flow context.
Fixes: f9bc5274a6f9 ("net/mlx5: allow age modes combination")
Cc: sta...@dpdk.org
Signed-off-by: Jiawei Wang
---
drivers/net/mlx5/mlx5_flow_dv.c | 33 -
1 file c
actual group value for age action checking,
Fixes: f9bc5274a6f9 ("net/mlx5: allow age modes combination")
Cc: sta...@dpdk.org
Signed-off-by: Jiawei Wang
---
drivers/net/mlx5/mlx5_flow_dv.c | 24
1 file changed, 16 insertions(+), 8 deletions(-)
diff --git a/d
transfer checking for ASO age action.
Fixes: f9bc5274a6f9 ("net/mlx5: allow age modes combination")
Cc: sta...@dpdk.org
Signed-off-by: Jiawei Wang
Acked-by: Matan Azrad
---
drivers/net/mlx5/mlx5_flow_dv.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/driver
Currently RSS expansion only supports GRE and GRE KEY.
This patch adds RSS expansion for NVGRE item so PMD can expand flow item
correctly.
Fixes: ea81c1b816f7 ("net/mlx5: fix NVGRE matching")
Cc: sta...@dpdk.org
Signed-off-by: Jiawei Wang
Acked-by: Xiaoyu Min
---
drivers/net/mlx5/m
ction before.
Fixes: 07627fbf1506 ("net/mlx5: support E-Switch mirroring with modify action")
Cc: sta...@dpdk.org
Signed-off-by: Jiawei Wang
Acked-by: Viacheslav Ovsiienko
---
drivers/net/mlx5/mlx5_flow.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/net/mlx5/mlx5_flow.
Currently RSS expansion only support GRE and GRE KEY.
This patch add RSS expansion for NVGRE item so PMD can expand flow item
correctly.
Fixes: f4b901a46aec ("net/mlx5: add flow GRE item")
Cc: sta...@dpdk.org
Signed-off-by: Jiawei Wang
Acked-by: Xiaoyu Min
---
drivers/net/mlx5/mlx5_
is NULL then return rte_flow
pointer to user, otherwise return the original flow context.
Fixes: f9bc5274a6f9 ("net/mlx5: allow age modes combination")
Cc: sta...@dpdk.org
Signed-off-by: Jiawei Wang
---
drivers/net/mlx5/mlx5_flow_dv.c | 33 -
1 file c
actual group value for age action checking,
Fixes: f9bc5274a6f9 ("net/mlx5: allow age modes combination")
Cc: sta...@dpdk.org
Signed-off-by: Jiawei Wang
---
drivers/net/mlx5/mlx5_flow_dv.c | 24
1 file changed, 16 insertions(+), 8 deletions(-)
diff --git a/d
The flow perf application used the srtcm_rfc2697 as meter profile
while do the meter testing.
This patch adds the support new configuration parameter
'--packet-mode' to generate the meter flows with the packet mode.
Signed-off-by: Jiawei Wang
Acked-by: Wisam Jaddo
---
app/test-flow-p
Add the new meter CIR configuration parameter, user can set the
different value for committed information rate(CIR) parameter.
The usage as below:
--meter-cir=N, default count is 125.
Signed-off-by: Jiawei Wang
Acked-by: Wisam Jaddo
---
app/test-flow-perf/main.c | 13
: Haifei Luo
Signed-off-by: Jiawei Wang
Acked-by: Wisam Jaddo
---
app/test-flow-perf/main.c | 87 --
doc/guides/tools/flow-perf.rst | 3 ++
2 files changed, 86 insertions(+), 4 deletions(-)
diff --git a/app/test-flow-perf/main.c b/app/test-flow-perf/mai
This patch set contains three updates for flow perf application:
1. Adds the option 'policy-mtr' to indicate if create a meter with
policy;
2. Adds the option 'meter-cir' to configure the CIR parameter;
3. Adds the option 'packet-mode' to enable the meter PPS.
Ji
KEY and mlx5 PMD
performs RSS expansion correctly.
Fixes: 048f0d45e342 ("net/mlx5: support RSS expansion for IPv6 GRE")
Cc: sta...@dpdk.org
Signed-off-by: Jiawei Wang
Acked-by: Xiaoyu Min
Acked-by: Viacheslav Ovsiienko
---
drivers/net/mlx5/mlx5_flow.c | 16 +---
1 file c
policy API.
Signed-off-by: Li Zhang
Signed-off-by: Haifei Luo
Signed-off-by: Jiawei Wang
Acked-by: Matan Azrad
Acked-by: Ray Kinsella
Acked-by: Ori Kam
Acked-by: Jasvinder Singh
Acked-by: Cristian Dumitrescu
---
app/test-flow-perf/main.c | 7 -
app/test-pmd
1 - 100 of 312 matches
Mail list logo