bnx2: Fix bandwidth allocation for some MF modes
Orabug:
22066196
Management firmware tells driver in case bandwidth configuration for
a specific function exists, but [regretably] the same field has different
meanings depending on the multi-function mode - it can either be
a percentile value or an actual speed.
For newer multi-function modes current logic is incorrect -
driver understands values as actual speeds instead of percentages,
causing the resulting chip configuration to be incorrect.
Signed-off-by: Yuval Mintz <Yuval.Mintz@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
(cherry picked from commit
da3cc2da7c08dc1f4371a4cc2eb83b22a0cf83a8)
Signed-off-by: Dan Duval <dan.duval@oracle.com>