[PATCH] net/mlx5: align PF and VF/SF MAC addresses handling

2025-05-16 Thread Gavin Li
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 ++

Re: [PATCH V3 7/7] mlx5: add backward compatibility for RDMA monitor

2024-10-30 Thread Minggang(Gavin) Li
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

Re: [PATCH V2 7/7] mlx5: add backward compatibility for RDMA monitor

2024-10-29 Thread Minggang(Gavin) Li
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

Re: [PATCH V2 3/7] net/mlx5: add new devargs to control probe optimization

2024-10-29 Thread Minggang(Gavin) Li
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

[PATCH V1 3/3] net/mlx5/hws: print CQE error syndrome and more information

2024-09-10 Thread Gavin Li
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..

[PATCH V1 1/3] net/mlx5: set rte errno if malloc failed

2024-09-10 Thread Gavin Li
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

[PATCH V1 2/3] net/mlx5/hws: add log for failing to create rule in HWS

2024-09-10 Thread Gavin Li
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 ---

[PATCH V1 0/3] Error report improvement and fix

2024-09-10 Thread Gavin Li
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

[PATCH 3/3] net/mlx5/hws: print CQE error syndrome and more information

2024-09-06 Thread Gavin Li
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..

[PATCH 1/3] net/mlx5: set rte errno if malloc failed

2024-09-06 Thread Gavin Li
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

[PATCH 2/3] net/mlx5/hws: add log for failing to create rule in HWS

2024-09-06 Thread Gavin Li
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 ---

[PATCH 0/3] Error report improvement and fix

2024-09-06 Thread Gavin Li
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

[V1] doc: announce deprecation of flow item VXLAN-GPE

2024-07-26 Thread Gavin Li
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

[V3] app/testpmd: restore VXLAN-GPE support

2024-07-23 Thread Gavin Li
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

RE: [V2] app/testpmd: restore VXLAN-GPE support

2024-07-23 Thread Minggang(Gavin) Li
> -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

[V2] app/testpmd: restore VXLAN-GPE support

2024-07-23 Thread Gavin Li
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

RE: [V1] app/testpmd: restore VXLAN-GPE support

2024-07-22 Thread Minggang(Gavin) Li
> -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

RE: [V1] app/testpmd: restore VXLAN-GPE support

2024-07-22 Thread Minggang(Gavin) Li
> -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

[V1] app/testpmd: restore VXLAN-GPE support

2024-07-17 Thread Gavin Li
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

[V3 1/2] net: extend VXLAN header to support more extensions

2024-06-05 Thread Gavin Li
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

[V3 2/2] app/testpmd: support matching any VXLAN field

2024-06-05 Thread Gavin Li
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

[V3 0/2] net: extend VXLAN header to support more extensions

2024-06-05 Thread Gavin Li
://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

[V2 2/2] app/testpmd: introduce VXLAN-GBP and VXLAN-GPE fields

2024-06-03 Thread Gavin Li
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/

[V2 1/2] net: extend VXLAN header to support more extensions

2024-06-03 Thread Gavin Li
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

[V2 0/2] net: extend VXLAN header to support more extensions

2024-06-03 Thread Gavin Li
://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

[PATCH] net/mlx5: fix flow discover IPv6 traffic class support issue

2024-05-29 Thread Gavin Li
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

[v1 2/2] app/testpmd: introduce VXLAN-GBP and VXLAN-GPE fields

2024-05-17 Thread Gavin Li
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

[v1 1/2] net: extend VXLAN header to support more extensions

2024-05-17 Thread Gavin Li
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

[v1 0/2] extend VXLAN header to support more extensions

2024-05-17 Thread Gavin Li
://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

[PATCH] net/mlx5: fix HWS support for item NSH

2024-05-09 Thread Gavin Li
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

Re: [RFC V1 1/1] net: extend VXLAN header to support more extensions

2024-02-18 Thread Gavin Li
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

Re: [RFC V1 1/1] net: extend VXLAN header to support more extensions

2024-02-18 Thread Gavin Li
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

Re: [RFC V1 1/1] net: extend VXLAN header to support more extensions

2024-02-18 Thread Gavin Li
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

[RFC V1 1/1] net: extend VXLAN header to support more extensions

2024-01-30 Thread Gavin Li
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

[RFC V1 0/1] net: extend VXLAN header to support more extensions

2024-01-30 Thread Gavin Li
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

[RFC] net: extend VXLAN header to support more extensions

2024-01-30 Thread Gavin Li
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

[PATCH V1] net/mlx5: store IPv6 TC detection result in physical device

2024-01-29 Thread Gavin Li
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

[V1 5/5] net/mlx5/hws: support VXLAN-GPE matching

2024-01-12 Thread Gavin Li
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

[V1 3/5] net/mlx5: support VXLAN-GPE reserved fields matching

2024-01-12 Thread Gavin Li
. 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

[V1 4/5] app/testpmd: support VXLAN-GPE reserved fields

2024-01-12 Thread Gavin Li
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

[V1 2/5] app/testpmd: support VXLAN-GPE flags

2024-01-12 Thread Gavin Li
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

[V1 0/5] support VXLAN-GPE header fields(flags, rsvd0 and rsvd1) matching

2024-01-12 Thread Gavin Li
(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

[V1 1/5] net/mlx5: support VXLAN-GPE flags matching

2024-01-12 Thread Gavin Li
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

[V1 2/2] net/mlx5: use traffic class PRM field for IPv6 modification

2024-01-11 Thread Gavin Li
. 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

[V1 1/2] net/mlx5: discover IPv6 traffic class support in RDMA core

2024-01-11 Thread Gavin Li
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

[V1 0/2] use traffic class PRM field for IPv6 modification

2024-01-11 Thread Gavin Li
, 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

[RFC 5/5] net/mlx5/hws: support VXLAN-GPE matching

2024-01-10 Thread Gavin Li
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

[RFC 4/5] app/testpmd: support VXLAN-GPE reserved fields

2024-01-10 Thread Gavin Li
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

[RFC 2/5] app/testpmd: support VXLAN-GPE flags

2024-01-10 Thread Gavin Li
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

[RFC 3/5] net/mlx5: support VXLAN-GPE reserved fields matching

2024-01-10 Thread Gavin Li
. 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

[RFC 1/5] net/mlx5: support VXLAN-GPE flags matching

2024-01-10 Thread Gavin Li
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

[RFC 0/5] support VXLAN-GPE header fields(flags, rsvd0 and rsvd1) matching

2024-01-10 Thread Gavin Li
(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

[RFC 2/2] net/mlx5: use traffic class PRM field for IPv6 modification

2024-01-09 Thread Gavin Li
. 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

[RFC 1/2] net/mlx5: discover IPv6 traffic class support in RDMA core

2024-01-09 Thread Gavin Li
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

[RFC 0/2] use traffic class PRM field for IPv6 modification

2024-01-09 Thread Gavin Li
, 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