Lines Matching refs:proto_ops
606 const struct felix_tag_proto_ops *proto_ops, in felix_migrate_host_flood() argument
618 mask = proto_ops->get_host_fwd_mask(ds); in felix_migrate_host_flood()
624 const struct felix_tag_proto_ops *proto_ops, in felix_migrate_mdbs() argument
634 to = proto_ops->get_host_fwd_mask(ds); in felix_migrate_mdbs()
646 const struct felix_tag_proto_ops *proto_ops, in felix_tag_proto_setup_shared() argument
649 bool using_tag_8021q = (proto_ops == &felix_tag_8021q_proto_ops); in felix_tag_proto_setup_shared()
652 err = felix_migrate_mdbs(ds, proto_ops, old_proto_ops); in felix_tag_proto_setup_shared()
658 felix_migrate_host_flood(ds, proto_ops, old_proto_ops); in felix_tag_proto_setup_shared()
670 const struct felix_tag_proto_ops *old_proto_ops, *proto_ops; in felix_change_tag_protocol() local
678 proto_ops = &felix_tag_npi_proto_ops; in felix_change_tag_protocol()
681 proto_ops = &felix_tag_8021q_proto_ops; in felix_change_tag_protocol()
689 if (proto_ops == old_proto_ops) in felix_change_tag_protocol()
692 err = proto_ops->setup(ds); in felix_change_tag_protocol()
696 err = felix_tag_proto_setup_shared(ds, proto_ops, old_proto_ops); in felix_change_tag_protocol()
703 felix->tag_proto_ops = proto_ops; in felix_change_tag_protocol()
709 proto_ops->teardown(ds); in felix_change_tag_protocol()