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