Lines Matching refs:cls
197 struct flow_cls_offload *cls, in sja1105_flower_parse_key() argument
200 struct flow_rule *rule = flow_cls_offload_flow_rule(cls); in sja1105_flower_parse_key()
304 struct flow_cls_offload *cls, bool ingress) in sja1105_cls_flower_add() argument
306 struct flow_rule *rule = flow_cls_offload_flow_rule(cls); in sja1105_cls_flower_add()
307 struct netlink_ext_ack *extack = cls->common.extack; in sja1105_cls_flower_add()
310 unsigned long cookie = cls->cookie; in sja1105_cls_flower_add()
317 rc = sja1105_flower_parse_key(priv, extack, cls, &key); in sja1105_cls_flower_add()
423 struct flow_cls_offload *cls, bool ingress) in sja1105_cls_flower_del() argument
426 struct sja1105_rule *rule = sja1105_rule_find(priv, cls->cookie); in sja1105_cls_flower_del()
434 return sja1105_vl_delete(priv, port, rule, cls->common.extack); in sja1105_cls_flower_del()
463 struct flow_cls_offload *cls, bool ingress) in sja1105_cls_flower_stats() argument
466 struct sja1105_rule *rule = sja1105_rule_find(priv, cls->cookie); in sja1105_cls_flower_stats()
475 rc = sja1105_vl_stats(priv, port, rule, &cls->stats, in sja1105_cls_flower_stats()
476 cls->common.extack); in sja1105_cls_flower_stats()