commit | 0f77ba73533ab9ae3845f4c7439d340dcafef7ad | [log] [tgz] |
---|---|---|
author | Ravikumar Nelavelli <ravikumar.nelavelli@emulex.com> | Fri May 30 19:06:24 2014 +0530 |
committer | David S. Miller <davem@davemloft.net> | Fri May 30 17:27:33 2014 -0700 |
tree | 27797bff8c650459bb7f2b413d59faa346d54e38 | |
parent | a0794885702eeab80471d8e5bdd2bfb00e6eb94f [diff] |
be2net: fixup TX-rate setting code for Skyhawk-R Skyhawk-R FW supports TX-rate setting only as a % value of the link speed, set via the SET_PROFILE_CONFIG cmd. This patch makes the necessary changes to the FW cmd descriptors to support the above change and also introduces checks in be_set_vf_tx_rate() to allow only discrete values (that map to % of the link-speed). Signed-off-by: Sathya Perla <sathya.perla@emulex.com> Signed-off-by: David S. Miller <davem@davemloft.net>