Lines Matching refs:a_len
795 int *a_len, struct nfp_flower_pedit_acts *set_act, in nfp_fl_commit_mangle() argument
811 *a_len += act_size; in nfp_fl_commit_mangle()
818 *a_len += act_size; in nfp_fl_commit_mangle()
829 *a_len += act_size; in nfp_fl_commit_mangle()
840 *a_len += act_size; in nfp_fl_commit_mangle()
854 *a_len += act_size; in nfp_fl_commit_mangle()
859 *a_len += act_size; in nfp_fl_commit_mangle()
867 *a_len += act_size; in nfp_fl_commit_mangle()
875 *a_len += act_size; in nfp_fl_commit_mangle()
884 *a_len += act_size; in nfp_fl_commit_mangle()
895 char *nfp_action, int *a_len, in nfp_fl_pedit() argument
945 struct nfp_fl_payload *nfp_fl, int *a_len, in nfp_flower_meter_action() argument
952 if (*a_len + sizeof(struct nfp_fl_meter) > NFP_FL_MAX_A_SIZ) { in nfp_flower_meter_action()
965 fl_meter = nfp_fl_meter(&nfp_fl->action_data[*a_len]); in nfp_flower_meter_action()
966 *a_len += sizeof(struct nfp_fl_meter); in nfp_flower_meter_action()
975 struct nfp_fl_payload *nfp_fl, int *a_len, in nfp_flower_output_action() argument
993 if (*a_len + sizeof(struct nfp_fl_output) > NFP_FL_MAX_A_SIZ) { in nfp_flower_output_action()
998 output = (struct nfp_fl_output *)&nfp_fl->action_data[*a_len]; in nfp_flower_output_action()
1004 *a_len += sizeof(struct nfp_fl_output); in nfp_flower_output_action()
1010 prelag_size = nfp_fl_pre_lag(app, act, nfp_fl, *a_len, extack); in nfp_flower_output_action()
1018 *a_len += prelag_size; in nfp_flower_output_action()
1028 struct nfp_fl_payload *nfp_fl, int *a_len, in nfp_flower_loop_action() argument
1051 err = nfp_flower_output_action(app, act, nfp_fl, a_len, netdev, in nfp_flower_loop_action()
1060 err = nfp_flower_output_action(app, act, nfp_fl, a_len, netdev, in nfp_flower_loop_action()
1068 if (*a_len + in nfp_flower_loop_action()
1074 pop_v = (struct nfp_fl_pop_vlan *)&nfp_fl->action_data[*a_len]; in nfp_flower_loop_action()
1078 *a_len += sizeof(struct nfp_fl_pop_vlan); in nfp_flower_loop_action()
1081 if (*a_len + in nfp_flower_loop_action()
1087 psh_v = (struct nfp_fl_push_vlan *)&nfp_fl->action_data[*a_len]; in nfp_flower_loop_action()
1091 *a_len += sizeof(struct nfp_fl_push_vlan); in nfp_flower_loop_action()
1111 if (*a_len + sizeof(struct nfp_fl_pre_tunnel) + in nfp_flower_loop_action()
1117 pre_tun = nfp_fl_pre_tunnel(nfp_fl->action_data, *a_len); in nfp_flower_loop_action()
1119 *a_len += sizeof(struct nfp_fl_pre_tunnel); in nfp_flower_loop_action()
1121 err = nfp_fl_push_geneve_options(nfp_fl, a_len, act, extack); in nfp_flower_loop_action()
1125 set_tun = (void *)&nfp_fl->action_data[*a_len]; in nfp_flower_loop_action()
1130 *a_len += sizeof(struct nfp_fl_set_tun); in nfp_flower_loop_action()
1137 if (nfp_fl_pedit(act, &nfp_fl->action_data[*a_len], in nfp_flower_loop_action()
1138 a_len, csum_updated, set_act, extack)) in nfp_flower_loop_action()
1153 if (*a_len + in nfp_flower_loop_action()
1159 psh_m = (struct nfp_fl_push_mpls *)&nfp_fl->action_data[*a_len]; in nfp_flower_loop_action()
1165 *a_len += sizeof(struct nfp_fl_push_mpls); in nfp_flower_loop_action()
1168 if (*a_len + in nfp_flower_loop_action()
1174 pop_m = (struct nfp_fl_pop_mpls *)&nfp_fl->action_data[*a_len]; in nfp_flower_loop_action()
1178 *a_len += sizeof(struct nfp_fl_pop_mpls); in nfp_flower_loop_action()
1181 if (*a_len + in nfp_flower_loop_action()
1187 set_m = (struct nfp_fl_set_mpls *)&nfp_fl->action_data[*a_len]; in nfp_flower_loop_action()
1191 *a_len += sizeof(struct nfp_fl_set_mpls); in nfp_flower_loop_action()
1207 err = nfp_flower_meter_action(app, act, nfp_fl, a_len, netdev, in nfp_flower_loop_action()