| /linux/include/trace/events/ |
| H A D | sunvnet.h | 37 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/drivers/infiniband/hw/hfi1/ |
| H A D | user_sdma.c | 381 if (!info.npkts || req->data_iovs > MAX_VECTORS_PER_REQ) { in hfi1_user_sdma_process_request() 470 if (pcount > req->info.npkts) in hfi1_user_sdma_process_request() 471 pcount = req->info.npkts; in hfi1_user_sdma_process_request() 520 if (req->info.npkts > 1 && HFI1_CAP_IS_USET(SDMA_AHG)) in hfi1_user_sdma_process_request() 532 while (req->seqsubmitted != req->info.npkts) { in hfi1_user_sdma_process_request() 557 if (req->seqsubmitted < req->info.npkts) { in hfi1_user_sdma_process_request() 677 unsigned npkts = 0; in user_sdma_send_pkts() local 694 if (unlikely(req->seqnum == req->info.npkts)) { in user_sdma_send_pkts() 700 if (!maxpkts || maxpkts > req->info.npkts - req->seqnum) in user_sdma_send_pkts() 701 maxpkts = req->info.npkts - req->seqnum; in user_sdma_send_pkts() [all …]
|
| H A D | tid_rdma.c | 1351 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 …]
|
| H A D | tid_rdma.h | 189 u8 npkts; member
|
| /linux/drivers/net/ethernet/fungible/funeth/ |
| H A D | funeth_tx.c | 425 unsigned int npkts = 0, nbytes = 0, ndesc = 0; in fun_txq_reclaim() local 432 head != reclaim_idx && npkts < limit; head = txq_hw_head(q)) { in fun_txq_reclaim() 450 npkts++; in fun_txq_reclaim() 451 } while (reclaim_idx != head && npkts < limit); in fun_txq_reclaim() 455 netdev_tx_completed_queue(q->ndq, npkts, nbytes); in fun_txq_reclaim() 486 unsigned int npkts = 0, ndesc = 0, head, reclaim_idx; in fun_xdpq_clean() local 489 head != reclaim_idx && npkts < budget; head = txq_hw_head(q)) { in fun_xdpq_clean() 506 npkts++; in fun_xdpq_clean() 507 } while (reclaim_idx != head && npkts < budget); in fun_xdpq_clean() 511 return npkts; in fun_xdpq_clean()
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/ |
| H A D | en_tx.c | 767 u16 npkts; in mlx5e_poll_tx_cq() local 782 npkts = 0; in mlx5e_poll_tx_cq() 816 npkts++; in mlx5e_poll_tx_cq() 829 npkts += wi->num_fifo_pkts; in mlx5e_poll_tx_cq() 857 netdev_tx_completed_queue(sq->txq, npkts, nbytes); in mlx5e_poll_tx_cq() 876 u16 ci, sqcc, npkts = 0; in mlx5e_free_txqsq_descs() local 891 npkts++; in mlx5e_free_txqsq_descs() 903 npkts += wi->num_fifo_pkts; in mlx5e_free_txqsq_descs() 915 netdev_tx_completed_queue(sq->txq, npkts, nbytes); in mlx5e_free_txqsq_descs()
|
| /linux/drivers/input/joystick/ |
| H A D | grip_mp.c | 539 int i, npkts, flags; in grip_poll() local 541 for (npkts = 0; npkts < 4; npkts++) { in grip_poll()
|
| /linux/drivers/net/ethernet/sun/ |
| H A D | sunvnet_common.c | 588 u32 start, u32 end, int *npkts, int budget) in vnet_walk_rx() argument 606 (*npkts)++; in vnet_walk_rx() 618 if ((*npkts) >= budget) { in vnet_walk_rx() 631 ack_end, *npkts); in vnet_walk_rx() 637 ack_end, *npkts); in vnet_walk_rx() 644 static int vnet_rx(struct vnet_port *port, void *msgbuf, int *npkts, in vnet_rx() argument 668 npkts, budget); in vnet_rx() 785 int npkts = 0; in vnet_event_napi() local 884 err = vnet_rx(port, &msgbuf, &npkts, budget); in vnet_event_napi() 885 if (npkts >= budget) in vnet_event_napi() [all …]
|
| /linux/include/uapi/rdma/hfi/ |
| H A D | hfi1_user.h | 211 __u16 npkts; member
|
| /linux/drivers/net/ethernet/socionext/ |
| H A D | sni_ave.c | 747 int restpkt, npkts; in ave_rx_receive() local 755 for (npkts = 0; npkts < num; npkts++) { in ave_rx_receive() 812 return npkts; in ave_rx_receive()
|