Home
last modified time | relevance | path

Searched refs:txtime (Results 1 – 10 of 10) sorted by relevance

/Linux-v6.1/tools/testing/selftests/net/
Dcmsg_sender.c63 } 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 …]
/Linux-v6.1/net/sched/
Dsch_etf.c78 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()
Dsch_taprio.c197 ktime_t earliest_txtime = KTIME_MAX, txtime, cycle, transmit_end_time; in find_entry_to_transmit() local
231 txtime = entry->next_txtime; in find_entry_to_transmit()
233 if (ktime_before(txtime, time) || validate_interval) { in find_entry_to_transmit()
251 } else if (ktime_before(txtime, earliest_txtime) && in find_entry_to_transmit()
253 earliest_txtime = txtime; in find_entry_to_transmit()
255 n = div_s64(ktime_sub(txtime, curr_intv_start), cycle); in find_entry_to_transmit()
350 ktime_t minimum_time, now, txtime; in get_packet_txtime() local
369 txtime = minimum_time; in get_packet_txtime()
384 txtime = 0; in get_packet_txtime()
388 txtime = entry->next_txtime; in get_packet_txtime()
[all …]
/Linux-v6.1/tools/testing/selftests/net/forwarding/
Dtsn_lib.sh235 --txtime \
/Linux-v6.1/drivers/net/ethernet/sfc/siena/
Dptp.c1109 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()
/Linux-v6.1/drivers/net/ethernet/sfc/
Dptp.c1141 MCDI_DECLARE_BUF(txtime, MC_CMD_PTP_OUT_TRANSMIT_LEN); in efx_ptp_xmit_skb_mc()
1164 txtime, sizeof(txtime), &len); in efx_ptp_xmit_skb_mc()
1170 MCDI_DWORD(txtime, PTP_OUT_TRANSMIT_MAJOR), in efx_ptp_xmit_skb_mc()
1171 MCDI_DWORD(txtime, PTP_OUT_TRANSMIT_MINOR), in efx_ptp_xmit_skb_mc()
/Linux-v6.1/drivers/net/ethernet/freescale/
Dgianfar_ethtool.c255 unsigned long txtime; in gfar_gcoalesce() local
269 txtime = get_ictt_value(tx_queue->txic); in gfar_gcoalesce()
274 cvals->tx_coalesce_usecs = gfar_ticks2usecs(priv, txtime); in gfar_gcoalesce()
/Linux-v6.1/net/core/
Dsock.c1599 struct sock_txtime txtime; in sk_getsockopt() member
1905 lv = sizeof(v.txtime); in sk_getsockopt()
1906 v.txtime.clockid = sk->sk_clockid; in sk_getsockopt()
1907 v.txtime.flags |= sk->sk_txtime_deadline_mode ? in sk_getsockopt()
1909 v.txtime.flags |= sk->sk_txtime_report_errors ? in sk_getsockopt()
/Linux-v6.1/drivers/net/wireless/mediatek/mt76/mt7603/
Dmac.c454 u32 txtime = airtime[qidx]; in mt7603_mac_sta_poll() local
456 if (!txtime) in mt7603_mac_sta_poll()
459 ieee80211_sta_register_airtime(sta, tid, txtime, 0); in mt7603_mac_sta_poll()
/Linux-v6.1/drivers/net/ethernet/intel/igc/
Digc_main.c1003 static __le32 igc_tx_launchtime(struct igc_adapter *adapter, ktime_t txtime) in igc_tx_launchtime() argument
1015 div_s64_rem(ktime_sub_ns(txtime, base_time), cycle_time, &launchtime); in igc_tx_launchtime()
1049 ktime_t txtime = first->skb->tstamp; in igc_tx_ctxtdesc() local
1053 txtime); in igc_tx_ctxtdesc()