Searched refs:ppid (Results 1 – 12 of 12) sorted by relevance
/net/bridge/ |
D | br_switchdev.c | 209 if (netdev_phys_item_id_same(&joining->ppid, &p->ppid)) { in nbp_switchdev_hwdom_set() 239 struct netdev_phys_item_id ppid, in nbp_switchdev_add() argument 250 if (!netdev_phys_item_id_same(&p->ppid, &ppid)) { in nbp_switchdev_add() 265 p->ppid = ppid; in nbp_switchdev_add() 829 struct netdev_phys_item_id ppid; in br_switchdev_port_offload() local 832 err = dev_get_port_parent_id(dev, &ppid, false); in br_switchdev_port_offload() 836 err = nbp_switchdev_add(p, ppid, tx_fwd_offload, extack); in br_switchdev_port_offload()
|
D | br_private.h | 435 struct netdev_phys_item_id ppid; member
|
/net/core/ |
D | net-sysfs.c | 512 struct netdev_phys_item_id ppid; in phys_port_id_show() local 514 ret = dev_get_phys_port_id(netdev, &ppid); in phys_port_id_show() 516 ret = sysfs_emit(buf, "%*phN\n", ppid.id_len, ppid.id); in phys_port_id_show() 571 struct netdev_phys_item_id ppid = { }; in phys_switch_id_show() local 573 ret = dev_get_port_parent_id(netdev, &ppid, false); in phys_switch_id_show() 575 ret = sysfs_emit(buf, "%*phN\n", ppid.id_len, ppid.id); in phys_switch_id_show()
|
D | dev.h | 80 struct netdev_phys_item_id *ppid);
|
D | rtnetlink.c | 1198 struct netdev_phys_item_id ppid; in rtnl_phys_port_id_fill() local 1200 err = dev_get_phys_port_id(dev, &ppid); in rtnl_phys_port_id_fill() 1207 if (nla_put(skb, IFLA_PHYS_PORT_ID, ppid.id_len, ppid.id)) in rtnl_phys_port_id_fill() 1233 struct netdev_phys_item_id ppid = { }; in rtnl_phys_switch_id_fill() local 1236 err = dev_get_port_parent_id(dev, &ppid, false); in rtnl_phys_switch_id_fill() 1243 if (nla_put(skb, IFLA_PHYS_SWITCH_ID, ppid.id_len, ppid.id)) in rtnl_phys_switch_id_fill()
|
D | dev.c | 8985 struct netdev_phys_item_id *ppid) in dev_get_phys_port_id() argument 8991 return ops->ndo_get_phys_port_id(dev, ppid); in dev_get_phys_port_id() 9025 struct netdev_phys_item_id *ppid, in dev_get_port_parent_id() argument 9035 err = ops->ndo_get_port_parent_id(dev, ppid); in dev_get_port_parent_id() 9040 err = devlink_compat_switch_id_get(dev, ppid); in dev_get_port_parent_id() 9045 err = dev_get_port_parent_id(lower_dev, ppid, true); in dev_get_port_parent_id() 9049 first = *ppid; in dev_get_port_parent_id() 9050 else if (memcmp(&first, ppid, sizeof(*ppid))) in dev_get_port_parent_id()
|
/net/devlink/ |
D | port.c | 1127 struct netdev_phys_item_id ppid; in devlink_port_type_netdev_checks() local 1130 err = ops->ndo_get_port_parent_id(netdev, &ppid); in devlink_port_type_netdev_checks() 1500 struct netdev_phys_item_id *ppid) in devlink_compat_switch_id_get() argument 1512 memcpy(ppid, &devlink_port->attrs.switch_id, sizeof(*ppid)); in devlink_compat_switch_id_get()
|
/net/sctp/ |
D | ulpevent.c | 998 sinfo.sinfo_ppid = event->ppid; in sctp_ulpevent_read_sndrcvinfo() 1026 rinfo.rcv_ppid = event->ppid; in sctp_ulpevent_read_rcvinfo() 1048 nxtinfo.nxt_ppid = event->ppid; in __sctp_ulpevent_read_nxtinfo()
|
D | ulpqueue.c | 95 event->ppid = chunk->subh.data_hdr->ppid; in sctp_ulpq_tail_data()
|
D | stream_interleave.c | 70 hdr->ppid = lchunk->sinfo.sinfo_ppid; in sctp_chunk_assign_mid() 832 event->ppid = chunk->subh.idata_hdr->ppid; in sctp_ulpevent_idata()
|
D | sm_make_chunk.c | 733 dp.ppid = sinfo->sinfo_ppid; in sctp_make_datafrag_empty()
|
/net/ipv4/ |
D | ipmr.c | 813 struct netdev_phys_item_id ppid = { }; in vif_add() local 887 err = dev_get_port_parent_id(dev, &ppid, true); in vif_add() 889 memcpy(v->dev_parent_id.id, ppid.id, ppid.id_len); in vif_add() 890 v->dev_parent_id.id_len = ppid.id_len; in vif_add()
|