User Manual

Rev 2.2-1.0.1
Mellanox Technologies
289
Rate Limiter
The table below lists the Rate Limiter flags of the command.
Table 63 - raw_ethernet_bw Rate Limiter Flags and Options
Flag Description
--burst_size=<size> Set the amount of messages to send in a burst when using
rate limiter
--rate_limit=<rate[pps]> Set the maximum rate of sent packages
--rate_units=<units> [Mgp] Set the units for rate limit to MBps (M), Gbps (g) or pps
(p)
Raw Ethernet Options
The table below lists the Raw Ethernet flags of the command.
Table 64 - raw_ethernet_bw Raw Ethernet Flags and Options
Flag Description
-B, --source_mac Source MAC address by this format
XX:XX:XX:XX:XX:XX (default take the MAC address
form GID)
-E, --dest_mac Destination MAC address by this format
XX:XX:XX:XX:XX:XX **MUST** be entered
-J, --dest_ip Destination ip address by this format X.X.X.X (using to
send packets with IP header)
-j, --source_ip Source ip address by this format X.X.X.X (using to send
packets with IP header)
-K, --dest_port Destination port number (using to send packets with
UDP header as default, or you can use --tcp flag to send
TCP Header)
-k, --source_port Source port number (using to send packets with UDP
header as default, or you can use --tcp flag to send
TCP
Header)
-Z, --server Choose server side for the current machine (--server/--
client must be selected )
-P, --client Choose client side for the current machine (--server/--cli-
ent must be selected)
-v, --mac_fwd Run mac forwarding test
--tcp Send TCP Packets. must include IP and Ports informa-
tion.