Lines Matching refs:cmsg_payload

236 	struct nfp_flower_cmsg_lag_config *cmsg_payload;  in nfp_fl_lag_config_group()  local
243 size = sizeof(*cmsg_payload) + sizeof(__be32) * member_cnt; in nfp_fl_lag_config_group()
250 cmsg_payload = nfp_flower_cmsg_get_data(skb); in nfp_fl_lag_config_group()
272 cmsg_payload->group_id = cpu_to_be32(NFP_FL_LAG_SYNC_ID); in nfp_fl_lag_config_group()
273 cmsg_payload->group_inst = 0; in nfp_fl_lag_config_group()
275 cmsg_payload->group_id = cpu_to_be32(group->group_id); in nfp_fl_lag_config_group()
276 cmsg_payload->group_inst = cpu_to_be32(group->group_inst); in nfp_fl_lag_config_group()
279 cmsg_payload->reserved[0] = 0; in nfp_fl_lag_config_group()
280 cmsg_payload->reserved[1] = 0; in nfp_fl_lag_config_group()
281 cmsg_payload->ttl = NFP_FL_LAG_HOST_TTL; in nfp_fl_lag_config_group()
282 cmsg_payload->ctrl_flags = flags; in nfp_fl_lag_config_group()
283 cmsg_payload->batch_ver = cpu_to_be32(lag->batch_ver); in nfp_fl_lag_config_group()
284 cmsg_payload->pkt_number = cpu_to_be32(nfp_fl_get_next_pkt_number(lag)); in nfp_fl_lag_config_group()
287 cmsg_payload->members[i] = in nfp_fl_lag_config_group()
419 struct nfp_flower_cmsg_lag_config *cmsg_payload; in nfp_fl_lag_put_unprocessed() local
421 cmsg_payload = nfp_flower_cmsg_get_data(skb); in nfp_fl_lag_put_unprocessed()
422 if (be32_to_cpu(cmsg_payload->group_id) > NFP_FL_LAG_GROUP_MAX) in nfp_fl_lag_put_unprocessed()
450 struct nfp_flower_cmsg_lag_config *cmsg_payload; in nfp_flower_lag_unprocessed_msg() local
457 cmsg_payload = nfp_flower_cmsg_get_data(skb); in nfp_flower_lag_unprocessed_msg()
458 flags = cmsg_payload->ctrl_flags; in nfp_flower_lag_unprocessed_msg()