[PATCH v2 17/45] common/sfc_efx/base: extend list of supported X4 port modes
Ivan Malov
ivan.malov at arknetworks.am
Wed Apr 23 17:59:34 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 199e605d88..bce9df0aa6 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