P4_DEV_NAME

# get
<module-index>/<port-index> P4_DEV_NAME ?

Description

Report the name of the device (NIC) on which the port is located.

Actions

get

Parameters

name: string, the name of the device (NIC) on which the port is located.

Example

# get
input:  0/1 P4_DEV_NAME ?
output: 0/1 P4_DEV_NAME "name"