Home
last modified time | relevance | path

Searched refs:pkt_start (Results 1 – 5 of 5) sorted by relevance

/linux/tools/testing/selftests/drivers/net/lib/py/
H A Dload.py49 pkt_start = ip("-s link show dev " + self.env.ifname, json=True)[0]["stats64"]["rx"]["packets"]
54 if pkt_now - pkt_start > pps / 10:
56 pkt_start = pkt_now
58 if pkt_now - pkt_start > pkt_cnt:
/linux/drivers/net/usb/
H A Dcatc.c215 u8 *pkt_start = urb->transfer_buffer; in catc_rx_done() local
233 pkt_len = le16_to_cpup((__le16*)pkt_start); in catc_rx_done()
246 skb_copy_to_linear_data(skb, pkt_start + pkt_offset, pkt_len); in catc_rx_done()
258 pkt_start += (((pkt_len + 1) >> 6) + 1) << 6; in catc_rx_done()
260 } while (pkt_start - (u8 *) urb->transfer_buffer < urb->actual_length); in catc_rx_done()
/linux/tools/testing/selftests/bpf/progs/
H A Dtest_l4lb_noinline.c324 void *pkt_start = (void *)(long)skb->data; in process_packet() local
326 struct eth_hdr *eth = pkt_start; in process_packet()
H A Dtest_l4lb.c325 void *pkt_start = (void *)(long)skb->data; in process_packet() local
327 struct eth_hdr *eth = pkt_start; in process_packet()
/linux/drivers/net/ethernet/myricom/myri10ge/
H A Dmyri10ge.c148 int pkt_start; /* packets started */ member
1053 ss->tx.pkt_start = 0; in myri10ge_reset()
1840 data[i++] = (unsigned int)ss->tx.pkt_start; in myri10ge_get_ethtool_stats()
2861 tx->pkt_start++; in myri10ge_xmit()
3360 ss->tx.done, ss->tx.pkt_start, in myri10ge_check_slice()