[vsock] Virtual socket commands

The TX boards use virtual sockets (VSOCKs) as the standard communication interface between protocol layers. Use the [vsock] command to view the vsocks currently defined on the board. The following table lists the [vsock] commands:

[vsock] command

Description

info

Displays VSOCK top-level information.

resctx

Displays a memory area as a resource context (RESCTX).

ress

Displays summary information for all resources, including:

  • Res Type: Type of resource identifier.

  • Name: Name of the resource.

  • TX Frames: Total number of packets transmitted over the resource.

  • TX Fails: Total number of failed transmit attempts over the resource.

  • RX Frames: Total number of packets received over the resource.

  • RX Drops: Total number of receive indications that the resource dropped.

  • Last Error: Error code identifying the reason for the last error the resource detected.

  • MaxTX Time: Maximum number of milliseconds that the resource held a transmit packet.

  • MaxRX Time: Maximum number of milliseconds that the resource held a receive packet.

rxtxd

Displays a memory area as an RX/TX descriptor (RXTXD).

txpend

Displays all transmits currently pending for the given VSOCK.

vsockctx

Displays a memory area as a VSOCK control context (VSOCKCTX).

vsocks

Displays summary information for all VSOCKs, including:

  • VSOCK Address: Memory address for the VSOCK control context.

  • Owner: Name of the task that owns the VSOCK.

  • Res Type: Type of resource to which VSOCK is attached.

  • TX Pnd: Count of the currently pending transmits over the VSOCK.

  • TX Frames: Total number of packets transmitted over the VSOCK.

  • TX Fails: Total number of failed transmit attempts over the VSOCK.

  • RX Frames: Total number of packets received over the VSOCK.

  • RX Fails: Total number of receive indications with errors detected.

  • Last Error: Error code identifying the reason for the last error that VSOCK detected.

  • MaxTX Time: Maximum number of milliseconds to TX over the VSOCK.

  • MaxRX Time: Maximum number of milliseconds for any RX over the VSOCK.