Home
last modified time | relevance | path

Searched refs:phys_port_id (Results 1 – 13 of 13) sorted by relevance

/openbmc/linux/drivers/net/ethernet/mellanox/mlx4/
H A Dfw.h154 u64 phys_port_id; member
H A Den_netdev.c2636 u64 phys_port_id = mdev->caps.phys_port_id[priv->port]; in mlx4_en_get_phys_port_id() local
2638 if (!phys_port_id) in mlx4_en_get_phys_port_id()
2641 ppid->id_len = sizeof(phys_port_id); in mlx4_en_get_phys_port_id()
2643 ppid->id[i] = phys_port_id & 0xff; in mlx4_en_get_phys_port_id()
2644 phys_port_id >>= 8; in mlx4_en_get_phys_port_id()
H A Dfw.c435 MLX4_PUT(outbox->buf, dev->caps.phys_port_id[vhcr->in_modifier], in mlx4_QUERY_FUNC_CAP_wrapper()
705 MLX4_GET(func_cap->phys_port_id, outbox, in mlx4_QUERY_FUNC_CAP()
2669 dev->caps.phys_port_id[port] = (u64)guid_lo | in mlx4_get_phys_port_id()
H A Dmain.c888 caps->phys_port_id[i] = func_cap->phys_port_id; in mlx4_slave_special_qp_cap()
/openbmc/linux/Documentation/ABI/testing/
H A Dsysfs-class-net256 What: /sys/class/net/<iface>/phys_port_id
/openbmc/linux/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_vfpf.c344 memcpy(bp->phys_port_id, phys_port_resp->id, ETH_ALEN); in bnx2x_vfpf_acquire()
1228 memcpy(port_id->id, bp->phys_port_id, ETH_ALEN); in bnx2x_vf_mbx_resp_phys_port()
H A Dbnx2x.h1831 u8 phys_port_id[ETH_ALEN]; member
H A Dbnx2x_main.c11873 bnx2x_set_mac_buf(bp->phys_port_id, val, val2); in bnx2x_get_mac_hwinfo()
12850 ppid->id_len = sizeof(bp->phys_port_id); in bnx2x_get_phys_port_id()
12851 memcpy(ppid->id, bp->phys_port_id, ppid->id_len); in bnx2x_get_phys_port_id()
/openbmc/linux/drivers/net/ethernet/qlogic/qlcnic/
H A Dqlcnic_hw.c762 memcpy(adapter->ahw->phys_port_id, mac, ETH_ALEN); in qlcnic_82xx_read_phys_port_id()
H A Dqlcnic_main.c465 ppid->id_len = sizeof(ahw->phys_port_id); in qlcnic_get_phys_port_id()
466 memcpy(ppid->id, ahw->phys_port_id, ppid->id_len); in qlcnic_get_phys_port_id()
H A Dqlcnic.h536 u8 phys_port_id[ETH_ALEN]; member
/openbmc/linux/include/linux/mlx4/
H A Ddevice.h623 u64 phys_port_id[MLX4_MAX_PORTS + 1]; member
/openbmc/linux/net/core/
H A Dnet-sysfs.c522 static DEVICE_ATTR_RO(phys_port_id);