Skip to contentSkip to conversation

mlx5e:zero-prefix corruption during TCP DMA-BUF RX - help requested

DISCUSSION jiabin deng 2 participants 10 messages Sep 15 – Nov 6

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

Hello mlx5e and networking maintainers,

We are investigating reproducible data corruption: with SHAMPO enabled, some TCP data is corrupted when received through mlx5e directly into CUDA-exported GPU DMA-BUF memory.

The full expected number of bytes is received, but the prefixes of some payloads become zero. The corrupted ranges end exactly at the next 64-byte boundary in GPU memory.

We have not determined whether this is a driver bug, a configuration issue, or incorrect API usage in the reproducer. We would appreciate your guidance in narrowing down the cause.

Receiver environment:

- OS: Ubuntu 26.04 LTS
- Kernel: 7.0.0-30-generic
- /proc/version_signature:
Ubuntu 7.0.0-30.30-generic 7.0.12
- NIC: NVIDIA BlueField-3 B3210E E-Series DPU
- NIC driver: Ubuntu-packaged mlx5_core
- NIC firmware: 32.43.2400 (MT_0000001117)
- GPU: NVIDIA H20
- NVIDIA GPU driver: 595.71.05
- Receiver uses the CUDA Driver API, built with CUDA 12.4 headers
- Architecture: x86_64, 4 KiB base pages
- Link: 100 GbE, MTU 1500
- Receive configuration: tcp-data-split on, rx-gro-hw on

Tracing confirms that the receive path executes
mlx5e_handle_rx_cqe_mpwrq_shampo().

The sender is a standalone Python TCP program that sends reproducible nonzero data from host memory. The receiver is a standalone C++ program using Linux device-memory TCP interfaces and the CUDA Driver API.

Test procedure:

1. Allocate 4 GiB of GPU memory, export it as a DMA-BUF, and bind it to RX queues 8-15. Direct all test traffic to RX queue 8.

2. Before each iteration, fill the GPU memory with a nonzero value and call cuCtxSynchronize(). Then transmit the test data, in which every byte is in the range 1-255.

3. Receive the complete message using MSG_SOCK_DEVMEM and confirm EOF. Record the returned DMA-BUF offsets, lengths and tokens.

4. Keep all receive tokens outstanding. First read the data back with cuMemcpyDtoH(), then call cuFlushGPUDirectRDMAWrites() with CURRENT_CTX and TO_ALL_DEVICES, and read the data back again. These two reads produce the snapshots before and after the flush.

5. Compare the two snapshots with each other and the first snapshot against the expected data. Return the tokens through SO_DEVMEM_DONTNEED only after both snapshots have been saved and the comparisons have completed.

Each iteration uses a new TCP connection. Test connections do not run concurrently.

Observed results:

We tested eight message sizes from 32 KiB to 4 MiB, with 50 iterations per size:

- 400 iterations completed.
- 354 iterations contained at least one corrupted range.
- 20,707 corrupted ranges were recorded.
- All recorded corrupted ranges were zero-filled prefixes ending at the next 64-byte boundary in GPU memory.
- Corruption was present in both snapshots, before and after the explicit GPUDirect write flush.

A specific example:

- Packet payload length: 1448 bytes.
- Offset of the first payload byte from the start of the GPU buffer:
2149169912 bytes.
- This byte offset modulo 64 bytes is 56 bytes.
- First 8 bytes: zero.
- Remaining 1440 bytes: correct.

Related source observations:

The receiver's drivers/net/ethernet/mellanox/mlx5/ directory and headers under include/linux/mlx5/ are byte-for-byte identical to upstream v7.0.12. The running kernel is an Ubuntu kernel; we have not yet run this test on a current vanilla mainline kernel.

One possible lead is an interaction between SHAMPO end padding and Relaxed Ordering writes. In this version, rq_end_pad_mode() disables end padding only when LRO is enabled and write RO is supported. SHAMPO therefore selects ALIGN; at the same time, write RO is enabled on the payload MKey when the device advertises write RO support.

Commit e2351e517068 ("net/mlx5e: RX, Avoid possible data corruption when relaxed ordering and LRO combined") describes a related issue with consecutively placed LRO payloads. We would like to understand whether SHAMPO might also need to account for a similar situation. We do not yet have results from padding/RO diagnostic experiments.

Is our receive and synchronization sequence appropriate? Are there known issues or fixes relevant to this configuration? Please also advise which additional logs or targeted tests would be most useful in identifying the cause.

Thank you for your time,
Jiabin Deng

#1 lore raw

Hi Jiabin,

Quoted 27 lines · jiabin deng

Hello mlx5e and networking maintainers,

We are investigating reproducible data corruption: with SHAMPO enabled, some TCP data is corrupted when received through mlx5e directly into CUDA-exported GPU DMA-BUF memory.

The full expected number of bytes is received, but the prefixes of some payloads become zero. The corrupted ranges end exactly at the next 64-byte boundary in GPU memory.

Quoted 1 line

[...]

Each iteration uses a new TCP connection. Test connections do not run concurrently.

Observed results:

We tested eight message sizes from 32 KiB to 4 MiB, with 50 iterations per size:

- 400 iterations completed.
- 354 iterations contained at least one corrupted range.
- 20,707 corrupted ranges were recorded.
- All recorded corrupted ranges were zero-filled prefixes ending at the next 64-byte boundary in GPU memory.
- Corruption was present in both snapshots, before and after the explicit GPUDirect write flush.

Quoted 9 lines

A specific example:

- Packet payload length: 1448 bytes.
- Offset of the first payload byte from the start of the GPU buffer:
2149169912 bytes.
- This byte offset modulo 64 bytes is 56 bytes.
- First 8 bytes: zero.
- Remaining 1440 bytes: correct.

This sounds a bit like the ethernet padding issue that was recently fixed [1]. Did you have this patch when testing?

Quoted 3 lines

[...]

[1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit?id=e2466392a0b8496000e12181cb1ee1535eb0da25

Thanks,
Dragos

#2 lore raw

Hi Dragos,

Thank you for pointing us to this fix.

Our original test used Ubuntu kernel 7.0.0-30-generic, based on v7.0.12, and did not include that change. We have now repeated the test using Ubuntu's mainline build of Linux 7.2.6 (7.2.6-070206-generic), with its in-tree mlx5_core driver.

I checked the v7.2.6 source: it contains the small-frame guard from commit e2466392a0b8496000e12181cb1ee1535eb0da25 In mlx5e_handle_rx_cqe_mpwrq_shampo(), frames with
cqe_bcnt <= ETH_ZLEN + 2 * VLAN_HLEN set match = false and flush = true [2].

The zero-filled corruption ending at the next 64-byte boundary in GPU memory still reproduces with this kernel.

We kept the same sender and receiver data-checking logic, with tcp-data-split on and rx-gro-hw on. One additional environment change is that the NVIDIA GPU driver was updated from 595.71.05 to 595.91.07. The NIC firmware remains 32.43.2400 (MT_0000001117).

We repeated the same eight message sizes, from 32 KiB to 4 MiB, with 50 iterations per size:

- All 400 iterations completed.
- 105 iterations passed; 295 contained corrupted data.
- 21,599 corrupted ranges were recorded, all zero-filled and ending at the next 64-byte boundary in GPU memory.
- For each size from 256 KiB through 4 MiB, all 50 iterations contained corruption.
- The full-message snapshots taken before and after cuFlushGPUDirectRDMAWrites() were identical in all iterations.

For example, in the first 32 KiB iteration, an 8-byte corrupted range starts at offset 2147495416 bytes from the beginning of the GPU buffer. This offset is 56 bytes into a 64-byte-aligned block, so the eight zero bytes end exactly at the next 64-byte boundary.

These results come from the reproducer's runtime byte comparisons.

Could you suggest the next targeted checks or additional debug information that would help narrow this down?

Thanks,
Jiabin Deng

Quoted 51 lines · Dragos Tatulea

Hi Jiabin,

Quoted 27 lines · jiabin deng

Hello mlx5e and networking maintainers,

We are investigating reproducible data corruption: with SHAMPO enabled, some TCP data is corrupted when received through mlx5e directly into CUDA-exported GPU DMA-BUF memory.

The full expected number of bytes is received, but the prefixes of some payloads become zero. The corrupted ranges end exactly at the next 64-byte boundary in GPU memory.

Quoted 1 line

[...]

Each iteration uses a new TCP connection. Test connections do not run concurrently.

Observed results:

We tested eight message sizes from 32 KiB to 4 MiB, with 50 iterations per size:

- 400 iterations completed.
- 354 iterations contained at least one corrupted range.
- 20,707 corrupted ranges were recorded.
- All recorded corrupted ranges were zero-filled prefixes ending at the next 64-byte boundary in GPU memory.
- Corruption was present in both snapshots, before and after the explicit GPUDirect write flush.

Quoted 9 lines

A specific example:

- Packet payload length: 1448 bytes.
- Offset of the first payload byte from the start of the GPU buffer:
2149169912 bytes.
- This byte offset modulo 64 bytes is 56 bytes.
- First 8 bytes: zero.
- Remaining 1440 bytes: correct.

This sounds a bit like the ethernet padding issue that was recently fixed [1]. Did you have this patch when testing?

Quoted 3 lines

[...]

[1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit?id=e2466392a0b8496000e12181cb1ee1535eb0da25

Thanks,
Dragos

#3 lore raw
Quoted 40 lines · jiabin deng

Hi Dragos,

Thank you for pointing us to this fix.

Our original test used Ubuntu kernel 7.0.0-30-generic, based on v7.0.12, and did not include that change. We have now repeated the test using Ubuntu's mainline build of Linux 7.2.6 (7.2.6-070206-generic), with its in-tree mlx5_core driver.

I checked the v7.2.6 source: it contains the small-frame guard from commit e2466392a0b8496000e12181cb1ee1535eb0da25 In mlx5e_handle_rx_cqe_mpwrq_shampo(), frames with
cqe_bcnt <= ETH_ZLEN + 2 * VLAN_HLEN set match = false and flush = true [2].

The zero-filled corruption ending at the next 64-byte boundary in GPU memory still reproduces with this kernel.

We kept the same sender and receiver data-checking logic, with tcp-data-split on and rx-gro-hw on. One additional environment change is that the NVIDIA GPU driver was updated from 595.71.05 to 595.91.07. The NIC firmware remains 32.43.2400 (MT_0000001117).

We repeated the same eight message sizes, from 32 KiB to 4 MiB, with 50 iterations per size:

- All 400 iterations completed.
- 105 iterations passed; 295 contained corrupted data.
- 21,599 corrupted ranges were recorded, all zero-filled and ending at the next 64-byte boundary in GPU memory.
- For each size from 256 KiB through 4 MiB, all 50 iterations contained corruption.
- The full-message snapshots taken before and after cuFlushGPUDirectRDMAWrites() were identical in all iterations.

For example, in the first 32 KiB iteration, an 8-byte corrupted range starts at offset 2147495416 bytes from the beginning of the GPU buffer. This offset is 56 bytes into a 64-byte-aligned block, so the eight zero bytes end exactly at the next 64-byte boundary.

Quoted 5 lines

These results come from the reproducer's runtime byte comparisons.

Could you suggest the next targeted checks or additional debug information that would help narrow this down?

Did you also try CPU buffers? From the NIC perspective it shouldn't be any different.

Could you share a program + reproduction steps?

Thanks,
Dragos

#4 lore raw

Hi Dragos,

Thank you for following up and suggesting the CPU-buffer comparison. We have now completed both ordinary CPU TCP and CPU-backed DMA-BUF receive controls, with no payload corruption in either 400-iteration run.

Please find attached a standalone GPU-memory reproducer with a README covering the required environment, build instructions, two-host execution, and result collection. It includes a Python TCP sender, a C++ receiver using the CUDA Driver API and Linux device-memory TCP interfaces, and scripts for SHAMPO header tracing and offline byte comparisons.

As reported in my previous reply, the corruption was still reproducible after we
upgraded the receiver from Ubuntu kernel 7.0.0-30-generic to Linux
7.2.6-070206-generic, using the in-tree mlx5_core driver. The v7.2.6 source
contains the small-frame guard associated with commit [e2466392a0b8496000e12181cb1ee1535eb0da25](https://github.com/torvalds/linux/commit/e2466392a0b8496000e12181cb1ee1535eb0da25). The attached program retains the receive, synchronization, and data-comparison
sequence used in those experiments.

The reproduction sequence is:

1. Enable tcp-data-split and rx-gro-hw, allocate and export 4 GiB of GPU memory as a DMA-BUF, bind it to RX queues 8–15, and steer the test flow to queue 8. The allocation and binding stay live throughout the sweep.
2. Before each iteration, prefill GPU memory with a nonzero value and complete cuCtxSynchronize(). A receiver-to-sender ready byte ensures the sender does not transmit the payload before this step completes.
3. Send deterministic data whose byte values are all in the range 1–255. Receive the complete message and EOF with MSG_SOCK_DEVMEM, recording the fragment offsets, lengths, DMA-BUF IDs, and tokens.
4. Retain every token while saving a full-message snapshot with cuMemcpyDtoH(), calling cuFlushGPUDirectRDMAWrites(CURRENT_CTX, TO_ALL_DEVICES), and saving a second snapshot.
5. Compare the snapshots with each other and the first snapshot with the expected data. Return the tokens through SO_DEVMEM_DONTNEED only after the reads, snapshot writes, and comparisons have completed.

The default test uses eight message sizes from 32 KiB to 4 MiB, with 50 sequential connections per size. The link MTU is 1500, and the sender checks that the negotiated TCP MSS is 1448 bytes. The README explains how to select the receiving NIC interface, IP addresses, and GPU PCI bus ID for your test environment, and lists the expected readiness and completion markers. Header tracing uses bpftrace and the running kernel's BTF type information.

For the CPU controls, we used the same sender, deterministic nonzero payload pattern, eight message sizes, 50 iterations per size, and negotiated MSS of 1448 bytes. In both controls, tcp-data-split and rx-gro-hw remained enabled, and the test flow was steered to RX queue 8:

- Ordinary CPU TCP: receive with recvmsg(..., 0) into an application buffer of up to 4 MiB, without binding a DMA-BUF to the RX queues.
- CPU-backed DMA-BUF: export a 4 GiB system-RAM pool through udmabuf, bind it to RX queues 8–15, and receive with MSG_SOCK_DEVMEM. The pool was prefilled with a nonzero value before each iteration. We retained the tokens through both full-message snapshots and byte comparisons, then returned them with SO_DEVMEM_DONTNEED. CPU accesses were bracketed by DMA_BUF_IOCTL_SYNC START/END with RW flags.

The two full-message snapshots were identical in every iteration of both controls, and every byte matched the expected payload.

Given that neither CPU control reproduced the corruption seen with GPU-backed DMA-BUF reception, what additional checks would you recommend for the GPU case?

Please also let us know if you spot any issues with the reproducer's receive logic, token management, or synchronization.

Thanks,
Jiabin Deng

Quoted 56 lines · Dragos Tatulea
Quoted 40 lines · jiabin deng

Hi Dragos,

Thank you for pointing us to this fix.

Our original test used Ubuntu kernel 7.0.0-30-generic, based on v7.0.12, and did not include that change. We have now repeated the test using Ubuntu's mainline build of Linux 7.2.6 (7.2.6-070206-generic), with its in-tree mlx5_core driver.

I checked the v7.2.6 source: it contains the small-frame guard from commit e2466392a0b8496000e12181cb1ee1535eb0da25 In mlx5e_handle_rx_cqe_mpwrq_shampo(), frames with
cqe_bcnt <= ETH_ZLEN + 2 * VLAN_HLEN set match = false and flush = true [2].

The zero-filled corruption ending at the next 64-byte boundary in GPU memory still reproduces with this kernel.

We kept the same sender and receiver data-checking logic, with tcp-data-split on and rx-gro-hw on. One additional environment change is that the NVIDIA GPU driver was updated from 595.71.05 to 595.91.07. The NIC firmware remains 32.43.2400 (MT_0000001117).

We repeated the same eight message sizes, from 32 KiB to 4 MiB, with 50 iterations per size:

- All 400 iterations completed.
- 105 iterations passed; 295 contained corrupted data.
- 21,599 corrupted ranges were recorded, all zero-filled and ending at the next 64-byte boundary in GPU memory.
- For each size from 256 KiB through 4 MiB, all 50 iterations contained corruption.
- The full-message snapshots taken before and after cuFlushGPUDirectRDMAWrites() were identical in all iterations.

For example, in the first 32 KiB iteration, an 8-byte corrupted range starts at offset 2147495416 bytes from the beginning of the GPU buffer. This offset is 56 bytes into a 64-byte-aligned block, so the eight zero bytes end exactly at the next 64-byte boundary.

Quoted 5 lines

These results come from the reproducer's runtime byte comparisons.

Could you suggest the next targeted checks or additional debug information that would help narrow this down?

Did you also try CPU buffers? From the NIC perspective it shouldn't be any different.

Could you share a program + reproduction steps?

Thanks,
Dragos

#5 lore raw

Hi Jiabin,

Quoted 6 lines · jiabin deng

Hi Dragos,

Thank you for following up and suggesting the CPU-buffer comparison. We have now completed both ordinary CPU TCP and CPU-backed DMA-BUF receive controls, with no payload corruption in either 400-iteration run.

Quoted 6 lines

Please find attached a standalone GPU-memory reproducer with a README covering the required environment, build instructions, two-host execution, and result collection. It includes a Python TCP sender, a C++ receiver using the CUDA Driver API and Linux device-memory TCP interfaces, and scripts for SHAMPO header tracing and offline byte comparisons.

Thank you for the reproducer. Unfortunately I didn't get the right HW to reproduce this.

Pasting from your previous email:

Quoted 11 lines

One possible lead is an interaction between SHAMPO end eadding and Relaxed Ordering writes. In this version, rq_end_pad_mode() disables end padding only when LRO is enabled and write RO is supported. SHAMPO therefore selects ALIGN; at the same time, write RO is enabled on the payload MKey when the device advertises write RO support.

Commit e2351e517068 ("net/mlx5e: RX, Avoid possible data corruption when relaxed ordering and LRO combined") describes a related issue with consecutively placed LRO payloads. We would like to understand whether SHAMPO might also need to account for a similar situation. We do not yet have results from padding/RO diagnostic experiments.

Initially I dismissed this commit because it seemed unrelated. But now I see that you analysis was probably spot on.

So disabling alignment padding mode is definetly a very useful experiment. It would go in the lines of:

drivers/net/ethernet/mellanox/mlx5/core/en/params.c +3 -2
index 70a855c6d19c..794d8be88f0c 100644
@@ -911,10 +911,11 @@ static void mlx5e_build_rx_cq_param(struct mlx5_core_dev *mdev,
 
 static u8 rq_end_pad_mode(struct mlx5_core_dev *mdev, struct mlx5e_params *params)
 {
-       bool lro_en = params->packet_merge.type == MLX5E_PACKET_MERGE_LRO;
+       bool no_pad = params->packet_merge.type == MLX5E_PACKET_MERGE_LRO ||
+                     params->packet_merge.type == MLX5E_PACKET_MERGE_SHAMPO;
        bool ro = MLX5_CAP_GEN(mdev, relaxed_ordering_write);
 
-       return ro && lro_en ?
+       return ro && no_pad ?
                MLX5_WQ_END_PAD_MODE_NONE : MLX5_WQ_END_PAD_MODE_ALIGN;
 }
 

Could you try this please and let us know if you still encounter the issue? In the meantime I am checking about this with other people.

Thanks,
Dragos

#6 lore raw

Hi Dragos,

I applied your suggested change to rq_end_pad_mode() on the receiver and reran the standalone GPU-memory reproducer I sent previously. With MTU set to 1500, the single-direction test covered eight message sizes, with 50 transfers per size, for a total of 400 transfers.

All 400 transfers completed successfully. Full payload comparisons found zero failing cases, zero incorrect bytes, and zero corrupted intervals. The zero-prefix corruption observed in the earlier tests did not recur in this patched run.

Thank you for continuing to investigate this issue and for suggesting the fix. I also greatly appreciate the time and effort you and the other maintainers dedicate to the open-source community. As a student, I am excited to have the opportunity to contribute to the community and to learn from this process.

I would be happy to help prepare a formal patch with the test results. Would you prefer to submit the fix yourself, or would it be helpful for me to prepare and submit it based on your suggested change?

Please also keep me copied on any further discussion or developments related to this issue.

Best regards,

Jiabin

Quoted 60 lines · Dragos Tatulea

Hi Jiabin,

Quoted 6 lines · jiabin deng

Hi Dragos,

Thank you for following up and suggesting the CPU-buffer comparison. We have now completed both ordinary CPU TCP and CPU-backed DMA-BUF receive controls, with no payload corruption in either 400-iteration run.

Quoted 6 lines

Please find attached a standalone GPU-memory reproducer with a README covering the required environment, build instructions, two-host execution, and result collection. It includes a Python TCP sender, a C++ receiver using the CUDA Driver API and Linux device-memory TCP interfaces, and scripts for SHAMPO header tracing and offline byte comparisons.

Thank you for the reproducer. Unfortunately I didn't get the right HW to reproduce this.

Pasting from your previous email:

Quoted 11 lines

One possible lead is an interaction between SHAMPO end eadding and Relaxed Ordering writes. In this version, rq_end_pad_mode() disables end padding only when LRO is enabled and write RO is supported. SHAMPO therefore selects ALIGN; at the same time, write RO is enabled on the payload MKey when the device advertises write RO support.

Commit e2351e517068 ("net/mlx5e: RX, Avoid possible data corruption when relaxed ordering and LRO combined") describes a related issue with consecutively placed LRO payloads. We would like to understand whether SHAMPO might also need to account for a similar situation. We do not yet have results from padding/RO diagnostic experiments.

Initially I dismissed this commit because it seemed unrelated. But now I see that you analysis was probably spot on.

So disabling alignment padding mode is definetly a very useful experiment. It would go in the lines of:

drivers/net/ethernet/mellanox/mlx5/core/en/params.c +3 -2
index 70a855c6d19c..794d8be88f0c 100644
@@ -911,10 +911,11 @@ static void mlx5e_build_rx_cq_param(struct mlx5_core_dev *mdev,
 
 static u8 rq_end_pad_mode(struct mlx5_core_dev *mdev, struct mlx5e_params *params)
 {
-       bool lro_en = params->packet_merge.type == MLX5E_PACKET_MERGE_LRO;
+       bool no_pad = params->packet_merge.type == MLX5E_PACKET_MERGE_LRO ||
+                     params->packet_merge.type == MLX5E_PACKET_MERGE_SHAMPO;
        bool ro = MLX5_CAP_GEN(mdev, relaxed_ordering_write);
 
-       return ro && lro_en ?
+       return ro && no_pad ?
                MLX5_WQ_END_PAD_MODE_NONE : MLX5_WQ_END_PAD_MODE_ALIGN;
 }
 

Could you try this please and let us know if you still encounter the issue? In the meantime I am checking about this with other people.

Thanks,
Dragos

#7 lore raw
Quoted 12 lines · jiabin deng

Hi Dragos,

I applied your suggested change to rq_end_pad_mode() on the receiver and reran the standalone GPU-memory reproducer I sent previously. With MTU set to 1500, the single-direction test covered eight message sizes, with 50 transfers per size, for a total of 400 transfers.

All 400 transfers completed successfully. Full payload comparisons found zero failing cases, zero incorrect bytes, and zero corrupted intervals. The zero-prefix corruption observed in the earlier tests did not recur in this patched run.

Quoted 6 lines

Thank you for continuing to investigate this issue and for suggesting the fix. I also greatly appreciate the time and effort you and the other maintainers dedicate to the open-source community. As a student, I am excited to have the opportunity to contribute to the community and to learn from this process.

Thank you for your good analysis and fast response!

Quoted 4 lines

I would be happy to help prepare a formal patch with the test results. Would you prefer to submit the fix yourself, or would it be helpful for me to prepare and submit it based on your suggested change?

I am still waiting for input from the HW folks to understand if this change is needed for all SHAMPO cases or only specific P2P DMA cases.

I think you should submit the fix as you did most of the work. Just give me some time to check the above. I'll ping you hopefully next week.

Thanks,
Dragos

#8 lore raw
Quoted 16 lines · Dragos Tatulea
Quoted 9 lines · jiabin deng

Hi Dragos,

[...]
Thank you for continuing to investigate this issue and for suggesting the fix. I also greatly appreciate the time and effort you and the other maintainers dedicate to the open-source community. As a student, I am excited to have the opportunity to contribute to the community and to learn from this process.

Thank you for your good analysis and fast response!

Quoted 4 lines

I would be happy to help prepare a formal patch with the test results. Would you prefer to submit the fix yourself, or would it be helpful for me to prepare and submit it based on your suggested change?

Quoted 8 lines

I am still waiting for input from the HW folks to understand if this change is needed for all SHAMPO cases or only specific P2P DMA cases.

I think you should submit the fix as you did most of the work. Just give me some time to check the above. I'll ping you hopefully next week.

I got my answers. Feel free to go ahead send a fix. If you won't get to, let me know so that we do it.

Thanks,
Dragos

#9 lore raw

Hi Dragos,

Thank you for the confirmation. I have now submitted the fix to netdev and copied you on the patch.

Subject: [PATCH net] net/mlx5e: SHAMPO, Disable end padding when relaxed ordering is supported

Message-ID:
<[email protected]>

The patch is available in the netdev archive:
https://lore.kernel.org/netdev/[email protected]/

Thank you again for your help with the investigation and for suggesting the fix.

Best regards,
Jiabin Deng

Quoted 31 lines · Dragos Tatulea
Quoted 16 lines · Dragos Tatulea
Quoted 9 lines · jiabin deng

Hi Dragos,

[...]
Thank you for continuing to investigate this issue and for suggesting the fix. I also greatly appreciate the time and effort you and the other maintainers dedicate to the open-source community. As a student, I am excited to have the opportunity to contribute to the community and to learn from this process.

Thank you for your good analysis and fast response!

Quoted 4 lines

I would be happy to help prepare a formal patch with the test results. Would you prefer to submit the fix yourself, or would it be helpful for me to prepare and submit it based on your suggested change?

Quoted 8 lines

I am still waiting for input from the HW folks to understand if this change is needed for all SHAMPO cases or only specific P2P DMA cases.

I think you should submit the fix as you did most of the work. Just give me some time to check the above. I'll ping you hopefully next week.

I got my answers. Feel free to go ahead send a fix. If you won't get to, let me know so that we do it.

Thanks,
Dragos