On 4/16/25 17:00, Ivan Malov wrote:
On netport MCDI capable adaptors, link modes exported by libefx can be
backed by different technologies with different lane counts. Allow the
client drivers to get and set the lane count and query possible values.

Signed-off-by: Ivan Malov <[email protected]>
Reviewed-by: Andy Moreton <[email protected]>
Reviewed-by: Pieter Jansen Van Vuuren <[email protected]>

[snip]

@@ -1190,8 +1357,9 @@ efx_np_link_ctrl(
rc = efx_np_sw_link_mode_to_cap(loopback_link_mode,
                                            &cap_enum_sw);
-               if (rc != 0)
+               if (rc != 0) {
                        goto fail2;
+               }

Looks like unrelated style change

EFX_NP_CAP_ENUM_SW_TO_HW(efx_np_cap_map_tech,
                    ETH_AN_FIELDS_TECH_MASK, cap_data_raw, cap_enum_sw,

Reply via email to