Searched refs:switch_id (Results 1 – 7 of 7) sorted by relevance
| /net/dsa/ |
| A D | tag_sja1105.c | 99 u64 switch_id; member 121 packing(buf + 7, &meta->switch_id, 7, 0, 1, UNPACK, 0); in sja1105_meta_unpack() 494 switch_id = hdr->h_dest[4]; in sja1105_rcv() 498 switch_id = meta.switch_id; in sja1105_rcv() 506 else if (source_port == -1 && switch_id == -1) in sja1105_rcv() 538 ds = dsa_switch_find(cpu_dp->dst->index, switch_id); in sja1110_rcv_meta() 541 conduit->name, switch_id); in sja1110_rcv_meta() 570 int *switch_id, in sja1110_rcv_inband_control_extension() argument 604 *switch_id = SJA1110_RX_TRAILER_SWITCH_ID(last_byte); in sja1110_rcv_inband_control_extension() 617 *switch_id = SJA1110_RX_HEADER_SWITCH_ID(rx_header); in sja1110_rcv_inband_control_extension() [all …]
|
| A D | tag_vsc73xx_8021q.c | 38 int src_port = -1, switch_id = -1, vbid = -1, vid = -1; in vsc73xx_rcv() local 40 dsa_8021q_rcv(skb, &src_port, &switch_id, &vbid, &vid); in vsc73xx_rcv() 42 skb->dev = dsa_tag_8021q_find_user(netdev, src_port, switch_id, in vsc73xx_rcv()
|
| A D | tag_8021q.c | 503 int source_port, int switch_id, in dsa_tag_8021q_find_user() argument 507 if (source_port != -1 && switch_id != -1) in dsa_tag_8021q_find_user() 508 return dsa_conduit_find_user(conduit, switch_id, source_port); in dsa_tag_8021q_find_user() 532 void dsa_8021q_rcv(struct sk_buff *skb, int *source_port, int *switch_id, in dsa_8021q_rcv() argument 579 if (tmp_vbid == 0 && *switch_id == -1) in dsa_8021q_rcv() 580 *switch_id = tmp_switch_id; in dsa_8021q_rcv()
|
| A D | tag_ocelot_8021q.c | 82 int src_port = -1, switch_id = -1; in ocelot_rcv() local 84 dsa_8021q_rcv(skb, &src_port, &switch_id, NULL, NULL); in ocelot_rcv() 86 skb->dev = dsa_conduit_find_user(netdev, switch_id, src_port); in ocelot_rcv()
|
| A D | tag_8021q.h | 16 void dsa_8021q_rcv(struct sk_buff *skb, int *source_port, int *switch_id, 20 int source_port, int switch_id,
|
| A D | devlink.c | 325 memcpy(attrs.switch_id.id, id, len); in dsa_port_devlink_setup() 326 attrs.switch_id.id_len = len; in dsa_port_devlink_setup()
|
| /net/devlink/ |
| A D | port.c | 1343 if (attrs->switch_id.id_len) { in __devlink_port_attrs_set() 1345 if (WARN_ON(attrs->switch_id.id_len > MAX_PHYS_ITEM_ID_LEN)) in __devlink_port_attrs_set() 1346 attrs->switch_id.id_len = MAX_PHYS_ITEM_ID_LEN; in __devlink_port_attrs_set() 1618 memcpy(ppid, &devlink_port->attrs.switch_id, sizeof(*ppid)); in devlink_compat_switch_id_get()
|
Completed in 22 milliseconds