[PATCH 18/46] common/sfc_efx/base: extend list of supported X4 port modes
Ivan Malov
ivan.malov at arknetworks.am
Wed Apr 16 15:59:48 CEST 2025
From: Denis Pryazhennikov <denis.pryazhennikov at arknetworks.am>
Add X4 port mode that allocates two 10G/25G/50G ports
to separate cages.
Signed-off-by: Denis Pryazhennikov <denis.pryazhennikov at arknetworks.am>
Reviewed-by: Andy Moreton <andy.moreton at amd.com>
Reviewed-by: Richard Houldsworth <richard.houldsworth at amd.com>
Reviewed-by: Ivan Malov <ivan.malov at arknetworks.am>
---
drivers/common/sfc_efx/base/ef10_nic.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/common/sfc_efx/base/ef10_nic.c b/drivers/common/sfc_efx/base/ef10_nic.c
index e28978e4cc..e1e8de5396 100644
--- a/drivers/common/sfc_efx/base/ef10_nic.c
+++ b/drivers/common/sfc_efx/base/ef10_nic.c
@@ -1979,6 +1979,7 @@ static struct ef10_external_port_map_s {
*/
{
EFX_FAMILY_MEDFORD4,
+ (1U << TLV_PORT_MODE_1x1_1x1) | /* mode 2 */
(1U << TLV_PORT_MODE_1x4_1x4), /* mode 3 */
{ 0, 1, EFX_EXT_PORT_NA, EFX_EXT_PORT_NA }
},
--
2.39.5
More information about the dev
mailing list