multicast traffic, leaving the VF still able to see it.
To align PF and VF behavior, only unicast MAC address flows should be
added.
Fixes: 272733b5ebfd ("net/mlx5: use flow to enable unicast traffic")
Cc: sta...@dpdk.org
Signed-off-by: Gavin Li
---
drivers/net/mlx5/linux/mlx5_os.c | 3 ++
On 10/30/2024 12:26 AM, Stephen Hemminger wrote:
On Tue, 29 Oct 2024 15:42:56 +0200
"Minggang Li(Gavin)" wrote:
+* **Updated NVIDIA mlx5 driver.**
+
+ Optimized port probe in large scale.
+ This feature enhances the efficiency of probing VF/SFs on a large scale
+ by significantly reduc
On 10/28/2024 11:49 PM, Stephen Hemminger wrote:
On Mon, 28 Oct 2024 11:18:22 +0200
"Minggang Li(Gavin)" wrote:
+* **Updated NVIDIA mlx5 driver.**
+
+ Optimized port probe in large scale.
+ In previous release, it would take long time to probe one VF/SF if
+ hundreds of VF/SF were created
On 10/28/2024 11:47 PM, Stephen Hemminger wrote:
On Mon, 28 Oct 2024 11:18:18 +0200
"Minggang Li(Gavin)" wrote:
+- ``probe_opt_en`` parameter [int]
+
+ A non-zero value optimizes the probe process, especially for large scale.
+ PMD will hold the IB device information internally and reuse i
From: "Minggang Li (Gavin)"
Signed-off-by: Gavin Li
Acked-by: Alex Vesker
---
drivers/net/mlx5/hws/mlx5dr_send.c | 9 -
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/drivers/net/mlx5/hws/mlx5dr_send.c
b/drivers/net/mlx5/hws/mlx5dr_send.c
index 3022c50260..
to
allocate ID.
Fixes: c40c061a02 ("net/mlx5: add basic flow queue operation")
Fixes: 48fbb0e93d ("net/mlx5: support flow meter mark indirect action with HWS")
cc: sta...@dpdk.org
Signed-off-by: Gavin Li
Acked-by: Bing Zhao
---
drivers/net/mlx5/mlx5_flow_hw.c | 31
From: "Minggang Li (Gavin)"
Signed-off-by: Gavin Li
Acked-by: Alex Vesker
---
drivers/net/mlx5/hws/mlx5dr_rule.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/drivers/net/mlx5/hws/mlx5dr_rule.c
b/drivers/net/mlx5/hws/mlx5dr_rule.c
index 1edb7eac74..5d66d81ea5 100644
---
This patch set is to improve error handling in pmd and under layer.
Gavin Li (3):
net/mlx5: set rte errno if malloc failed
---
changelog:
v0->v1
- Fix typo in commit message
---
net/mlx5/hws: add log for failing to create rule in HWS
net/mlx5/hws: print CQE error syndrome and m
From: "Minggang Li (Gavin)"
Signed-off-by: Gavin Li
Acked-by: Alex Vesker
---
drivers/net/mlx5/hws/mlx5dr_send.c | 9 -
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/drivers/net/mlx5/hws/mlx5dr_send.c
b/drivers/net/mlx5/hws/mlx5dr_send.c
index 3022c50260..
to
allocate ID.
Fixes: c40c061a02 ("net/mlx5: add basic flow queue operation")
Fixes: 48fbb0e93d ("net/mlx5: support flow meter mark indirect action with HWS")
cc: sta...@dpdk.org
Signed-off-by: Gavin Li
Acked-by: Bing Zhao
---
drivers/net/mlx5/mlx5_flow_hw.c | 31
From: "Minggang Li (Gavin)"
Signed-off-by: Gavin Li
Acked-by: Alex Vesker
---
drivers/net/mlx5/hws/mlx5dr_rule.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/drivers/net/mlx5/hws/mlx5dr_rule.c
b/drivers/net/mlx5/hws/mlx5dr_rule.c
index 1edb7eac74..5d66d81ea5 100644
---
This patch set is to improve error handling in pmd and under layer.
Gavin Li (3):
net/mlx5: set rte errno if malloc failed
net/mlx5/hws: add log for failing to create rule in HWS
net/mlx5/hws: print CQE error syndrome and more information
drivers/net/mlx5/hws/mlx5dr_rule.c | 6
Adding the deprecation notice as reminder for removing
RTE_FLOW_ITEM_TYPE_VXLAN_GPE and its related structures,
eg. rte_vxlan_gpe_hdr, rte_flow_item_vxlan_gpe, etc.
The proposed time of the removal is DPDK release 25.11.
Signed-off-by: Gavin Li
---
doc/guides/rel_notes/deprecation.rst | 7
new VXLAN extensions and the other is for the
deprecated VXLAN-GPE. Add a new one that is more obvious for the new VXLAN
structure since the two have different command line context.
Fixes: da118115d95c ("app/testpmd: support matching any VXLAN field")
Signed-off-by: Gavin L
> -Original Message-
> From: Ferruh Yigit
> Sent: Tuesday, July 23, 2024 4:06 PM
> To: Minggang(Gavin) Li ; Matan Azrad ;
> Slava Ovsiienko ; Ori Kam ; NBU-
> Contact-Thomas Monjalon (EXTERNAL) ; Aman Singh
>
> Cc: dev@dpdk.org; Raslan Darawsheh
> Subject: Re
new VXLAN extensions and the other is for the
deprecated VXLAN-GPE. Add a new one that is more obvious for the new VXLAN
structure since the two have different command line context.
Fixes: da118115d95c ("app/testpmd: support matching any VXLAN field")
Signed-off-by: Gavin L
> -Original Message-
> From: Ferruh Yigit
> Sent: Monday, July 22, 2024 10:44 PM
> To: Minggang(Gavin) Li ; Matan Azrad ;
> Slava Ovsiienko ; Ori Kam ; NBU-
> Contact-Thomas Monjalon (EXTERNAL) ; Aman Singh
>
> Cc: dev@dpdk.org; Raslan Darawsheh
> Subject: Re
> -Original Message-
> From: Ferruh Yigit
> Sent: Saturday, July 20, 2024 4:25 AM
> To: Minggang(Gavin) Li ; Matan Azrad ;
> Slava Ovsiienko ; Ori Kam ; NBU-
> Contact-Thomas Monjalon (EXTERNAL) ; Aman Singh
>
> Cc: dev@dpdk.org; Raslan Darawsheh
> Subject: Re
VXLAN-GPE support was removed from testpmd recently. Drivers which are
not migrated are still using VXLAN-GPE in tests.
This commit is to restore the support for VXLAN-GPE in testpmd.
Fixes: da118115d95c ("app/testpmd: support matching any VXLAN field")
Signed-off-by: Gavin Li
---
ap
and specific header are marked as deprecated.
A removal of the deprecated structures and macros may be proposed later.
Signed-off-by: Gavin Li
Signed-off-by: Thomas Monjalon
---
lib/ethdev/rte_flow.h | 20 +--
lib/net/rte_vxlan.h | 83 +--
2 files
match VXLAN-GBP, group policy ID is 4321,
... / udp dst is 4789 / vxlan flag_g is 1 group_policy_id is 4321 ... / ...
To match VXLAN-GPE, next protocol is IPv6
... / udp dst is 4790 / vxlan flag_p is 1 protocol is 2 ... / ...
Signed-off-by: Gavin Li
Acked-by: Thomas Monjalon
Acked-by: Ori Kam
://patches.dpdk.org/project/dpdk/patch/20240130112520.1971315-2-gav...@nvidia.com/
PMD changes
https://patches.dpdk.org/project/dpdk/patch/20240514032131.153409-1-rongw...@nvidia.com/
Gavin Li (2):
net: extend VXLAN header to support more extensions
---
changelog:
v1->v2
- removed deprecat
g_p is 1 protocol is 2 ... / ...
Signed-off-by: Gavin Li
Acked-by: Thomas Monjalon
Acked-by: Ori Kam
---
app/test-pmd/cmdline_flow.c | 110
doc/guides/testpmd_app_ug/testpmd_funcs.rst | 11 ++
2 files changed, 121 insertions(+)
diff --git a/app/test-pmd/
will be merged with VXLAN as
union if the overlapped field has different format among protocols. The
existing VXLAN-GPE will be marked as deprecated and new extensions of
VXLAN should be added to VXLAN instead of a new RTE item.
Signed-off-by: Gavin Li
Signed-off-by: Thomas Monjalon
---
lib
://patches.dpdk.org/project/dpdk/patch/20240130112520.1971315-2-gav...@nvidia.com/
PMD changes
https://patches.dpdk.org/project/dpdk/patch/20240514032131.153409-1-rongw...@nvidia.com/
Gavin Li (2):
net: extend VXLAN header to support more extensions
---
changelog:
v1->v2
- removed deprecat
v6 TC detection result per physical
device")
Cc: sta...@dpdk.org
Signed-off-by: Gavin Li
Acked-by: Suanming Mou
---
drivers/net/mlx5/linux/mlx5_os.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/net/mlx5/linux/mlx5_os.c b/drivers/net/mlx5/linux/mlx5_o
tandard VXLAN, VXLAN-GPE and VXLAN-GBP.
To match standard vxlan,
... / udp dst is 4789 / vxlan ... / ...
To match VXLAN-GBP group policy ID 4321,
... / udp dst is 4789 / vxlan group_policy_id is 4321 ... / ...
To match VXLAN-GPE,
... / udp dst is 4790 / vxlan protocol is 2 ... / ...
Signed-off-by
will be merged with VXLAN as
union if the overlapped field has different format among protocols. The
existing VXLAN-GPE will be marked as deprecated and new extensions of
VXLAN should be added to VXLAN instead of a new RTE item.
Signed-off-by: Gavin Li
Acked-by: Thomas Monjalon
---
doc/guides
://patches.dpdk.org/project/dpdk/patch/20240130112520.1971315-2-gav...@nvidia.com/
PMD changes
https://patches.dpdk.org/project/dpdk/patch/20240514032131.153409-1-rongw...@nvidia.com/
Gavin Li (2):
net: extend VXLAN header to support more extensions
app/testpmd: introduce VXLAN-GBP and VXLAN-GPE
Allow item NSH in HWS and set item_flags.
Fixes: f6164649a8 ("net/mlx5/hws: support VXLAN-GPE matching")
Signed-off-by: Gavin Li
Reviewed-by: Bing Zhao
---
drivers/net/mlx5/hws/mlx5dr_definer.c | 3 +++
drivers/net/mlx5/mlx5_flow_hw.c | 13 +
2 files changed, 16
On 2/19/2024 11:44 AM, Gavin Li wrote:
On 2/9/2024 11:32 PM, Thomas Monjalon wrote:
09/02/2024 15:58, Ferruh Yigit:
On 2/9/2024 1:44 PM, Thomas Monjalon wrote:
09/02/2024 13:11, Ferruh Yigit:
On 2/9/2024 10:12 AM, Thomas Monjalon wrote:
09/02/2024 00:54, Ferruh Yigit:
On 1/30/2024 11
On 2/9/2024 11:32 PM, Thomas Monjalon wrote:
09/02/2024 15:58, Ferruh Yigit:
On 2/9/2024 1:44 PM, Thomas Monjalon wrote:
09/02/2024 13:11, Ferruh Yigit:
On 2/9/2024 10:12 AM, Thomas Monjalon wrote:
09/02/2024 00:54, Ferruh Yigit:
On 1/30/2024 11:25 AM, Gavin Li wrote:
Currently, DPDK
On 2/9/2024 11:32 PM, Thomas Monjalon wrote:
09/02/2024 15:58, Ferruh Yigit:
On 2/9/2024 1:44 PM, Thomas Monjalon wrote:
09/02/2024 13:11, Ferruh Yigit:
On 2/9/2024 10:12 AM, Thomas Monjalon wrote:
09/02/2024 00:54, Ferruh Yigit:
On 1/30/2024 11:25 AM, Gavin Li wrote:
Currently, DPDK
will be merged with VXLAN as
union if the overlapped field has different format among protocols. The
existing VXLAN-GPE will be marked as deprecated and new extensions of
VXLAN should be added to VXLAN instead of a new RTE item.
Signed-off-by: Gavin Li
---
doc/guides/rel_notes/deprecation.rst
This patch is to extend standard VXLAN header to support more extensions
Gavin Li (1):
net: extend VXLAN header to support more extensions
---
changelog:
v0->v1
- Addressed bit fields definition bug in union
---
doc/guides/rel_notes/deprecation.rst | 5 +++
lib/ethdev/rte_flo
will be merged with VXLAN as
union if the overlapped field has different format among protocols. The
existing VXLAN-GPE will be marked as deprecated and new extensions of
VXLAN should be added to VXLAN instead of a new RTE item.
Signed-off-by: Gavin Li
---
doc/guides/rel_notes/deprecation.rst
emory in scale cases.
To solve the problem, store the discovering of IPv6 traffic class result
in physical device, and do it only once per physical device.
Fixes: 569b8340a012 ("net/mlx5: discover IPv6 traffic class support in RDMA
core")
Signed-off-by: Gavin Li
Acked-by: Suanming Mo
Add support for matching VXLAN-GPE tunnel header.
Signed-off-by: Gavin Li
Acked-by: Itamar Gozlan
Acked-by: Dariusz Sosnowski
---
doc/guides/rel_notes/release_24_03.rst | 6 ++
drivers/net/mlx5/hws/mlx5dr_definer.c | 117 +
drivers/net/mlx5/hws/mlx5dr_definer.h
.
Otherwise, keep using misc3
Signed-off-by: Gavin Li
Acked-by: Dariusz Sosnowski
---
doc/guides/nics/mlx5.rst| 5 +
drivers/net/mlx5/mlx5_flow.c| 5 +
drivers/net/mlx5/mlx5_flow_dv.c | 32 ++--
3 files changed, 36 insertions(+), 6 deletions(-)
diff
Add support for VXLAN-GPE rsvd0 and rsvd1 fields in flow rule pattern to
testpmd
Signed-off-by: Gavin Li
Acked-by: Dariusz Sosnowski
---
app/test-pmd/cmdline_flow.c | 20
doc/guides/testpmd_app_ug/testpmd_funcs.rst | 2 ++
2 files changed, 22 insertions
Add support for VXLAN-GPE flags field in flow rule pattern to testpmd.
Signed-off-by: Gavin Li
Acked-by: Dariusz Sosnowski
---
app/test-pmd/cmdline_flow.c | 10 ++
doc/guides/testpmd_app_ug/testpmd_funcs.rst | 1 +
2 files changed, 11 insertions(+)
diff --git a/app
(VNI) | Reserved|
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Gavin Li (5):
net/mlx5: support VXLAN-GPE flags matching
app/testpmd: support VXLAN-GPE flags
net/mlx5: support VXLAN-GPE reserved fields matching
app/testpmd: support VXLAN-GPE reserved fields
net
This commit adds support for matching on the flags field of VXLAN-GPE
header (the first 8-bits).
Signed-off-by: Gavin Li
Acked-by: Dariusz Sosnowski
---
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
.
Update SWS and HWS to used the new filed and introduce extra offset for
IPv6 DSCP data and mask to solve the issue.
Signed-off-by: Gavin Li
Acked-by: Suanming Mou
---
drivers/common/mlx5/mlx5_devx_cmds.c | 3 ++
drivers/common/mlx5/mlx5_devx_cmds.h | 1 +
drivers/common/mlx5/mlx5_prm.h | 8
have such mechanism.
To fix the backward compatibility issue of combination of RDMA core and FW
of different versions, a new function and a new flag were introduced to
check if the new IPv6 traffic class id is supported by RDMA core.
Signed-off-by: Gavin Li
Acked-by: Suanming Mou
---
drivers
, keep using the old ID.
Gavin Li (2):
net/mlx5: discover IPv6 traffic class support in RDMA core
net/mlx5: use traffic class PRM field for IPv6 modification
drivers/common/mlx5/mlx5_devx_cmds.c | 3 ++
drivers/common/mlx5/mlx5_devx_cmds.h | 1 +
drivers/common/mlx5/mlx5_prm.h | 8
Add support for matching VXLAN-GPE tunnel header.
Signed-off-by: Gavin Li
Reviewed-by: Itamar Gozlan
Reviewed-by: Dariusz Sosnowski
---
doc/guides/rel_notes/release_24_03.rst | 6 ++
drivers/net/mlx5/hws/mlx5dr_definer.c | 117 +
drivers/net/mlx5/hws
Add support for VXLAN-GPE rsvd0 and rsvd1 fields in flow rule pattern to
testpmd
Signed-off-by: Gavin Li
Reviewed-by: Dariusz Sosnowski
---
app/test-pmd/cmdline_flow.c | 20
doc/guides/testpmd_app_ug/testpmd_funcs.rst | 2 ++
2 files changed, 22 insertions
Add support for VXLAN-GPE flags field in flow rule pattern to testpmd.
Signed-off-by: Gavin Li
Reviewed-by: Dariusz Sosnowski
---
app/test-pmd/cmdline_flow.c | 10 ++
doc/guides/testpmd_app_ug/testpmd_funcs.rst | 1 +
2 files changed, 11 insertions(+)
diff --git a/app
.
Otherwise, keep using misc3
Signed-off-by: Gavin Li
Reviewed-by: Dariusz Sosnowski
---
doc/guides/nics/mlx5.rst| 5 +
drivers/net/mlx5/mlx5_flow.c| 5 +
drivers/net/mlx5/mlx5_flow_dv.c | 32 ++--
3 files changed, 36 insertions(+), 6 deletions(-)
diff
This commit adds support for matching on the flags field of VXLAN-GPE
header (the first 8-bits).
Signed-off-by: Gavin Li
Reviewed-by: Dariusz Sosnowski
---
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
(VNI) | Reserved|
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
Gavin Li (5):
net/mlx5: support VXLAN-GPE flags matching
app/testpmd: support VXLAN-GPE flags
net/mlx5: support VXLAN-GPE reserved fields matching
app/testpmd: support VXLAN-GPE reserved fields
net
.
Update SWS and HWS to used the new filed and introduce extra offset for
IPv6 DSCP data and mask to solve the issue.
Signed-off-by: Gavin Li
---
drivers/common/mlx5/mlx5_devx_cmds.c | 3 ++
drivers/common/mlx5/mlx5_devx_cmds.h | 1 +
drivers/common/mlx5/mlx5_prm.h | 8 ++-
drivers/net/mlx5
have such mechanism.
To fix the backward compatibility issue of combination of RDMA core and FW
of different versions, a new function and a new flag were introduced to
check if the new IPv6 traffic class id is supported by RDMA core.
Signed-off-by: Gavin Li
---
drivers/net/mlx5/linux/mlx5_os.c
, keep using the old ID.
Gavin Li (2):
net/mlx5: discover IPv6 traffic class support in RDMA core
net/mlx5: use traffic class PRM field for IPv6 modification
drivers/common/mlx5/mlx5_devx_cmds.c | 3 ++
drivers/common/mlx5/mlx5_devx_cmds.h | 1 +
drivers/common/mlx5/mlx5_prm.h | 8
55 matches
Mail list logo