Searched refs:tag_ops (Results 1 – 9 of 9) sorted by relevance
/Linux-v5.15/net/dsa/ |
D | dsa2.c | 233 if (dst->tag_ops) in dsa_tree_free() 234 dsa_tag_driver_put(dst->tag_ops); in dsa_tree_free() 803 const struct dsa_device_ops *tag_ops = ds->dst->tag_ops; in dsa_switch_setup_tag_protocol() local 807 if (tag_ops->proto == dst->default_proto) in dsa_switch_setup_tag_protocol() 815 err = ds->ops->change_tag_protocol(ds, port, tag_ops->proto); in dsa_switch_setup_tag_protocol() 819 tag_ops->name, ERR_PTR(err)); in dsa_switch_setup_tag_protocol() 1141 const struct dsa_device_ops *tag_ops, in dsa_tree_change_tag_proto() argument 1167 info.tag_ops = tag_ops; in dsa_tree_change_tag_proto() 1172 dst->tag_ops = tag_ops; in dsa_tree_change_tag_proto() 1179 info.tag_ops = old_tag_ops; in dsa_tree_change_tag_proto() [all …]
|
D | master.c | 265 const struct dsa_device_ops *ops = dev->dsa_ptr->tag_ops; in dsa_master_set_promiscuity() 282 dsa_tag_protocol_to_str(cpu_dp->tag_ops)); in tagging_show() 293 old_tag_ops = cpu_dp->tag_ops; in tagging_store() 349 const struct dsa_device_ops *tag_ops = cpu_dp->tag_ops; in dsa_master_setup() local 354 mtu = ETH_DATA_LEN + dsa_tag_protocol_overhead(tag_ops); in dsa_master_setup()
|
D | dsa_priv.h | 103 const struct dsa_device_ops *tag_ops; member 202 const struct dsa_device_ops *tag_ops); 547 const struct dsa_device_ops *tag_ops,
|
D | switch.c | 581 const struct dsa_device_ops *tag_ops = info->tag_ops; in dsa_switch_change_tag_proto() local 593 err = ds->ops->change_tag_protocol(ds, port, tag_ops->proto); in dsa_switch_change_tag_proto() 597 dsa_port_set_tag_protocol(dsa_to_port(ds, port), tag_ops); in dsa_switch_change_tag_proto()
|
D | port.c | 953 const struct dsa_device_ops *tag_ops) in dsa_port_set_tag_protocol() argument 955 cpu_dp->rcv = tag_ops->rcv; in dsa_port_set_tag_protocol() 956 cpu_dp->tag_ops = tag_ops; in dsa_port_set_tag_protocol()
|
D | slave.c | 1640 new_master_mtu = largest_mtu + dsa_tag_protocol_overhead(cpu_dp->tag_ops); in dsa_slave_change_mtu() 1677 dsa_tag_protocol_overhead(cpu_dp->tag_ops), in dsa_slave_change_mtu() 1739 path->dsa.proto = cpu_dp->tag_ops->proto; in dsa_slave_fill_forward_path() 1875 slave->needed_headroom = cpu_dp->tag_ops->needed_headroom; in dsa_slave_setup_tagger() 1876 slave->needed_tailroom = cpu_dp->tag_ops->needed_tailroom; in dsa_slave_setup_tagger() 1884 p->xmit = cpu_dp->tag_ops->xmit; in dsa_slave_setup_tagger()
|
/Linux-v5.15/include/net/ |
D | dsa.h | 131 const struct dsa_device_ops *tag_ops; member 233 const struct dsa_device_ops *tag_ops; member 1011 const struct dsa_device_ops *ops = skb->dev->dsa_ptr->tag_ops; in dsa_tag_generic_flow_dissect()
|
/Linux-v5.15/drivers/net/ethernet/mediatek/ |
D | mtk_ppe_offload.c | 139 if (dp->cpu_dp->tag_ops->proto != DSA_TAG_PROTO_MTK) in mtk_flow_get_dsa_port()
|
/Linux-v5.15/net/core/ |
D | flow_dissector.c | 945 ops = skb->dev->dsa_ptr->tag_ops; in __skb_flow_dissect()
|