Confirming that the accelerator hardware can be reached

7.1 LPAR mode z/VM guest

The genwqe_echo command is similar to a ping command.

Before you begin

The genwqe_echo command is included with the GenWQE components that you can obtain from github.

Procedure

Issue a command of this form to confirm that you can reach the accelerator hardware.
# genwqe_echo -AGENWQE -C <n> -c <m>
In the command, <n> is the index number of the card and <m> is a positive integer that specifies how many requests are sent to the card. The -AGENWQE parameter ensures that the correct, PCIe-attached, accelerator card is used.
Example: The following command sends 4 requests to the card with device node /dev/genwqe1_card:
# genwqe_echo -AGENWQE -C 1 -c 4
33 bytes from UNIT #1: echo_req time=37.0 usec
33 bytes from UNIT #1: echo_req time=19.0 usec
33 bytes from UNIT #1: echo_req time=23.0 usec
33 bytes from UNIT #1: echo_req time=18.0 usec
--- UNIT #1 echo statistics ---
4 packets transmitted, 4 received, 0 lost, 0% packet loss
See the genwqe_echo man page for other command options you can use to obtain information about the accelerator.