net/iavf: fix bandwidth unit in TM capability query
authorTing Xu <ting.xu@intel.com>
Thu, 15 Jul 2021 10:36:06 +0000 (18:36 +0800)
committerQi Zhang <qi.z.zhang@intel.com>
Fri, 16 Jul 2021 08:19:29 +0000 (10:19 +0200)
commitf5dd3ea456604bba1917fc7590e97e4e1c4b4e95
treecc44f24497c506d67aed7386f33b2c68142a67c0
parent57e383e57f333b5a63046b9355f24376e538ed72
net/iavf: fix bandwidth unit in TM capability query

In IAVF node TM capability querying, the unit of bandwidth is Kbps,
which is not correct according to TM specification. Change the unit to
Byte per second. Refine some unclear comments as well.

Fixes: 44d0a720a538 ("net/iavf: query QoS capabilities and set queue TC mapping")

Signed-off-by: Ting Xu <ting.xu@intel.com>
Acked-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/net/iavf/iavf_tm.c