Home
last modified time | relevance | path

Searched refs:npkts (Results 1 – 21 of 21) sorted by relevance

/Linux-v6.1/include/trace/events/
Dsunvnet.h37 TP_PROTO(int lsid, int rsid, int ack_end, int npkts),
39 TP_ARGS(lsid, rsid, ack_end, npkts),
45 __field(int, npkts)
52 __entry->npkts = npkts;
57 __entry->ack_end, __entry->npkts)
60 TP_PROTO(int lsid, int rsid, int ack_end, int npkts),
61 TP_ARGS(lsid, rsid, ack_end, npkts));
63 TP_PROTO(int lsid, int rsid, int ack_end, int npkts),
64 TP_ARGS(lsid, rsid, ack_end, npkts));
66 TP_PROTO(int lsid, int rsid, int ack_end, int npkts),
[all …]
/Linux-v6.1/drivers/media/test-drivers/vidtv/
Dvidtv_mux.c349 static u32 vidtv_mux_pad_with_nulls(struct vidtv_mux *m, u32 npkts) in vidtv_mux_pad_with_nulls() argument
365 for (i = 0; i < npkts; ++i) { in vidtv_mux_pad_with_nulls()
373 if (nbytes != npkts * TS_PACKET_LEN) in vidtv_mux_pad_with_nulls()
375 nbytes, npkts * TS_PACKET_LEN); in vidtv_mux_pad_with_nulls()
397 u32 npkts; in vidtv_mux_tick() local
413 npkts = nbytes / TS_PACKET_LEN; in vidtv_mux_tick()
422 npkts); in vidtv_mux_tick()
435 c->block_count.stat[0].uvalue += npkts; in vidtv_mux_tick()
Dvidtv_bridge.c157 static void vidtv_bridge_on_new_pkts_avail(void *priv, u8 *buf, u32 npkts) in vidtv_bridge_on_new_pkts_avail() argument
163 dvb_dmx_swfilter_packets(&dvb->demux, buf, npkts); in vidtv_bridge_on_new_pkts_avail()
/Linux-v6.1/drivers/net/ethernet/fungible/funeth/
Dfuneth_tx.c426 unsigned int npkts = 0, nbytes = 0, ndesc = 0; in fun_txq_reclaim() local
433 head != reclaim_idx && npkts < limit; head = txq_hw_head(q)) { in fun_txq_reclaim()
451 npkts++; in fun_txq_reclaim()
452 } while (reclaim_idx != head && npkts < limit); in fun_txq_reclaim()
456 netdev_tx_completed_queue(q->ndq, npkts, nbytes); in fun_txq_reclaim()
487 unsigned int npkts = 0, ndesc = 0, head, reclaim_idx; in fun_xdpq_clean() local
490 head != reclaim_idx && npkts < budget; head = txq_hw_head(q)) { in fun_xdpq_clean()
507 npkts++; in fun_xdpq_clean()
508 } while (reclaim_idx != head && npkts < budget); in fun_xdpq_clean()
512 return npkts; in fun_xdpq_clean()
/Linux-v6.1/lib/dim/
Ddim.c62 u32 npkts = BIT_GAP(BITS_PER_TYPE(u32), end->pkt_ctr, start->pkt_ctr); in dim_calc_stats() local
71 curr_stats->ppms = DIV_ROUND_UP(npkts * USEC_PER_MSEC, delta_us); in dim_calc_stats()
/Linux-v6.1/drivers/infiniband/hw/hfi1/
Duser_sdma.c407 if (!info.npkts || req->data_iovs > MAX_VECTORS_PER_REQ) { in hfi1_user_sdma_process_request()
496 if (pcount > req->info.npkts) in hfi1_user_sdma_process_request()
497 pcount = req->info.npkts; in hfi1_user_sdma_process_request()
546 if (req->info.npkts > 1 && HFI1_CAP_IS_USET(SDMA_AHG)) in hfi1_user_sdma_process_request()
558 while (req->seqsubmitted != req->info.npkts) { in hfi1_user_sdma_process_request()
583 if (req->seqsubmitted < req->info.npkts) { in hfi1_user_sdma_process_request()
745 unsigned npkts = 0; in user_sdma_send_pkts() local
762 if (unlikely(req->seqnum == req->info.npkts)) { in user_sdma_send_pkts()
768 if (!maxpkts || maxpkts > req->info.npkts - req->seqnum) in user_sdma_send_pkts()
769 maxpkts = req->info.npkts - req->seqnum; in user_sdma_send_pkts()
[all …]
Dtid_rdma.c1351 flow->npkts += (npages + pmtu_pg - 1) >> ilog2(pmtu_pg); in kern_program_rcv_group()
1412 flow->npkts = 0; in kern_program_rcvarray()
1523 flow->flow_state.lpsn = flow->flow_state.spsn + flow->npkts - 1; in hfi1_kern_exp_rcv_setup()
1526 qpriv->flow_state.psn += flow->npkts; in hfi1_kern_exp_rcv_setup()
1798 u32 npkts = rvt_div_round_up_mtu(qp, *len); in hfi1_build_tid_rdma_read_req() local
1839 if ((qpriv->flow_state.psn + npkts) > MAX_TID_FLOW_PSN - 1) { in hfi1_build_tid_rdma_read_req()
1872 flow->flow_state.ib_spsn + flow->npkts - 1; in hfi1_build_tid_rdma_read_req()
1876 req->s_next_psn += flow->npkts; in hfi1_build_tid_rdma_read_req()
1916 flow->npkts = rvt_div_round_up_mtu(qp, len); in tid_rdma_rcv_read_request()
1950 flow->npkts - 1; in tid_rdma_rcv_read_request()
[all …]
Dtid_rdma.h189 u8 npkts; member
Dtrace_tx.h556 __field(u16, npkts)
566 __entry->npkts = i[1];
576 __entry->npkts,
Dchip.h760 u32 intr_adjust, u32 npkts);
Dchip.c11800 static void adjust_rcv_timeout(struct hfi1_ctxtdata *rcd, u32 npkts) in adjust_rcv_timeout() argument
11814 if (npkts < rcv_intr_count) { in adjust_rcv_timeout()
11843 u32 intr_adjust, u32 npkts) in update_usrhead() argument
11854 adjust_rcv_timeout(rcd, npkts); in update_usrhead()
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/
Den_tx.c787 u16 npkts; in mlx5e_poll_tx_cq() local
802 npkts = 0; in mlx5e_poll_tx_cq()
836 npkts++; in mlx5e_poll_tx_cq()
849 npkts += wi->num_fifo_pkts; in mlx5e_poll_tx_cq()
877 netdev_tx_completed_queue(sq->txq, npkts, nbytes); in mlx5e_poll_tx_cq()
902 u16 ci, sqcc, npkts = 0; in mlx5e_free_txqsq_descs() local
917 npkts++; in mlx5e_free_txqsq_descs()
929 npkts += wi->num_fifo_pkts; in mlx5e_free_txqsq_descs()
937 netdev_tx_completed_queue(sq->txq, npkts, nbytes); in mlx5e_free_txqsq_descs()
/Linux-v6.1/drivers/input/joystick/
Dgrip_mp.c539 int i, npkts, flags; in grip_poll() local
541 for (npkts = 0; npkts < 4; npkts++) { in grip_poll()
/Linux-v6.1/drivers/net/ethernet/sun/
Dsunvnet_common.c587 u32 start, u32 end, int *npkts, int budget) in vnet_walk_rx() argument
605 (*npkts)++; in vnet_walk_rx()
617 if ((*npkts) >= budget) { in vnet_walk_rx()
630 ack_end, *npkts); in vnet_walk_rx()
636 ack_end, *npkts); in vnet_walk_rx()
643 static int vnet_rx(struct vnet_port *port, void *msgbuf, int *npkts, in vnet_rx() argument
667 npkts, budget); in vnet_rx()
784 int npkts = 0; in vnet_event_napi() local
883 err = vnet_rx(port, &msgbuf, &npkts, budget); in vnet_event_napi()
884 if (npkts >= budget) in vnet_event_napi()
[all …]
/Linux-v6.1/drivers/infiniband/hw/qib/
Dqib_user_sdma.c812 int npkts = 0; in qib_user_sdma_queue_pkts() local
821 while (idx < niov && npkts < *maxpkts) { in qib_user_sdma_queue_pkts()
1025 npkts++; in qib_user_sdma_queue_pkts()
1033 *maxpkts = npkts; in qib_user_sdma_queue_pkts()
1395 int npkts = 0; in qib_user_sdma_writev() local
1440 npkts += mxp; in qib_user_sdma_writev()
1451 return (ret < 0) ? ret : npkts; in qib_user_sdma_writev()
Dqib_driver.c441 u32 qib_kreceive(struct qib_ctxtdata *rcd, u32 *llic, u32 *npkts) in qib_kreceive() argument
575 if (npkts) in qib_kreceive()
576 *npkts = i; in qib_kreceive()
Dqib_iba7322.c3016 static void adjust_rcv_timeout(struct qib_ctxtdata *rcd, int npkts) in adjust_rcv_timeout() argument
3025 if (npkts < rcv_int_count && timeout > 2) in adjust_rcv_timeout()
3027 else if (npkts >= rcv_int_count && timeout < rcv_int_timeout) in adjust_rcv_timeout()
3052 u32 npkts; in qib_7322intr() local
3111 qib_kreceive(dd->rcd[i], NULL, &npkts); in qib_7322intr()
3140 u32 npkts; in qib_7322pintr() local
3157 qib_kreceive(rcd, NULL, &npkts); in qib_7322pintr()
4408 u32 updegr, u32 egrhd, u32 npkts) in qib_update_7322_usrhead() argument
4415 adjust_rcv_timeout(rcd, npkts); in qib_update_7322_usrhead()
Dqib_iba6120.c2049 u32 updegr, u32 egrhd, u32 npkts) in qib_update_6120_usrhead() argument
Dqib_iba7220.c2702 u32 updegr, u32 egrhd, u32 npkts) in qib_update_7220_usrhead() argument
/Linux-v6.1/include/uapi/rdma/hfi/
Dhfi1_user.h211 __u16 npkts; member
/Linux-v6.1/drivers/net/ethernet/socionext/
Dsni_ave.c748 int restpkt, npkts; in ave_rx_receive() local
756 for (npkts = 0; npkts < num; npkts++) { in ave_rx_receive()
813 return npkts; in ave_rx_receive()