Searched refs:send_tx_tstamp_msg (Results 1 – 1 of 1) sorted by relevance
618 struct virtchnl2_ptp_get_vport_tx_tstamp_latches *send_tx_tstamp_msg; in idpf_ptp_get_tx_tstamp() local635 size = struct_size(send_tx_tstamp_msg, tstamp_latches, in idpf_ptp_get_tx_tstamp()637 send_tx_tstamp_msg = kzalloc(size, GFP_KERNEL); in idpf_ptp_get_tx_tstamp()638 if (!send_tx_tstamp_msg) in idpf_ptp_get_tx_tstamp()653 send_tx_tstamp_msg->tstamp_latches[id].index = idx; in idpf_ptp_get_tx_tstamp()658 msg_size = struct_size(send_tx_tstamp_msg, tstamp_latches, id); in idpf_ptp_get_tx_tstamp()659 send_tx_tstamp_msg->vport_id = cpu_to_le32(vport->vport_id); in idpf_ptp_get_tx_tstamp()660 send_tx_tstamp_msg->num_latches = cpu_to_le16(id); in idpf_ptp_get_tx_tstamp()661 xn_params.send_buf.iov_base = send_tx_tstamp_msg; in idpf_ptp_get_tx_tstamp()665 kfree(send_tx_tstamp_msg); in idpf_ptp_get_tx_tstamp()
Completed in 6 milliseconds