Searched refs:tag_ops (Results 1 – 15 of 15) sorted by relevance
236 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() local621 const struct dsa_device_ops *tag_ops = ds->dst->tag_ops; in dsa_switch_teardown_tag_protocol() local957 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 …]
876 const struct dsa_device_ops *tag_ops = info->tag_ops; in dsa_switch_change_tag_proto() local885 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() local925 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() local953 if (tag_ops->disconnect && ds->tagger_data) in dsa_switch_disconnect_tag_proto()[all …]
270 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() local366 mtu = ETH_DATA_LEN + dsa_tag_protocol_overhead(tag_ops); in dsa_master_setup()
26 const struct dsa_device_ops *tag_ops,
99 const struct dsa_device_ops *tag_ops; member
20 const struct dsa_device_ops *tag_ops);
1532 const struct dsa_device_ops *tag_ops) in dsa_port_set_tag_protocol() argument1534 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()
2109 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()
69 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()
181 BUG_ON(ds->dst->tag_ops->proto != DSA_TAG_PROTO_OCELOT_8021Q); in ocelot_8021q_tagger_data()
141 const struct dsa_device_ops *tag_ops; member250 const struct dsa_device_ops *tag_ops; member1338 const struct dsa_device_ops *ops = skb->dev->dsa_ptr->tag_ops; in dsa_tag_generic_flow_dissect()
174 if (dp->cpu_dp->tag_ops->proto != DSA_TAG_PROTO_MTK) in mtk_flow_get_dsa_port()
787 skb->dev->dsa_ptr->tag_ops->proto != DSA_TAG_PROTO_MTK) in __mtk_ppe_check_skb()
3303 dev->dsa_ptr->tag_ops->proto == DSA_TAG_PROTO_MTK; in mtk_uses_dsa()
1056 ops = skb->dev->dsa_ptr->tag_ops; in __skb_flow_dissect()