Searched refs:tag_ops (Results 1 – 12 of 12) sorted by relevance
258 if (dst->tag_ops) in dsa_tree_free()259 dsa_tag_driver_put(dst->tag_ops); in dsa_tree_free()825 const struct dsa_device_ops *tag_ops = ds->dst->tag_ops; in dsa_switch_setup_tag_protocol() local829 if (tag_ops->proto == dst->default_proto) in dsa_switch_setup_tag_protocol()833 err = ds->ops->change_tag_protocol(ds, tag_ops->proto); in dsa_switch_setup_tag_protocol()837 tag_ops->name, ERR_PTR(err)); in dsa_switch_setup_tag_protocol()842 if (tag_ops->connect) { in dsa_switch_setup_tag_protocol()843 err = tag_ops->connect(ds); in dsa_switch_setup_tag_protocol()849 err = ds->ops->connect_tag_protocol(ds, tag_ops->proto); in dsa_switch_setup_tag_protocol()853 tag_ops->name, ERR_PTR(err)); in dsa_switch_setup_tag_protocol()[all …]
818 const struct dsa_device_ops *tag_ops = info->tag_ops; in dsa_switch_change_tag_proto() local827 err = ds->ops->change_tag_protocol(ds, tag_ops->proto); in dsa_switch_change_tag_proto()832 dsa_port_set_tag_protocol(cpu_dp, tag_ops); in dsa_switch_change_tag_proto()863 const struct dsa_device_ops *tag_ops = info->tag_ops; in dsa_switch_connect_tag_proto() local867 if (tag_ops->connect) { in dsa_switch_connect_tag_proto()868 err = tag_ops->connect(ds); in dsa_switch_connect_tag_proto()877 err = ds->ops->connect_tag_protocol(ds, tag_ops->proto); in dsa_switch_connect_tag_proto()880 if (tag_ops->disconnect) in dsa_switch_connect_tag_proto()881 tag_ops->disconnect(ds); in dsa_switch_connect_tag_proto()892 const struct dsa_device_ops *tag_ops = info->tag_ops; in dsa_switch_disconnect_tag_proto() local[all …]
278 const struct dsa_device_ops *ops = dev->dsa_ptr->tag_ops; in dsa_master_set_promiscuity()295 dsa_tag_protocol_to_str(cpu_dp->tag_ops)); in tagging_show()306 old_tag_ops = cpu_dp->tag_ops; in tagging_store()358 const struct dsa_device_ops *tag_ops = cpu_dp->tag_ops; in dsa_master_setup() local363 mtu = ETH_DATA_LEN + dsa_tag_protocol_overhead(tag_ops); in dsa_master_setup()
109 const struct dsa_device_ops *tag_ops; member215 const struct dsa_device_ops *tag_ops);566 const struct dsa_device_ops *tag_ops,
1526 const struct dsa_device_ops *tag_ops) in dsa_port_set_tag_protocol() argument1528 cpu_dp->rcv = tag_ops->rcv; in dsa_port_set_tag_protocol()1529 cpu_dp->tag_ops = tag_ops; in dsa_port_set_tag_protocol()
1885 new_master_mtu = largest_mtu + dsa_tag_protocol_overhead(cpu_dp->tag_ops); in dsa_slave_change_mtu()1921 dsa_tag_protocol_overhead(cpu_dp->tag_ops)); in dsa_slave_change_mtu()2196 path->dsa.proto = cpu_dp->tag_ops->proto; in dsa_slave_fill_forward_path()2321 slave->needed_headroom = cpu_dp->tag_ops->needed_headroom; in dsa_slave_setup_tagger()2322 slave->needed_tailroom = cpu_dp->tag_ops->needed_tailroom; in dsa_slave_setup_tagger()2330 p->xmit = cpu_dp->tag_ops->xmit; in dsa_slave_setup_tagger()
73 BUG_ON(ds->dst->tag_ops->proto != DSA_TAG_PROTO_SJA1105 && in sja1105_tagger_data()74 ds->dst->tag_ops->proto != DSA_TAG_PROTO_SJA1110); in sja1105_tagger_data()
179 BUG_ON(ds->dst->tag_ops->proto != DSA_TAG_PROTO_OCELOT_8021Q); in ocelot_8021q_tagger_data()
154 const struct dsa_device_ops *tag_ops; member263 const struct dsa_device_ops *tag_ops; member1331 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()
680 skb->dev->dsa_ptr->tag_ops->proto != DSA_TAG_PROTO_MTK) in __mtk_ppe_check_skb()
977 ops = skb->dev->dsa_ptr->tag_ops; in __skb_flow_dissect()