Lines Matching refs:cls
758 struct tc_cls_matchall_offload *cls, in dsa_slave_add_cls_matchall() argument
764 __be16 protocol = cls->common.protocol; in dsa_slave_add_cls_matchall()
774 if (!tcf_exts_has_one_action(cls->exts)) in dsa_slave_add_cls_matchall()
777 a = tcf_exts_first_action(cls->exts); in dsa_slave_add_cls_matchall()
793 mall_tc_entry->cookie = cls->cookie; in dsa_slave_add_cls_matchall()
815 struct tc_cls_matchall_offload *cls) in dsa_slave_del_cls_matchall() argument
824 mall_tc_entry = dsa_slave_mall_tc_entry_find(dev, cls->cookie); in dsa_slave_del_cls_matchall()
842 struct tc_cls_matchall_offload *cls, in dsa_slave_setup_tc_cls_matchall() argument
845 if (cls->common.chain_index) in dsa_slave_setup_tc_cls_matchall()
848 switch (cls->command) { in dsa_slave_setup_tc_cls_matchall()
850 return dsa_slave_add_cls_matchall(dev, cls, ingress); in dsa_slave_setup_tc_cls_matchall()
852 dsa_slave_del_cls_matchall(dev, cls); in dsa_slave_setup_tc_cls_matchall()