Searched refs:send_tx_tstamp_msg (Results 1 – 1 of 1) sorted by relevance
622 struct virtchnl2_ptp_get_vport_tx_tstamp_latches *send_tx_tstamp_msg; in idpf_ptp_get_tx_tstamp() local639 size = struct_size(send_tx_tstamp_msg, tstamp_latches, in idpf_ptp_get_tx_tstamp()641 send_tx_tstamp_msg = kzalloc(size, GFP_KERNEL); in idpf_ptp_get_tx_tstamp()642 if (!send_tx_tstamp_msg) in idpf_ptp_get_tx_tstamp()657 send_tx_tstamp_msg->tstamp_latches[id].index = idx; in idpf_ptp_get_tx_tstamp()662 msg_size = struct_size(send_tx_tstamp_msg, tstamp_latches, id); in idpf_ptp_get_tx_tstamp()663 send_tx_tstamp_msg->vport_id = cpu_to_le32(vport->vport_id); in idpf_ptp_get_tx_tstamp()664 send_tx_tstamp_msg->num_latches = cpu_to_le16(id); in idpf_ptp_get_tx_tstamp()665 xn_params.send_buf.iov_base = send_tx_tstamp_msg; in idpf_ptp_get_tx_tstamp()669 kfree(send_tx_tstamp_msg); in idpf_ptp_get_tx_tstamp()