---
name: "dev_get_phys_port_id"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/dev_get_phys_port_id"
---

# dev\_get\_phys\_port\_id(9)

Get device physical port ID

## NAME

dev\_get\_phys\_port\_id - Get device physical port ID

## SYNOPSIS

**int dev\_get\_phys\_port\_id(struct net\_device \*** *dev***, struct netdev\_phys\_item\_id \*** *ppid***);**

## ARGUMENTS

*dev*

device

*ppid*

port ID

## DESCRIPTION

Get device physical port ID

## COPYRIGHT
