Lines Matching refs:f

6 				   struct tc_cls_matchall_offload *f,  in lan966x_tc_matchall_add()  argument
11 if (!flow_offload_has_one_action(&f->rule->action)) { in lan966x_tc_matchall_add()
12 NL_SET_ERR_MSG_MOD(f->common.extack, in lan966x_tc_matchall_add()
17 act = &f->rule->action.entries[0]; in lan966x_tc_matchall_add()
20 return lan966x_police_port_add(port, &f->rule->action, act, in lan966x_tc_matchall_add()
21 f->cookie, ingress, in lan966x_tc_matchall_add()
22 f->common.extack); in lan966x_tc_matchall_add()
24 return lan966x_mirror_port_add(port, act, f->cookie, in lan966x_tc_matchall_add()
25 ingress, f->common.extack); in lan966x_tc_matchall_add()
27 return lan966x_goto_port_add(port, f->common.chain_index, in lan966x_tc_matchall_add()
28 act->chain_index, f->cookie, in lan966x_tc_matchall_add()
29 f->common.extack); in lan966x_tc_matchall_add()
31 NL_SET_ERR_MSG_MOD(f->common.extack, in lan966x_tc_matchall_add()
40 struct tc_cls_matchall_offload *f, in lan966x_tc_matchall_del() argument
43 if (f->cookie == port->tc.police_id) { in lan966x_tc_matchall_del()
44 return lan966x_police_port_del(port, f->cookie, in lan966x_tc_matchall_del()
45 f->common.extack); in lan966x_tc_matchall_del()
46 } else if (f->cookie == port->tc.ingress_mirror_id || in lan966x_tc_matchall_del()
47 f->cookie == port->tc.egress_mirror_id) { in lan966x_tc_matchall_del()
49 f->common.extack); in lan966x_tc_matchall_del()
51 return lan966x_goto_port_del(port, f->cookie, f->common.extack); in lan966x_tc_matchall_del()
58 struct tc_cls_matchall_offload *f, in lan966x_tc_matchall_stats() argument
61 if (f->cookie == port->tc.police_id) { in lan966x_tc_matchall_stats()
62 lan966x_police_port_stats(port, &f->stats); in lan966x_tc_matchall_stats()
63 } else if (f->cookie == port->tc.ingress_mirror_id || in lan966x_tc_matchall_stats()
64 f->cookie == port->tc.egress_mirror_id) { in lan966x_tc_matchall_stats()
65 lan966x_mirror_port_stats(port, &f->stats, ingress); in lan966x_tc_matchall_stats()
67 NL_SET_ERR_MSG_MOD(f->common.extack, in lan966x_tc_matchall_stats()
76 struct tc_cls_matchall_offload *f, in lan966x_tc_matchall() argument
79 switch (f->command) { in lan966x_tc_matchall()
81 return lan966x_tc_matchall_add(port, f, ingress); in lan966x_tc_matchall()
83 return lan966x_tc_matchall_del(port, f, ingress); in lan966x_tc_matchall()
85 return lan966x_tc_matchall_stats(port, f, ingress); in lan966x_tc_matchall()