linux/drivers/net/ethernet/chelsio
Gleb Markov 5d6dc22d62 cxgb4: Fix decode strings dump for T6 adapters
Depending on the value of chip_version, the correct decode set is selected.
However, the subsequent matching with the t4 encoding type in the if-else
block results in a reassignment, which leads to the loss of support for
t6_decode as well as reinitializing of values t4_decode and t5_decode.

The component history shows that the if-else block previously used for
this purpose, as well as the execution order, was not affected by the
change.
Furthermore, it is suggested by the execution order that the scenario with
overwriting and loss of support will be implemented.

Delete the if-else block.

Fixes: 6df397539c ("cxgb4: Update correct encoding of SGE Ingress DMA States for T6 adapter")
Signed-off-by: Gleb Markov <markov.gi@npc-ksb.ru>
Reviewed-by: Potnuri Bharat Teja <bharat@chelsio.com>
Link: https://patch.msgid.link/20260629130856.1168-1-markov.gi@npc-ksb.ru
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2026-06-30 17:18:28 -07:00
..
cxgb net: Consistently define pci_device_ids using named initializers 2026-05-12 18:16:34 -07:00
cxgb3 net: Consistently define pci_device_ids using named initializers 2026-05-12 18:16:34 -07:00
cxgb4 cxgb4: Fix decode strings dump for T6 adapters 2026-06-30 17:18:28 -07:00
cxgb4vf net: Consistently define pci_device_ids using named initializers 2026-05-12 18:16:34 -07:00
inline_crypto tls: remove tls_toe and the related driver 2026-06-12 16:43:10 -07:00
libcxgb net/chelsio/libcxgb: Add __percpu annotations to libcxgb_ppm.c 2024-08-06 19:35:40 -07:00
Kconfig ipv6: convert CONFIG_IPV6 to built-in only and clean up Kconfigs 2026-03-29 11:21:22 -07:00
Makefile