Configure ADQ Traffic Class (TC) on SUT
The following variables are used in the examples in Create TCs through Confirm TC Configuration:
$iface | The interface in use (PF or VF). |
$ipaddr | The IP Address of the interface. For GTP protocol, it is inner destination IP. For VXLAN, it is VXLAN interface IP. |
$macaddr | The MAC Address of the interface. |
$app_port | The listening port of the application (usually user-selected in the application configuration). For GTP protocol, it is inner destination L4 port. |
$num_queues_tc0 | The number of queues for default traffic class (usually 2 or more, but needs to be a power of 2 or it is not accepted). |
$num_queues_tc1 | The number of queues for application traffic class 1 (corresponds to the user-selected number of application threads for application 1). Note power of 2 restrictions below. |
$num_queues_tc2 | The number of queues for application traffic class 2 (corresponds to the user-selected number of application threads for application 2). Note power of 2 restrictions below. |
$tunnel_id | GTP Tunnel key ID. For VXLAN: Tunnel ID |
$gtp_port | GTP port (ex: GTP-U user data tunneling port 2152). |
$ipv6addr | The IPv6 address of the interface. |
$queue_id | The specific rx queue number in hexadecimal (ex: 0xa,0xb etc). |