Home
last modified time | relevance | path

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

/openbmc/linux/net/dsa/
H A Ddsa.c236 if (dst->tag_ops) in dsa_tree_free()
577 const struct dsa_device_ops *tag_ops = ds->dst->tag_ops; in dsa_switch_setup_tag_protocol() local
621 const struct dsa_device_ops *tag_ops = ds->dst->tag_ops; in dsa_switch_teardown_tag_protocol() local
957 dst->tag_ops = tag_ops; in dsa_tree_bind_tag_proto()
962 info.tag_ops = tag_ops; in dsa_tree_bind_tag_proto()
974 info.tag_ops = tag_ops; in dsa_tree_bind_tag_proto()
1010 info.tag_ops = tag_ops; in dsa_tree_change_tag_proto()
1189 tag_ops = NULL; in dsa_port_parse_cpu()
1193 if (!tag_ops) in dsa_port_parse_cpu()
1205 if (dst->tag_ops != tag_ops) { in dsa_port_parse_cpu()
[all …]
H A 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()
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
953 if (tag_ops->disconnect && ds->tagger_data) in dsa_switch_disconnect_tag_proto()
[all …]
H A Dmaster.c270 const struct dsa_device_ops *ops = dev->dsa_ptr->tag_ops; in dsa_master_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_master_setup() local
366 mtu = ETH_DATA_LEN + dsa_tag_protocol_overhead(tag_ops); in dsa_master_setup()
H A Ddsa.h26 const struct dsa_device_ops *tag_ops,
H A Dswitch.h99 const struct dsa_device_ops *tag_ops; member
H A Dport.h20 const struct dsa_device_ops *tag_ops);
H A Dport.c1532 const struct dsa_device_ops *tag_ops) in dsa_port_set_tag_protocol() argument
1534 cpu_dp->rcv = tag_ops->rcv; in dsa_port_set_tag_protocol()
1535 cpu_dp->tag_ops = tag_ops; in dsa_port_set_tag_protocol()
H A Dslave.c2109 overhead = dsa_tag_protocol_overhead(cpu_dp->tag_ops); in dsa_slave_change_mtu()
2418 path->dsa.proto = cpu_dp->tag_ops->proto; in dsa_slave_fill_forward_path()
2542 slave->needed_headroom = cpu_dp->tag_ops->needed_headroom; in dsa_slave_setup_tagger()
2543 slave->needed_tailroom = cpu_dp->tag_ops->needed_tailroom; in dsa_slave_setup_tagger()
2551 p->xmit = cpu_dp->tag_ops->xmit; in dsa_slave_setup_tagger()
/openbmc/linux/include/linux/dsa/
H A 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()
H A Docelot.h181 BUG_ON(ds->dst->tag_ops->proto != DSA_TAG_PROTO_OCELOT_8021Q); in ocelot_8021q_tagger_data()
/openbmc/linux/include/net/
H A Ddsa.h141 const struct dsa_device_ops *tag_ops; member
250 const struct dsa_device_ops *tag_ops; member
1338 const struct dsa_device_ops *ops = skb->dev->dsa_ptr->tag_ops; in dsa_tag_generic_flow_dissect()
/openbmc/linux/drivers/net/ethernet/mediatek/
H A Dmtk_ppe_offload.c174 if (dp->cpu_dp->tag_ops->proto != DSA_TAG_PROTO_MTK) in mtk_flow_get_dsa_port()
H A Dmtk_ppe.c787 skb->dev->dsa_ptr->tag_ops->proto != DSA_TAG_PROTO_MTK) in __mtk_ppe_check_skb()
H A Dmtk_eth_soc.c3303 dev->dsa_ptr->tag_ops->proto == DSA_TAG_PROTO_MTK; in mtk_uses_dsa()
/openbmc/linux/net/core/
H A Dflow_dissector.c1056 ops = skb->dev->dsa_ptr->tag_ops; in __skb_flow_dissect()