Hi!
commit 83404d581471775f37f85e5261ec0d09407d8bed upstream.
This function will be needed by the next patch where the driver calculates the BW based on driver specific parameters, so export it.
At the same time sanitize the function params, passing the more natural link rate instead of the encoding of the same rate.
This adds exports, but there's no user of the export, neither in 5.10-stable nor in linux-next. What is the plan here?
Best regards, Pavel