Lines Matching defs:ppid
8 mlx5_esw_get_port_parent_id(struct mlx5_core_dev *dev, struct netdev_phys_item_id *ppid)
13 ppid->id_len = sizeof(parent_id);
14 memcpy(ppid->id, &parent_id, sizeof(parent_id));
29 struct netdev_phys_item_id ppid = {};
34 mlx5_esw_get_port_parent_id(dev, &ppid);
41 memcpy(dl_port->attrs.switch_id.id, ppid.id, ppid.id_len);
42 dl_port->attrs.switch_id.id_len = ppid.id_len;
45 memcpy(dl_port->attrs.switch_id.id, ppid.id, ppid.id_len);
46 dl_port->attrs.switch_id.id_len = ppid.id_len;
50 memcpy(dl_port->attrs.switch_id.id, ppid.id, ppid.id_len);
51 dl_port->attrs.switch_id.id_len = ppid.id_len;
108 struct netdev_phys_item_id ppid = {};
112 mlx5_esw_get_port_parent_id(dev, &ppid);
113 memcpy(dl_port->attrs.switch_id.id, &ppid.id[0], ppid.id_len);
114 dl_port->attrs.switch_id.id_len = ppid.id_len;