Searched refs:tag_ops (Results 1 – 5 of 5) sorted by relevance
368 dsa_tag_driver_put(dp->tag_ops); in dsa_port_teardown()734 const struct dsa_device_ops *tag_ops; in dsa_port_parse_cpu() local738 tag_ops = dsa_tag_driver_get(tag_protocol); in dsa_port_parse_cpu()739 if (IS_ERR(tag_ops)) { in dsa_port_parse_cpu()740 if (PTR_ERR(tag_ops) == -ENOPROTOOPT) in dsa_port_parse_cpu()744 return PTR_ERR(tag_ops); in dsa_port_parse_cpu()749 dp->filter = tag_ops->filter; in dsa_port_parse_cpu()750 dp->rcv = tag_ops->rcv; in dsa_port_parse_cpu()751 dp->tag_ops = tag_ops; in dsa_port_parse_cpu()
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()325 ret = dev_set_mtu(dev, ETH_DATA_LEN + cpu_dp->tag_ops->overhead); in dsa_master_setup()
1524 new_master_mtu = largest_mtu + cpu_dp->tag_ops->overhead; in dsa_slave_change_mtu()1560 cpu_dp->tag_ops->overhead, in dsa_slave_change_mtu()1829 if (cpu_dp->tag_ops->tail_tag) in dsa_slave_create()1830 slave_dev->needed_tailroom = cpu_dp->tag_ops->overhead; in dsa_slave_create()1832 slave_dev->needed_headroom = cpu_dp->tag_ops->overhead; in dsa_slave_create()1861 p->xmit = cpu_dp->tag_ops->xmit; in dsa_slave_create()
192 const struct dsa_device_ops *tag_ops; member762 const struct dsa_device_ops *ops = skb->dev->dsa_ptr->tag_ops; in dsa_tag_generic_flow_dissect()
936 ops = skb->dev->dsa_ptr->tag_ops; in __skb_flow_dissect()