aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/igc
diff options
context:
space:
mode:
authorAlexei Lazar <[email protected]>2025-08-20 13:32:08 +0000
committerJakub Kicinski <[email protected]>2025-08-21 14:58:32 +0000
commit451d2849ea66659040b59ae3cb7e50cc97404733 (patch)
treeba1a344fd32eca087843131550d12ecd801b29bd /drivers/net/ethernet/intel/igc
parentnet/mlx5: Restore missing scheduling node cleanup on vport enable failure (diff)
downloadkernel-451d2849ea66659040b59ae3cb7e50cc97404733.tar.gz
kernel-451d2849ea66659040b59ae3cb7e50cc97404733.zip
net/mlx5e: Query FW for buffer ownership
The SW currently saves local buffer ownership when setting the buffer. This means that the SW assumes it has ownership of the buffer after the command is set. If setting the buffer fails and we remain in FW ownership, the local buffer ownership state incorrectly remains as SW-owned. This leads to incorrect behavior in subsequent PFC commands, causing failures. Instead of saving local buffer ownership in SW, query the FW for buffer ownership when setting the buffer. This ensures that the buffer ownership state is accurately reflected, avoiding the issues caused by incorrect ownership states. Fixes: ecdf2dadee8e ("net/mlx5e: Receive buffer support for DCBX") Signed-off-by: Alexei Lazar <[email protected]> Reviewed-by: Shahar Shitrit <[email protected]> Reviewed-by: Dragos Tatulea <[email protected]> Signed-off-by: Mark Bloch <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/igc')
0 files changed, 0 insertions, 0 deletions