All of lore.kernel.org
 help / color / mirror / Atom feed
* Mellanox CX6DX switchdev mode VF fails rdma-core tests.test_mlx5_dc.DCTest
@ 2021-05-18  9:25 WANG Chao
  2021-05-18 12:30 ` Mark Zhang
  0 siblings, 1 reply; 7+ messages in thread
From: WANG Chao @ 2021-05-18  9:25 UTC (permalink / raw)
  To: linux-rdma

Hi All

I'm running tests from https://github.com/linux-rdma/rdma-core/tree/master and
got the following errors from all tests.test_mlx5_dc.DCTest tests:

build/bin/run_tests.py --dev mlx5_2 --port 1 tests.test_mlx5_dc.DCTest.test_dc_rdma_write
E
======================================================================
ERROR: test_dc_rdma_write (tests.test_mlx5_dc.DCTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/data/rdma-core.master/tests/test_mlx5_dc.py", line 62, in test_dc_rdma_write
    send_ops_flags=e.IBV_QP_EX_WITH_RDMA_WRITE)
  File "/data/rdma-core.master/tests/test_mlx5_dc.py", line 53, in create_players
    self.client.pre_run(self.server.psns, self.server.qps_num)
  File "/data/rdma-core.master/tests/mlx5_base.py", line 36, in pre_run
    self.to_rts()
  File "/data/rdma-core.master/tests/mlx5_base.py", line 31, in to_rts
    self.dct_qp.to_rtr(attr)
  File "qp.pyx", line 1113, in pyverbs.qp.QP.to_rtr
pyverbs.pyverbs_error.PyverbsRDMAError: Failed to modify QP state to RTR. Errno: 22, Invalid argument

----------------------------------------------------------------------
Ran 1 test in 0.051s

FAILED (errors=1)

===
Additional information:

- VF is LAG and VF binds to host.
- DC tests fail when NIC is in switchdev mode while legacy mode is fine.
- Tested on 5.12 inbox driver or OFED 5.3, neither is working.
- 5f:00.0 Ethernet controller [0200]: Mellanox Technologies MT2892 Family [ConnectX-6 Dx] [15b3:101d]
- firmware-version: 22.30.1004 (MT_0000000536)

I worked a bit tracepoint on 5.12 inbox driver. It seems like there's a firmware
command error for CREATE_DCT.

I can provide more information if you ask.

Thanks
WANG Chao

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Mellanox CX6DX switchdev mode VF fails rdma-core tests.test_mlx5_dc.DCTest
  2021-05-18  9:25 Mellanox CX6DX switchdev mode VF fails rdma-core tests.test_mlx5_dc.DCTest WANG Chao
@ 2021-05-18 12:30 ` Mark Zhang
  2021-05-18 12:44   ` WANG Chao
  0 siblings, 1 reply; 7+ messages in thread
From: Mark Zhang @ 2021-05-18 12:30 UTC (permalink / raw)
  To: WANG Chao, linux-rdma

On 5/18/2021 5:25 PM, WANG Chao wrote:
> External email: Use caution opening links or attachments
> 
> 
> Hi All
> 
> I'm running tests from https://github.com/linux-rdma/rdma-core/tree/master and
> got the following errors from all tests.test_mlx5_dc.DCTest tests:
> 
> build/bin/run_tests.py --dev mlx5_2 --port 1 tests.test_mlx5_dc.DCTest.test_dc_rdma_write
> E
> ======================================================================
> ERROR: test_dc_rdma_write (tests.test_mlx5_dc.DCTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>    File "/data/rdma-core.master/tests/test_mlx5_dc.py", line 62, in test_dc_rdma_write
>      send_ops_flags=e.IBV_QP_EX_WITH_RDMA_WRITE)
>    File "/data/rdma-core.master/tests/test_mlx5_dc.py", line 53, in create_players
>      self.client.pre_run(self.server.psns, self.server.qps_num)
>    File "/data/rdma-core.master/tests/mlx5_base.py", line 36, in pre_run
>      self.to_rts()
>    File "/data/rdma-core.master/tests/mlx5_base.py", line 31, in to_rts
>      self.dct_qp.to_rtr(attr)
>    File "qp.pyx", line 1113, in pyverbs.qp.QP.to_rtr
> pyverbs.pyverbs_error.PyverbsRDMAError: Failed to modify QP state to RTR. Errno: 22, Invalid argument
> 
> ----------------------------------------------------------------------
> Ran 1 test in 0.051s
> 
> FAILED (errors=1)
> 
> ===
> Additional information:
> 
> - VF is LAG and VF binds to host.
> - DC tests fail when NIC is in switchdev mode while legacy mode is fine.
> - Tested on 5.12 inbox driver or OFED 5.3, neither is working.
> - 5f:00.0 Ethernet controller [0200]: Mellanox Technologies MT2892 Family [ConnectX-6 Dx] [15b3:101d]
> - firmware-version: 22.30.1004 (MT_0000000536)
> 
> I worked a bit tracepoint on 5.12 inbox driver. It seems like there's a firmware
> command error for CREATE_DCT.
> 
> I can provide more information if you ask.
> 
> Thanks
> WANG Chao
> 
Is there any syndrome in kernel log? Try to reproduce with debug log 
enabled:
echo -n "func mlx5_cmd_check +p" > /sys/kernel/debug/dynamic_debug/control


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Mellanox CX6DX switchdev mode VF fails rdma-core tests.test_mlx5_dc.DCTest
  2021-05-18 12:30 ` Mark Zhang
@ 2021-05-18 12:44   ` WANG Chao
  2021-05-18 13:00     ` Mark Zhang
  0 siblings, 1 reply; 7+ messages in thread
From: WANG Chao @ 2021-05-18 12:44 UTC (permalink / raw)
  To: Mark Zhang; +Cc: linux-rdma

On 05/18/21 at 08:30P, Mark Zhang wrote:
> On 5/18/2021 5:25 PM, WANG Chao wrote:
> > External email: Use caution opening links or attachments
> > 
> > 
> > Hi All
> > 
> > I'm running tests from https://github.com/linux-rdma/rdma-core/tree/master and
> > got the following errors from all tests.test_mlx5_dc.DCTest tests:
> > 
> > build/bin/run_tests.py --dev mlx5_2 --port 1 tests.test_mlx5_dc.DCTest.test_dc_rdma_write
> > E
> > ======================================================================
> > ERROR: test_dc_rdma_write (tests.test_mlx5_dc.DCTest)
> > ----------------------------------------------------------------------
> > Traceback (most recent call last):
> >    File "/data/rdma-core.master/tests/test_mlx5_dc.py", line 62, in test_dc_rdma_write
> >      send_ops_flags=e.IBV_QP_EX_WITH_RDMA_WRITE)
> >    File "/data/rdma-core.master/tests/test_mlx5_dc.py", line 53, in create_players
> >      self.client.pre_run(self.server.psns, self.server.qps_num)
> >    File "/data/rdma-core.master/tests/mlx5_base.py", line 36, in pre_run
> >      self.to_rts()
> >    File "/data/rdma-core.master/tests/mlx5_base.py", line 31, in to_rts
> >      self.dct_qp.to_rtr(attr)
> >    File "qp.pyx", line 1113, in pyverbs.qp.QP.to_rtr
> > pyverbs.pyverbs_error.PyverbsRDMAError: Failed to modify QP state to RTR. Errno: 22, Invalid argument
> > 
> > ----------------------------------------------------------------------
> > Ran 1 test in 0.051s
> > 
> > FAILED (errors=1)
> > 
> > ===
> > Additional information:
> > 
> > - VF is LAG and VF binds to host.
> > - DC tests fail when NIC is in switchdev mode while legacy mode is fine.
> > - Tested on 5.12 inbox driver or OFED 5.3, neither is working.
> > - 5f:00.0 Ethernet controller [0200]: Mellanox Technologies MT2892 Family [ConnectX-6 Dx] [15b3:101d]
> > - firmware-version: 22.30.1004 (MT_0000000536)
> > 
> > I worked a bit tracepoint on 5.12 inbox driver. It seems like there's a firmware
> > command error for CREATE_DCT.
> > 
> > I can provide more information if you ask.
> > 
> > Thanks
> > WANG Chao
> > 
> Is there any syndrome in kernel log? Try to reproduce with debug log
> enabled:
> echo -n "func mlx5_cmd_check +p" > /sys/kernel/debug/dynamic_debug/control

[26538.391991] mlx5_core 0000:5f:00.2: mlx5_cmd_check:820:(pid 27332): CREATE_DCT(0x710) op_mod(0x0) failed, status bad parameter(0x3), syndrome (0xa22b82)

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Mellanox CX6DX switchdev mode VF fails rdma-core tests.test_mlx5_dc.DCTest
  2021-05-18 12:44   ` WANG Chao
@ 2021-05-18 13:00     ` Mark Zhang
  2021-05-18 16:52       ` Jason Gunthorpe
  2021-05-19  3:14       ` WANG Chao
  0 siblings, 2 replies; 7+ messages in thread
From: Mark Zhang @ 2021-05-18 13:00 UTC (permalink / raw)
  To: WANG Chao; +Cc: linux-rdma

On 5/18/2021 8:44 PM, WANG Chao wrote:
> External email: Use caution opening links or attachments
> 
> 
> On 05/18/21 at 08:30P, Mark Zhang wrote:
>> On 5/18/2021 5:25 PM, WANG Chao wrote:
>>> External email: Use caution opening links or attachments
>>>
>>>
>>> Hi All
>>>
>>> I'm running tests from https://github.com/linux-rdma/rdma-core/tree/master and
>>> got the following errors from all tests.test_mlx5_dc.DCTest tests:
>>>
>>> build/bin/run_tests.py --dev mlx5_2 --port 1 tests.test_mlx5_dc.DCTest.test_dc_rdma_write
>>> E
>>> ======================================================================
>>> ERROR: test_dc_rdma_write (tests.test_mlx5_dc.DCTest)
>>> ----------------------------------------------------------------------
>>> Traceback (most recent call last):
>>>     File "/data/rdma-core.master/tests/test_mlx5_dc.py", line 62, in test_dc_rdma_write
>>>       send_ops_flags=e.IBV_QP_EX_WITH_RDMA_WRITE)
>>>     File "/data/rdma-core.master/tests/test_mlx5_dc.py", line 53, in create_players
>>>       self.client.pre_run(self.server.psns, self.server.qps_num)
>>>     File "/data/rdma-core.master/tests/mlx5_base.py", line 36, in pre_run
>>>       self.to_rts()
>>>     File "/data/rdma-core.master/tests/mlx5_base.py", line 31, in to_rts
>>>       self.dct_qp.to_rtr(attr)
>>>     File "qp.pyx", line 1113, in pyverbs.qp.QP.to_rtr
>>> pyverbs.pyverbs_error.PyverbsRDMAError: Failed to modify QP state to RTR. Errno: 22, Invalid argument
>>>
>>> ----------------------------------------------------------------------
>>> Ran 1 test in 0.051s
>>>
>>> FAILED (errors=1)
>>>
>>> ===
>>> Additional information:
>>>
>>> - VF is LAG and VF binds to host.
>>> - DC tests fail when NIC is in switchdev mode while legacy mode is fine.
>>> - Tested on 5.12 inbox driver or OFED 5.3, neither is working.
>>> - 5f:00.0 Ethernet controller [0200]: Mellanox Technologies MT2892 Family [ConnectX-6 Dx] [15b3:101d]
>>> - firmware-version: 22.30.1004 (MT_0000000536)
>>>
>>> I worked a bit tracepoint on 5.12 inbox driver. It seems like there's a firmware
>>> command error for CREATE_DCT.
>>>
>>> I can provide more information if you ask.
>>>
>>> Thanks
>>> WANG Chao
>>>
>> Is there any syndrome in kernel log? Try to reproduce with debug log
>> enabled:
>> echo -n "func mlx5_cmd_check +p" > /sys/kernel/debug/dynamic_debug/control
> 
> [26538.391991] mlx5_core 0000:5f:00.2: mlx5_cmd_check:820:(pid 27332): CREATE_DCT(0x710) op_mod(0x0) failed, status bad parameter(0x3), syndrome (0xa22b82)
> 
This syndrome indicates DCT is not supported in VF LAG mode here.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Mellanox CX6DX switchdev mode VF fails rdma-core tests.test_mlx5_dc.DCTest
  2021-05-18 13:00     ` Mark Zhang
@ 2021-05-18 16:52       ` Jason Gunthorpe
  2021-05-19  5:19         ` Mark Zhang
  2021-05-19  3:14       ` WANG Chao
  1 sibling, 1 reply; 7+ messages in thread
From: Jason Gunthorpe @ 2021-05-18 16:52 UTC (permalink / raw)
  To: Mark Zhang; +Cc: WANG Chao, linux-rdma

On Tue, May 18, 2021 at 09:00:29PM +0800, Mark Zhang wrote:
> On 5/18/2021 8:44 PM, WANG Chao wrote:
> > External email: Use caution opening links or attachments
> > 
> > 
> > On 05/18/21 at 08:30P, Mark Zhang wrote:
> > > On 5/18/2021 5:25 PM, WANG Chao wrote:
> > > > External email: Use caution opening links or attachments
> > > > 
> > > > 
> > > > Hi All
> > > > 
> > > > I'm running tests from https://github.com/linux-rdma/rdma-core/tree/master and
> > > > got the following errors from all tests.test_mlx5_dc.DCTest tests:
> > > > 
> > > > build/bin/run_tests.py --dev mlx5_2 --port 1 tests.test_mlx5_dc.DCTest.test_dc_rdma_write
> > > > E
> > > > ======================================================================
> > > > ERROR: test_dc_rdma_write (tests.test_mlx5_dc.DCTest)
> > > > Traceback (most recent call last):
> > > >     File "/data/rdma-core.master/tests/test_mlx5_dc.py", line 62, in test_dc_rdma_write
> > > >       send_ops_flags=e.IBV_QP_EX_WITH_RDMA_WRITE)
> > > >     File "/data/rdma-core.master/tests/test_mlx5_dc.py", line 53, in create_players
> > > >       self.client.pre_run(self.server.psns, self.server.qps_num)
> > > >     File "/data/rdma-core.master/tests/mlx5_base.py", line 36, in pre_run
> > > >       self.to_rts()
> > > >     File "/data/rdma-core.master/tests/mlx5_base.py", line 31, in to_rts
> > > >       self.dct_qp.to_rtr(attr)
> > > >     File "qp.pyx", line 1113, in pyverbs.qp.QP.to_rtr
> > > > pyverbs.pyverbs_error.PyverbsRDMAError: Failed to modify QP state to RTR. Errno: 22, Invalid argument
> > > > 
> > > > Ran 1 test in 0.051s
> > > > 
> > > > FAILED (errors=1)
> > > > 
> > > > ===
> > > > Additional information:
> > > > 
> > > > - VF is LAG and VF binds to host.
> > > > - DC tests fail when NIC is in switchdev mode while legacy mode is fine.
> > > > - Tested on 5.12 inbox driver or OFED 5.3, neither is working.
> > > > - 5f:00.0 Ethernet controller [0200]: Mellanox Technologies MT2892 Family [ConnectX-6 Dx] [15b3:101d]
> > > > - firmware-version: 22.30.1004 (MT_0000000536)
> > > > 
> > > > I worked a bit tracepoint on 5.12 inbox driver. It seems like there's a firmware
> > > > command error for CREATE_DCT.
> > > > 
> > > > I can provide more information if you ask.
> > > > 
> > > > Thanks
> > > > WANG Chao
> > > > 
> > > Is there any syndrome in kernel log? Try to reproduce with debug log
> > > enabled:
> > > echo -n "func mlx5_cmd_check +p" > /sys/kernel/debug/dynamic_debug/control
> > 
> > [26538.391991] mlx5_core 0000:5f:00.2: mlx5_cmd_check:820:(pid 27332): CREATE_DCT(0x710) op_mod(0x0) failed, status bad parameter(0x3), syndrome (0xa22b82)
> > 
> This syndrome indicates DCT is not supported in VF LAG mode here.

Is this out of order:

    def test_odp_dc_traffic(self):
        send_ops_flag = e.IBV_QP_EX_WITH_SEND
        self.create_players(OdpDc, qp_count=2, send_ops_flags=send_ops_flag)
        self.check_odp_dc_support()
         ^^^^^^^^^^^^^^^^^^^^^

?

Jason


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Mellanox CX6DX switchdev mode VF fails rdma-core tests.test_mlx5_dc.DCTest
  2021-05-18 13:00     ` Mark Zhang
  2021-05-18 16:52       ` Jason Gunthorpe
@ 2021-05-19  3:14       ` WANG Chao
  1 sibling, 0 replies; 7+ messages in thread
From: WANG Chao @ 2021-05-19  3:14 UTC (permalink / raw)
  To: Mark Zhang; +Cc: linux-rdma

On 05/18/21 at 09:00P, Mark Zhang wrote:
> On 5/18/2021 8:44 PM, WANG Chao wrote:
> > External email: Use caution opening links or attachments
> > 
> > 
> > On 05/18/21 at 08:30P, Mark Zhang wrote:
> > > On 5/18/2021 5:25 PM, WANG Chao wrote:
> > > > External email: Use caution opening links or attachments
> > > > 
> > > > 
> > > > Hi All
> > > > 
> > > > I'm running tests from https://github.com/linux-rdma/rdma-core/tree/master and
> > > > got the following errors from all tests.test_mlx5_dc.DCTest tests:
> > > > 
> > > > build/bin/run_tests.py --dev mlx5_2 --port 1 tests.test_mlx5_dc.DCTest.test_dc_rdma_write
> > > > E
> > > > ======================================================================
> > > > ERROR: test_dc_rdma_write (tests.test_mlx5_dc.DCTest)
> > > > ----------------------------------------------------------------------
> > > > Traceback (most recent call last):
> > > >     File "/data/rdma-core.master/tests/test_mlx5_dc.py", line 62, in test_dc_rdma_write
> > > >       send_ops_flags=e.IBV_QP_EX_WITH_RDMA_WRITE)
> > > >     File "/data/rdma-core.master/tests/test_mlx5_dc.py", line 53, in create_players
> > > >       self.client.pre_run(self.server.psns, self.server.qps_num)
> > > >     File "/data/rdma-core.master/tests/mlx5_base.py", line 36, in pre_run
> > > >       self.to_rts()
> > > >     File "/data/rdma-core.master/tests/mlx5_base.py", line 31, in to_rts
> > > >       self.dct_qp.to_rtr(attr)
> > > >     File "qp.pyx", line 1113, in pyverbs.qp.QP.to_rtr
> > > > pyverbs.pyverbs_error.PyverbsRDMAError: Failed to modify QP state to RTR. Errno: 22, Invalid argument
> > > > 
> > > > ----------------------------------------------------------------------
> > > > Ran 1 test in 0.051s
> > > > 
> > > > FAILED (errors=1)
> > > > 
> > > > ===
> > > > Additional information:
> > > > 
> > > > - VF is LAG and VF binds to host.
> > > > - DC tests fail when NIC is in switchdev mode while legacy mode is fine.
> > > > - Tested on 5.12 inbox driver or OFED 5.3, neither is working.
> > > > - 5f:00.0 Ethernet controller [0200]: Mellanox Technologies MT2892 Family [ConnectX-6 Dx] [15b3:101d]
> > > > - firmware-version: 22.30.1004 (MT_0000000536)
> > > > 
> > > > I worked a bit tracepoint on 5.12 inbox driver. It seems like there's a firmware
> > > > command error for CREATE_DCT.
> > > > 
> > > > I can provide more information if you ask.
> > > > 
> > > > Thanks
> > > > WANG Chao
> > > > 
> > > Is there any syndrome in kernel log? Try to reproduce with debug log
> > > enabled:
> > > echo -n "func mlx5_cmd_check +p" > /sys/kernel/debug/dynamic_debug/control
> > 
> > [26538.391991] mlx5_core 0000:5f:00.2: mlx5_cmd_check:820:(pid 27332): CREATE_DCT(0x710) op_mod(0x0) failed, status bad parameter(0x3), syndrome (0xa22b82)
> > 
> This syndrome indicates DCT is not supported in VF LAG mode here.

Thanks for the info. I test non-LAG mode on 5.12. Both VF and SF pass DC tests.

I got a couple of questions though.

1. Where can I find information for each different syndrome?
2. Is there any plan to support DCT in VF LAG mode?

BTW I think in this case, it's best for kernel to fail as early as
possible. And -EINVAL isn't good enough for regular users, maybe
-ENOTSUPP or more explicit errors in kernel?


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: Mellanox CX6DX switchdev mode VF fails rdma-core tests.test_mlx5_dc.DCTest
  2021-05-18 16:52       ` Jason Gunthorpe
@ 2021-05-19  5:19         ` Mark Zhang
  0 siblings, 0 replies; 7+ messages in thread
From: Mark Zhang @ 2021-05-19  5:19 UTC (permalink / raw)
  To: Jason Gunthorpe, Ido Kalir; +Cc: WANG Chao, linux-rdma

On 5/19/2021 12:52 AM, Jason Gunthorpe wrote:
> External email: Use caution opening links or attachments
> 
> 
> On Tue, May 18, 2021 at 09:00:29PM +0800, Mark Zhang wrote:
>> On 5/18/2021 8:44 PM, WANG Chao wrote:
>>> External email: Use caution opening links or attachments
>>>
>>>
>>> On 05/18/21 at 08:30P, Mark Zhang wrote:
>>>> On 5/18/2021 5:25 PM, WANG Chao wrote:
>>>>> External email: Use caution opening links or attachments
>>>>>
>>>>>
>>>>> Hi All
>>>>>
>>>>> I'm running tests from https://github.com/linux-rdma/rdma-core/tree/master and
>>>>> got the following errors from all tests.test_mlx5_dc.DCTest tests:
>>>>>
>>>>> build/bin/run_tests.py --dev mlx5_2 --port 1 tests.test_mlx5_dc.DCTest.test_dc_rdma_write
>>>>> E
>>>>> ======================================================================
>>>>> ERROR: test_dc_rdma_write (tests.test_mlx5_dc.DCTest)
>>>>> Traceback (most recent call last):
>>>>>      File "/data/rdma-core.master/tests/test_mlx5_dc.py", line 62, in test_dc_rdma_write
>>>>>        send_ops_flags=e.IBV_QP_EX_WITH_RDMA_WRITE)
>>>>>      File "/data/rdma-core.master/tests/test_mlx5_dc.py", line 53, in create_players
>>>>>        self.client.pre_run(self.server.psns, self.server.qps_num)
>>>>>      File "/data/rdma-core.master/tests/mlx5_base.py", line 36, in pre_run
>>>>>        self.to_rts()
>>>>>      File "/data/rdma-core.master/tests/mlx5_base.py", line 31, in to_rts
>>>>>        self.dct_qp.to_rtr(attr)
>>>>>      File "qp.pyx", line 1113, in pyverbs.qp.QP.to_rtr
>>>>> pyverbs.pyverbs_error.PyverbsRDMAError: Failed to modify QP state to RTR. Errno: 22, Invalid argument
>>>>>
>>>>> Ran 1 test in 0.051s
>>>>>
>>>>> FAILED (errors=1)
>>>>>
>>>>> ===
>>>>> Additional information:
>>>>>
>>>>> - VF is LAG and VF binds to host.
>>>>> - DC tests fail when NIC is in switchdev mode while legacy mode is fine.
>>>>> - Tested on 5.12 inbox driver or OFED 5.3, neither is working.
>>>>> - 5f:00.0 Ethernet controller [0200]: Mellanox Technologies MT2892 Family [ConnectX-6 Dx] [15b3:101d]
>>>>> - firmware-version: 22.30.1004 (MT_0000000536)
>>>>>
>>>>> I worked a bit tracepoint on 5.12 inbox driver. It seems like there's a firmware
>>>>> command error for CREATE_DCT.
>>>>>
>>>>> I can provide more information if you ask.
>>>>>
>>>>> Thanks
>>>>> WANG Chao
>>>>>
>>>> Is there any syndrome in kernel log? Try to reproduce with debug log
>>>> enabled:
>>>> echo -n "func mlx5_cmd_check +p" > /sys/kernel/debug/dynamic_debug/control
>>>
>>> [26538.391991] mlx5_core 0000:5f:00.2: mlx5_cmd_check:820:(pid 27332): CREATE_DCT(0x710) op_mod(0x0) failed, status bad parameter(0x3), syndrome (0xa22b82)
>>>
>> This syndrome indicates DCT is not supported in VF LAG mode here.
> 
> Is this out of order:
> 
>      def test_odp_dc_traffic(self):
>          send_ops_flag = e.IBV_QP_EX_WITH_SEND
>          self.create_players(OdpDc, qp_count=2, send_ops_flags=send_ops_flag)
>          self.check_odp_dc_support()
>           ^^^^^^^^^^^^^^^^^^^^^

Not sure, but I think it's a different case.

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-05-19  5:19 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-18  9:25 Mellanox CX6DX switchdev mode VF fails rdma-core tests.test_mlx5_dc.DCTest WANG Chao
2021-05-18 12:30 ` Mark Zhang
2021-05-18 12:44   ` WANG Chao
2021-05-18 13:00     ` Mark Zhang
2021-05-18 16:52       ` Jason Gunthorpe
2021-05-19  5:19         ` Mark Zhang
2021-05-19  3:14       ` WANG Chao

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.