This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
cmd:lotest [2013/04/03 15:28] mcb30 |
cmd:lotest [2016/05/23 22:38] (current) mcb30 |
||
---|---|---|---|
Line 3: | Line 3: | ||
===== Synopsis ===== | ===== Synopsis ===== | ||
- | lotest [--mtu <mtu>] <sending interface> <receiving interface> | + | lotest [--mtu <mtu>] [--broadcast] <sending interface> <receiving interface> |
===== Examples ===== | ===== Examples ===== | ||
Line 16: | Line 16: | ||
You can specify the packet size (excluding the link-layer header) using the ''%%--mtu%%'' option. If no packet size is specified, then the default Ethernet size of 1500 bytes will be used. | You can specify the packet size (excluding the link-layer header) using the ''%%--mtu%%'' option. If no packet size is specified, then the default Ethernet size of 1500 bytes will be used. | ||
+ | |||
+ | You can specify a broadcast destination link-layer address using the ''%%--broadcast%%'' option. If a broadcast destination address is not specified, then the link-layer address of the receiving interface will be used. | ||
The test will continue until it is interrupted (e.g. by pressing ''Ctrl-C'') or until a packet is received incorrectly. The number of packets successfully received will be displayed as a running total during the test. | The test will continue until it is interrupted (e.g. by pressing ''Ctrl-C'') or until a packet is received incorrectly. The number of packets successfully received will be displayed as a running total during the test. | ||
Line 40: | Line 42: | ||
vcreate --tag 123 net1 | vcreate --tag 123 net1 | ||
lotest net0-123 net1-123 | lotest net0-123 net1-123 | ||
+ | |||
+ | Some USB drivers may fail to correctly transmit or receive packets that have a length (inclusive of the 14-byte Ethernet link-layer header and any device-specific headers) which is an exact multiple of the USB bulk endpoint MTU (typically 512 bytes). These drivers should be fixed. | ||