Lines Matching refs:cls

29 					     struct tc_cls_u32_offload *cls,
33 u32 loc = cls->knode.handle;
59 struct tc_cls_u32_offload *cls)
66 exts = cls->knode.exts;
92 struct tc_cls_u32_offload *cls)
95 struct tc_u32_sel *sel = cls->knode.sel;
97 u32 prio = cls->common.prio << 16;
108 switch (ntohs(cls->common.protocol)) {
124 entry = tc_find_entry(priv, cls, true);
129 frag = tc_find_entry(priv, cls, true);
158 ret = tc_fill_actions(entry, frag, cls);
172 struct tc_cls_u32_offload *cls)
176 entry = tc_find_entry(priv, cls, false);
189 struct tc_cls_u32_offload *cls)
193 ret = tc_fill_entry(priv, cls);
205 tc_unfill_entry(priv, cls);
210 struct tc_cls_u32_offload *cls)
213 tc_unfill_entry(priv, cls);
220 struct tc_cls_u32_offload *cls)
222 switch (cls->command) {
224 tc_unfill_entry(priv, cls);
227 return tc_config_knode(priv, cls);
229 return tc_delete_knode(priv, cls);
459 struct flow_cls_offload *cls,
462 struct flow_rule *rule = flow_cls_offload_flow_rule(cls);
477 struct flow_cls_offload *cls,
480 struct flow_rule *rule = flow_cls_offload_flow_rule(cls);
512 struct flow_cls_offload *cls,
515 struct flow_rule *rule = flow_cls_offload_flow_rule(cls);
561 struct flow_cls_offload *cls,
569 if (entry->cookie == cls->cookie)
579 int (*fn)(struct stmmac_priv *priv, struct flow_cls_offload *cls,
588 struct flow_cls_offload *cls)
590 struct stmmac_flow_entry *entry = tc_find_flow(priv, cls, false);
591 struct flow_rule *rule = flow_cls_offload_flow_rule(cls);
595 entry = tc_find_flow(priv, cls, true);
601 cls->common.extack);
606 ret = tc_flow_parsers[i].fn(priv, cls, entry);
614 entry->cookie = cls->cookie;
619 struct flow_cls_offload *cls)
621 struct stmmac_flow_entry *entry = tc_find_flow(priv, cls, false);
642 struct flow_cls_offload *cls,
650 if (entry->cookie == cls->cookie)
662 struct flow_cls_offload *cls)
664 struct stmmac_rfs_entry *entry = tc_find_rfs(priv, cls, false);
665 struct flow_rule *rule = flow_cls_offload_flow_rule(cls);
667 int tc = tc_classid_to_hwtc(priv->dev, cls->classid);
671 entry = tc_find_rfs(priv, cls, true);
703 entry->cookie = cls->cookie;
713 struct flow_cls_offload *cls)
715 struct stmmac_rfs_entry *entry = tc_find_rfs(priv, cls, false);
733 struct flow_cls_offload *cls)
735 struct stmmac_rfs_entry *entry = tc_find_rfs(priv, cls, false);
736 struct flow_rule *rule = flow_cls_offload_flow_rule(cls);
738 int tc = tc_classid_to_hwtc(priv->dev, cls->classid);
742 entry = tc_find_rfs(priv, cls, true);
794 entry->cookie = cls->cookie;
805 struct flow_cls_offload *cls)
807 struct stmmac_rfs_entry *entry = tc_find_rfs(priv, cls, false);
841 struct flow_cls_offload *cls)
845 ret = tc_add_flow(priv, cls);
849 ret = tc_add_ethtype_flow(priv, cls);
853 return tc_add_vlan_flow(priv, cls);
857 struct flow_cls_offload *cls)
861 ret = tc_del_flow(priv, cls);
865 ret = tc_del_ethtype_flow(priv, cls);
869 return tc_del_vlan_flow(priv, cls);
873 struct flow_cls_offload *cls)
881 switch (cls->command) {
883 ret = tc_add_flow_cls(priv, cls);
886 ret = tc_del_flow_cls(priv, cls);