Home
last modified time | relevance | path

Searched refs:tag_ops (Results 1 – 15 of 15) sorted by relevance

/linux-6.12.1/net/dsa/
Ddsa.c235 if (dst->tag_ops) in dsa_tree_free()
236 dsa_tag_driver_put(dst->tag_ops); in dsa_tree_free()
576 const struct dsa_device_ops *tag_ops = ds->dst->tag_ops; in dsa_switch_setup_tag_protocol() local
580 if (tag_ops->proto == dst->default_proto) in dsa_switch_setup_tag_protocol()
584 err = ds->ops->change_tag_protocol(ds, tag_ops->proto); in dsa_switch_setup_tag_protocol()
588 tag_ops->name, ERR_PTR(err)); in dsa_switch_setup_tag_protocol()
593 if (tag_ops->connect) { in dsa_switch_setup_tag_protocol()
594 err = tag_ops->connect(ds); in dsa_switch_setup_tag_protocol()
600 err = ds->ops->connect_tag_protocol(ds, tag_ops->proto); in dsa_switch_setup_tag_protocol()
604 tag_ops->name, ERR_PTR(err)); in dsa_switch_setup_tag_protocol()
[all …]
Dswitch.c876 const struct dsa_device_ops *tag_ops = info->tag_ops; in dsa_switch_change_tag_proto() local
885 err = ds->ops->change_tag_protocol(ds, tag_ops->proto); in dsa_switch_change_tag_proto()
890 dsa_port_set_tag_protocol(cpu_dp, tag_ops); in dsa_switch_change_tag_proto()
921 const struct dsa_device_ops *tag_ops = info->tag_ops; in dsa_switch_connect_tag_proto() local
925 if (tag_ops->connect) { in dsa_switch_connect_tag_proto()
926 err = tag_ops->connect(ds); in dsa_switch_connect_tag_proto()
935 err = ds->ops->connect_tag_protocol(ds, tag_ops->proto); in dsa_switch_connect_tag_proto()
938 if (tag_ops->disconnect) in dsa_switch_connect_tag_proto()
939 tag_ops->disconnect(ds); in dsa_switch_connect_tag_proto()
950 const struct dsa_device_ops *tag_ops = info->tag_ops; in dsa_switch_disconnect_tag_proto() local
[all …]
Dconduit.c270 const struct dsa_device_ops *ops = dev->dsa_ptr->tag_ops; in dsa_conduit_set_promiscuity()
287 dsa_tag_protocol_to_str(cpu_dp->tag_ops)); in tagging_show()
308 old_tag_ops = cpu_dp->tag_ops; in tagging_store()
361 const struct dsa_device_ops *tag_ops = cpu_dp->tag_ops; in dsa_conduit_setup() local
366 mtu = ETH_DATA_LEN + dsa_tag_protocol_overhead(tag_ops); in dsa_conduit_setup()
Ddsa.h26 const struct dsa_device_ops *tag_ops,
Dswitch.h99 const struct dsa_device_ops *tag_ops; member
Dport.h20 const struct dsa_device_ops *tag_ops);
Dport.c1572 const struct dsa_device_ops *tag_ops) in dsa_port_set_tag_protocol() argument
1574 cpu_dp->rcv = tag_ops->rcv; in dsa_port_set_tag_protocol()
1575 cpu_dp->tag_ops = tag_ops; in dsa_port_set_tag_protocol()
Duser.c2101 overhead = dsa_tag_protocol_overhead(cpu_dp->tag_ops); in dsa_user_change_mtu()
2513 path->dsa.proto = cpu_dp->tag_ops->proto; in dsa_user_fill_forward_path()
2637 user->needed_headroom = cpu_dp->tag_ops->needed_headroom; in dsa_user_setup_tagger()
2638 user->needed_tailroom = cpu_dp->tag_ops->needed_tailroom; in dsa_user_setup_tagger()
2646 p->xmit = cpu_dp->tag_ops->xmit; in dsa_user_setup_tagger()
/linux-6.12.1/include/linux/dsa/
Dsja1105.h69 BUG_ON(ds->dst->tag_ops->proto != DSA_TAG_PROTO_SJA1105 && in sja1105_tagger_data()
70 ds->dst->tag_ops->proto != DSA_TAG_PROTO_SJA1110); in sja1105_tagger_data()
Docelot.h181 BUG_ON(ds->dst->tag_ops->proto != DSA_TAG_PROTO_OCELOT_8021Q); in ocelot_8021q_tagger_data()
/linux-6.12.1/include/net/
Ddsa.h140 const struct dsa_device_ops *tag_ops; member
249 const struct dsa_device_ops *tag_ops; member
1363 const struct dsa_device_ops *ops = skb->dev->dsa_ptr->tag_ops; in dsa_tag_generic_flow_dissect()
/linux-6.12.1/drivers/net/ethernet/mediatek/
Dmtk_ppe_offload.c175 if (dp->cpu_dp->tag_ops->proto != DSA_TAG_PROTO_MTK) in mtk_flow_get_dsa_port()
Dmtk_ppe.c789 skb->dev->dsa_ptr->tag_ops->proto != DSA_TAG_PROTO_MTK) in __mtk_ppe_check_skb()
Dmtk_eth_soc.c3318 dev->dsa_ptr->tag_ops->proto == DSA_TAG_PROTO_MTK; in mtk_uses_dsa()
/linux-6.12.1/net/core/
Dflow_dissector.c1080 ops = skb->dev->dsa_ptr->tag_ops; in __skb_flow_dissect()