>> +    ETHTOOL_LINK_PWR_BUDGET_EXC, /* Power budget exceeded */
>> +    ETHTOOL_LINK_MODULE_ADMIN_DOWN, /* Module admin down */
>> +
>> +    ETHTOOL_LINK_REASONS_COUNT
>> +};
> Any enumerated list is going to get changed too often.
> Could the API just return a string?

The motivation for the enumerated list is to make this API as generic as 
possible and compatible
with all ethernet drivers.

Returning a string is a good idea, maybe change the vendor specific opcode to a 
string?

Reply via email to