/openbmc/linux/tools/testing/selftests/net/ |
H A D | cmsg_sender.c | 63 } txtime; member 150 opt.txtime.ena = true; in cs_parse_args() 151 opt.txtime.delay = atoi(optarg); in cs_parse_args() 254 if (opt.txtime.ena) { in cs_write_cmsg() 258 __u64 txtime; in cs_write_cmsg() local 264 txtime = time_start_mono.tv_sec * (1000ULL * 1000 * 1000) + in cs_write_cmsg() 266 opt.txtime.delay * 1000; in cs_write_cmsg() 269 cmsg_len += CMSG_SPACE(sizeof(txtime)); in cs_write_cmsg() 275 cmsg->cmsg_len = CMSG_LEN(sizeof(txtime)); in cs_write_cmsg() 276 memcpy(CMSG_DATA(cmsg), &txtime, sizeof(txtime)); in cs_write_cmsg() [all …]
|
/openbmc/linux/net/sched/ |
H A D | sch_etf.c | 78 ktime_t txtime = nskb->tstamp; in is_packet_valid() local 102 if (ktime_before(txtime, now) || ktime_before(txtime, q->last)) in is_packet_valid() 139 ktime_t txtime = skb->tstamp; in report_sock_error() local 155 serr->ee.ee_data = (txtime >> 32); /* high part of tstamp */ in report_sock_error() 156 serr->ee.ee_info = txtime; /* low part of tstamp */ in report_sock_error() 167 ktime_t txtime = nskb->tstamp; in etf_enqueue_timesortedlist() local 181 if (ktime_compare(txtime, skb->tstamp) >= 0) { in etf_enqueue_timesortedlist()
|
H A D | sch_taprio.c | 360 txtime = entry->next_txtime; in find_entry_to_transmit() 380 } else if (ktime_before(txtime, earliest_txtime) && in find_entry_to_transmit() 382 earliest_txtime = txtime; in find_entry_to_transmit() 479 ktime_t minimum_time, now, txtime; in get_packet_txtime() local 498 txtime = minimum_time; in get_packet_txtime() 513 txtime = 0; in get_packet_txtime() 517 txtime = entry->next_txtime; in get_packet_txtime() 518 txtime = max_t(ktime_t, txtime, minimum_time); in get_packet_txtime() 519 txtime = max_t(ktime_t, txtime, interval_start); in get_packet_txtime() 522 ktime_after(txtime, admin->base_time)) { in get_packet_txtime() [all …]
|
/openbmc/linux/tools/testing/selftests/net/forwarding/ |
H A D | tsn_lib.sh | 235 --txtime \
|
/openbmc/linux/drivers/net/ethernet/sfc/ |
H A D | ptp.c | 1118 MCDI_DECLARE_BUF(txtime, MC_CMD_PTP_OUT_TRANSMIT_LEN); in efx_ptp_xmit_skb_mc() 1144 txtime, sizeof(txtime), &len); in efx_ptp_xmit_skb_mc() 1150 MCDI_DWORD(txtime, PTP_OUT_TRANSMIT_MAJOR), in efx_ptp_xmit_skb_mc() 1151 MCDI_DWORD(txtime, PTP_OUT_TRANSMIT_MINOR), in efx_ptp_xmit_skb_mc()
|
/openbmc/linux/drivers/net/ethernet/sfc/siena/ |
H A D | ptp.c | 1109 MCDI_DECLARE_BUF(txtime, MC_CMD_PTP_OUT_TRANSMIT_LEN); in efx_ptp_xmit_skb_mc() 1131 MC_CMD_PTP_IN_TRANSMIT_LEN(skb->len), txtime, in efx_ptp_xmit_skb_mc() 1132 sizeof(txtime), &len); in efx_ptp_xmit_skb_mc() 1138 MCDI_DWORD(txtime, PTP_OUT_TRANSMIT_MAJOR), in efx_ptp_xmit_skb_mc() 1139 MCDI_DWORD(txtime, PTP_OUT_TRANSMIT_MINOR), in efx_ptp_xmit_skb_mc()
|
/openbmc/linux/drivers/net/ethernet/freescale/ |
H A D | gianfar_ethtool.c | 257 unsigned long txtime; in gfar_gcoalesce() local 271 txtime = get_ictt_value(tx_queue->txic); in gfar_gcoalesce() 276 cvals->tx_coalesce_usecs = gfar_ticks2usecs(priv, txtime); in gfar_gcoalesce()
|
/openbmc/linux/net/core/ |
H A D | sock.c | 1618 struct sock_txtime txtime; in sk_getsockopt() member 1973 lv = sizeof(v.txtime); in sk_getsockopt() 1974 v.txtime.clockid = sk->sk_clockid; in sk_getsockopt() 1975 v.txtime.flags |= sk->sk_txtime_deadline_mode ? in sk_getsockopt() 1977 v.txtime.flags |= sk->sk_txtime_report_errors ? in sk_getsockopt()
|
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt7603/ |
H A D | mac.c | 465 u32 txtime = airtime[qidx]; in mt7603_mac_sta_poll() local 467 if (!txtime) in mt7603_mac_sta_poll() 470 ieee80211_sta_register_airtime(sta, tid, txtime, 0); in mt7603_mac_sta_poll()
|
/openbmc/linux/drivers/net/ethernet/intel/igc/ |
H A D | igc_main.c | 1038 static __le32 igc_tx_launchtime(struct igc_ring *ring, ktime_t txtime, in igc_tx_launchtime() argument 1054 if (ktime_compare(txtime, end_of_cycle) >= 0) { in igc_tx_launchtime() 1071 txtime); in igc_tx_launchtime() 1075 launchtime = ktime_sub_ns(txtime, baset_est); in igc_tx_launchtime() 1578 ktime_t txtime; in igc_xmit_frame_ring() local 1600 txtime = skb->tstamp; in igc_xmit_frame_ring() 1602 launch_time = igc_tx_launchtime(tx_ring, txtime, &first_flag, &insert_empty); in igc_xmit_frame_ring()
|