The mlxmcg tool displays the current multicast groups and flow steering rules configured in the device. Target users: Developers of Flow Steering aware applications.
This tool dumps the internal steering table which is used by the device to steer Ethernet packets and Multicast IB packets to the correct destination QPs.
Each line in the table shows a single filter and a list of destination QPs. Packets that match the filter are steered to the list of destination QPs.
- mlxmcg is not supported against In-band device.
- mlxmcg is supported in ConnectX-3/ConnectX-3 Pro only.
The mst driver must be started prior to running mlxmcg tool. To start mlxmcg:
- [Optional for Windows OSs] Start the mst driver (mst start or mst restart).
Enter an mlxmcg command that complies with the following command syntax:
|-h, --help||Show this help message and exit|
|-d DEV, --dev=DEV||mst device to use, required|
|-f FILE, --file=FILE||MCG dump file to use (for debug). Used as input - no need for a device.|
|-p PARAMS, --params=PARAMS||Mcg params, (MCG_ENTRY_SIZE, HASH_TABLE_SIZE, MCG_TABLE_SIZE), default is (64, 32768, 65536)|
|-q, --quiet||Do not print progress messages to stderr|
|-v, --version||Print tool version|
|-c, --hopcount||Add hopCount column|
|-a, --advanced||Show all rules|
This will display all the current multicast groups and flow steering rules configured in the device.