git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
app/testpmd: set VF Tx max bandwidth
[dpdk.git]
/
doc
/
guides
/
testpmd_app_ug
/
testpmd_funcs.rst
diff --git
a/doc/guides/testpmd_app_ug/testpmd_funcs.rst
b/doc/guides/testpmd_app_ug/testpmd_funcs.rst
index
64ed028
..
232b95e
100644
(file)
--- a/
doc/guides/testpmd_app_ug/testpmd_funcs.rst
+++ b/
doc/guides/testpmd_app_ug/testpmd_funcs.rst
@@
-837,6
+837,13
@@
Add an alternative MAC address for a VF to a port::
testpmd> mac_add add port (port_id) vf (vf_id) (XX:XX:XX:XX:XX:XX)
testpmd> mac_add add port (port_id) vf (vf_id) (XX:XX:XX:XX:XX:XX)
+mac_addr set
+~~~~~~~~~~~~
+
+Set the default MAC address for a port::
+
+ testpmd> mac_addr set (port_id) (XX:XX:XX:XX:XX:XX)
+
mac_addr set (for VF)
~~~~~~~~~~~~~~~~~~~~~
mac_addr set (for VF)
~~~~~~~~~~~~~~~~~~~~~
@@
-886,6
+893,13
@@
In promiscuous mode packets are not dropped if they aren't for the specified MAC
testpmd> set vf allmulti (port_id) (vf_id) (on|off)
testpmd> set vf allmulti (port_id) (vf_id) (on|off)
+set tx max bandwidth (for VF)
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+Set TX max absolute bandwidth (Mbps) for a VF from PF::
+
+ testpmd> set vf tx max-bandwidth (port_id) (vf_id) (max_bandwidth)
+
set flow_ctrl rx
~~~~~~~~~~~~~~~~
set flow_ctrl rx
~~~~~~~~~~~~~~~~