Lines Matching refs:proto_ops
604 const struct felix_tag_proto_ops *proto_ops,
616 mask = proto_ops->get_host_fwd_mask(ds);
622 const struct felix_tag_proto_ops *proto_ops,
632 to = proto_ops->get_host_fwd_mask(ds);
638 * @old_proto_ops and @proto_ops.
644 const struct felix_tag_proto_ops *proto_ops,
647 bool using_tag_8021q = (proto_ops == &felix_tag_8021q_proto_ops);
650 err = felix_migrate_mdbs(ds, proto_ops, old_proto_ops);
656 felix_migrate_host_flood(ds, proto_ops, old_proto_ops);
668 const struct felix_tag_proto_ops *old_proto_ops, *proto_ops;
676 proto_ops = &felix_tag_npi_proto_ops;
679 proto_ops = &felix_tag_8021q_proto_ops;
687 if (proto_ops == old_proto_ops)
690 err = proto_ops->setup(ds);
694 err = felix_tag_proto_setup_shared(ds, proto_ops, old_proto_ops);
701 felix->tag_proto_ops = proto_ops;
707 proto_ops->teardown(ds);