ethdev: clarify rate limit parameter

The tx_rate unit is Mbps.

Gleaned from the ixgbe implementation, the 82599 datasheet and the use
in test-pmd.

Signed-off-by: Simon Kagstrom <simon.kagstrom@netinsight.net>
This commit is contained in:
Simon Kagstrom 2015-10-20 15:20:55 +02:00 committed by Thomas Monjalon
parent 23c0e3306b
commit b375513c11

View File

@ -3122,7 +3122,7 @@ int rte_eth_mirror_rule_reset(uint8_t port_id,
* @param queue_idx
* The queue id.
* @param tx_rate
* The tx rate allocated from the total link speed for this queue.
* The tx rate in Mbps. Allocated from the total port link speed.
* @return
* - (0) if successful.
* - (-ENOTSUP) if hardware doesn't support this feature.