Lines Matching refs:cls

1369 				 struct tc_cls_matchall_offload *cls,  in dsa_user_add_cls_matchall_mirred()  argument
1372 struct netlink_ext_ack *extack = cls->common.extack; in dsa_user_add_cls_matchall_mirred()
1382 if (cls->common.protocol != htons(ETH_P_ALL)) { in dsa_user_add_cls_matchall_mirred()
1394 if (!flow_action_basic_hw_stats_check(&cls->rule->action, extack)) in dsa_user_add_cls_matchall_mirred()
1397 act = &cls->rule->action.entries[0]; in dsa_user_add_cls_matchall_mirred()
1405 if (cls->common.skip_sw) { in dsa_user_add_cls_matchall_mirred()
1419 if (cls->common.skip_sw) { in dsa_user_add_cls_matchall_mirred()
1437 mall_tc_entry->cookie = cls->cookie; in dsa_user_add_cls_matchall_mirred()
1456 struct tc_cls_matchall_offload *cls, in dsa_user_add_cls_matchall_police() argument
1459 struct netlink_ext_ack *extack = cls->common.extack; in dsa_user_add_cls_matchall_police()
1480 if (!flow_action_basic_hw_stats_check(&cls->rule->action, extack)) in dsa_user_add_cls_matchall_police()
1491 act = &cls->rule->action.entries[0]; in dsa_user_add_cls_matchall_police()
1497 mall_tc_entry->cookie = cls->cookie; in dsa_user_add_cls_matchall_police()
1515 struct tc_cls_matchall_offload *cls, in dsa_user_add_cls_matchall() argument
1518 const struct flow_action *action = &cls->rule->action; in dsa_user_add_cls_matchall()
1519 struct netlink_ext_ack *extack = cls->common.extack; in dsa_user_add_cls_matchall()
1529 return dsa_user_add_cls_matchall_mirred(dev, cls, ingress, in dsa_user_add_cls_matchall()
1532 return dsa_user_add_cls_matchall_mirred(dev, cls, ingress, in dsa_user_add_cls_matchall()
1535 return dsa_user_add_cls_matchall_police(dev, cls, ingress); in dsa_user_add_cls_matchall()
1545 struct tc_cls_matchall_offload *cls) in dsa_user_del_cls_matchall() argument
1551 mall_tc_entry = dsa_user_mall_tc_entry_find(dev, cls->cookie); in dsa_user_del_cls_matchall()
1575 struct tc_cls_matchall_offload *cls, in dsa_user_setup_tc_cls_matchall() argument
1578 if (cls->common.chain_index) in dsa_user_setup_tc_cls_matchall()
1581 switch (cls->command) { in dsa_user_setup_tc_cls_matchall()
1583 return dsa_user_add_cls_matchall(dev, cls, ingress); in dsa_user_setup_tc_cls_matchall()
1585 dsa_user_del_cls_matchall(dev, cls); in dsa_user_setup_tc_cls_matchall()
1593 struct flow_cls_offload *cls, in dsa_user_add_cls_flower() argument
1603 return ds->ops->cls_flower_add(ds, port, cls, ingress); in dsa_user_add_cls_flower()
1607 struct flow_cls_offload *cls, in dsa_user_del_cls_flower() argument
1617 return ds->ops->cls_flower_del(ds, port, cls, ingress); in dsa_user_del_cls_flower()
1621 struct flow_cls_offload *cls, in dsa_user_stats_cls_flower() argument
1631 return ds->ops->cls_flower_stats(ds, port, cls, ingress); in dsa_user_stats_cls_flower()
1635 struct flow_cls_offload *cls, in dsa_user_setup_tc_cls_flower() argument
1638 switch (cls->command) { in dsa_user_setup_tc_cls_flower()
1640 return dsa_user_add_cls_flower(dev, cls, ingress); in dsa_user_setup_tc_cls_flower()
1642 return dsa_user_del_cls_flower(dev, cls, ingress); in dsa_user_setup_tc_cls_flower()
1644 return dsa_user_stats_cls_flower(dev, cls, ingress); in dsa_user_setup_tc_cls_flower()