Searched refs:tag_ops (Results 1 – 15 of 15) sorted by relevance
235 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() local580 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 …]
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()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 …]
270 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() local366 mtu = ETH_DATA_LEN + dsa_tag_protocol_overhead(tag_ops); in dsa_conduit_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);
1572 const struct dsa_device_ops *tag_ops) in dsa_port_set_tag_protocol() argument1574 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()
2101 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()
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()
140 const struct dsa_device_ops *tag_ops; member249 const struct dsa_device_ops *tag_ops; member1363 const struct dsa_device_ops *ops = skb->dev->dsa_ptr->tag_ops; in dsa_tag_generic_flow_dissect()
175 if (dp->cpu_dp->tag_ops->proto != DSA_TAG_PROTO_MTK) in mtk_flow_get_dsa_port()
789 skb->dev->dsa_ptr->tag_ops->proto != DSA_TAG_PROTO_MTK) in __mtk_ppe_check_skb()
3318 dev->dsa_ptr->tag_ops->proto == DSA_TAG_PROTO_MTK; in mtk_uses_dsa()
1080 ops = skb->dev->dsa_ptr->tag_ops; in __skb_flow_dissect()