| /freebsd-12.1/sys/dev/ixl/ |
| H A D | ixl_pf_qmgr.c | 41 ixl_pf_qmgr_init(struct ixl_pf_qmgr *qmgr, u16 num_queues) in ixl_pf_qmgr_init() argument 43 if (num_queues < 1) in ixl_pf_qmgr_init() 46 qmgr->num_queues = num_queues; in ixl_pf_qmgr_init() 47 qmgr->qinfo = malloc(num_queues * sizeof(struct ixl_pf_qmgr_qinfo), in ixl_pf_qmgr_init() 118 for (i = 0; i < qmgr->num_queues; i++) { in ixl_pf_qmgr_alloc_scattered() 158 return (qmgr->num_queues); in ixl_pf_qmgr_get_num_queues() 170 for (int i = 0; i < qmgr->num_queues; i++) { in ixl_pf_qmgr_get_num_free() 183 if (start > qmgr->num_queues - 1) in ixl_pf_qmgr_get_first_free() 186 for (i = start; i < qmgr->num_queues; i++) { in ixl_pf_qmgr_get_first_free() 306 for (i = 0; i < qmgr->num_queues; i++) { in ixl_pf_qmgr_find_free_contiguous_block()
|
| H A D | ixl_pf_qmgr.h | 64 u16 num_queues; member 86 int ixl_pf_qmgr_init(struct ixl_pf_qmgr *qmgr, u16 num_queues);
|
| H A D | ixl_pf_iov.c | 79 static int ixl_vf_reserve_queues(struct ixl_pf *pf, struct ixl_vf *vf, int num_queues); 1880 ixl_vf_reserve_queues(struct ixl_pf *pf, struct ixl_vf *vf, int num_queues) in ixl_vf_reserve_queues() argument 1886 if (num_queues < 1 || num_queues > 16) in ixl_vf_reserve_queues() 1888 num_queues, vf->vf_num); in ixl_vf_reserve_queues() 1889 if (num_queues < 1) { in ixl_vf_reserve_queues() 1891 num_queues = 1; in ixl_vf_reserve_queues() 1892 } else if (num_queues > IAVF_MAX_QUEUES) { in ixl_vf_reserve_queues() 1894 num_queues = IAVF_MAX_QUEUES; in ixl_vf_reserve_queues() 1896 error = ixl_pf_qmgr_alloc_scattered(&pf->qmgr, num_queues, &vf->qtag); in ixl_vf_reserve_queues() 1899 num_queues, vf->vf_num); in ixl_vf_reserve_queues()
|
| /freebsd-12.1/sys/dev/ntb/if_ntb/ |
| H A D | if_ntb.c | 98 int num_queues; member 147 sc->num_queues = min(g_if_ntb_num_queues, in ntb_net_attach() 152 for (i = 0; i < sc->num_queues; i++) { in ntb_net_attach() 169 sc->num_queues = i; in ntb_net_attach() 190 for (i = 0; i < sc->num_queues; i++) in ntb_net_attach() 202 for (i = 0; i < sc->num_queues; i++) in ntb_net_detach() 207 for (i = 0; i < sc->num_queues; i++) { in ntb_net_detach() 364 i = m->m_pkthdr.flowid % sc->num_queues; in ntb_transmit() 366 i = curcpu % sc->num_queues; in ntb_transmit() 412 for (i = 0; i < sc->num_queues; i++) { in ntb_qflush() [all …]
|
| /freebsd-12.1/sys/contrib/octeon-sdk/ |
| H A D | cvmx-pko.c | 287 int queue, base_queue, num_queues; in __cvmx_pko_iport_config() local 309 for (queue = 0; queue < num_queues; queue++) in __cvmx_pko_iport_config() 322 queue == num_queues - 1) in __cvmx_pko_iport_config() 350 for (queue = 0; queue < num_queues; queue++) in __cvmx_pko_iport_config() 356 config.s.tail = (queue == (num_queues - 1)); in __cvmx_pko_iport_config() 417 pko_port, base_queue, num_queues, queue); in __cvmx_pko_iport_config() 789 uint64_t num_queues, const uint64_t priority[]) in cvmx_pko_config_port() argument 812 (unsigned long long)(base_queue + num_queues)); in cvmx_pko_config_port() 822 for (queue = 0; queue < num_queues; queue++) in cvmx_pko_config_port() 833 queue == num_queues - 1) in cvmx_pko_config_port() [all …]
|
| H A D | cvmx-pko.h | 265 …us_t cvmx_pko_config_port(uint64_t port, uint64_t base_queue, uint64_t num_queues, const uint64_t …
|
| /freebsd-12.1/sys/dev/xen/netfront/ |
| H A D | netfront.c | 210 u_int num_queues; member 539 num_queues = xn_num_queues; in talk_to_backend() 540 if (num_queues > max_queues) in talk_to_backend() 541 num_queues = max_queues; in talk_to_backend() 554 if (info->num_queues == 1) { in talk_to_backend() 703 unsigned long num_queues) in setup_rxqs() argument 802 unsigned long num_queues) in setup_txqs() argument 902 unsigned long num_queues) in setup_device() argument 913 info->num_queues = 0; in setup_device() 922 info->num_queues = num_queues; in setup_device() [all …]
|
| /freebsd-12.1/sys/dev/ena/ |
| H A D | ena.c | 514 for (i = 0; i < adapter->num_queues; i++) in ena_free_all_io_rings_resources() 763 for (i = 0; i < adapter->num_queues; i++) in ena_free_all_tx_resources() 956 for (i = 0; i < adapter->num_queues; i++) in ena_free_all_rx_resources() 1141 for (i = 0; i < adapter->num_queues; i++) in ena_free_all_rx_bufs() 1315 i = adapter->num_queues; in ena_create_io_queues() 2973 i = i % adapter->num_queues; in ena_mq_start() 2981 i = curcpu % adapter->num_queues; in ena_mq_start() 3097 qid = qid % adapter->num_queues; in ena_rss_init_default() 3099 qid = i % adapter->num_queues; in ena_rss_init_default() 3594 adapter->num_queues); in ena_reset_task() [all …]
|
| H A D | ena.h | 344 int num_queues; member
|
| H A D | ena_sysctl.c | 135 for (i = 0; i < adapter->num_queues; ++i, ++tx_ring, ++rx_ring) { in ena_sysctl_add_stats()
|
| /freebsd-12.1/sys/dev/nvme/ |
| H A D | nvme_ctrlr_cmd.c | 206 uint32_t num_queues, nvme_cb_fn_t cb_fn, void *cb_arg) in nvme_ctrlr_cmd_set_num_queues() argument 210 cdw11 = ((num_queues - 1) << 16) | (num_queues - 1); in nvme_ctrlr_cmd_set_num_queues()
|
| H A D | nvme_private.h | 389 uint32_t num_queues, nvme_cb_fn_t cb_fn,
|
| /freebsd-12.1/sys/dev/ixgbe/ |
| H A D | if_sriov.c | 546 int num_queues; in ixgbe_vf_get_queues() local 561 num_queues = ixgbe_vf_queues(adapter->iov_mode); in ixgbe_vf_get_queues() 562 resp[IXGBE_VF_TX_QUEUES] = num_queues; in ixgbe_vf_get_queues() 563 resp[IXGBE_VF_RX_QUEUES] = num_queues; in ixgbe_vf_get_queues()
|
| /freebsd-12.1/sys/dev/virtio/scsi/ |
| H A D | virtio_scsi.h | 95 uint32_t num_queues; member
|
| /freebsd-12.1/sys/dev/qlnx/qlnxe/ |
| H A D | ecore_proto_if.h | 118 u8 num_queues; member
|
| H A D | storage_common.h | 168 u8 num_queues /* Number of continuous global queues used */; member
|
| H A D | ecore_iov_api.h | 111 u16 num_queues; member
|
| H A D | ecore_sriov.c | 1135 if ((p_params->num_queues > 1) && in ecore_iov_init_hw_for_vf() 1148 if ((!p_params->rss_eng_id) && (p_params->num_queues > 1)) { in ecore_iov_init_hw_for_vf() 1160 for (i = 0; i < p_params->num_queues; i++) { in ecore_iov_init_hw_for_vf() 1184 vf->relative_vf_id, p_params->num_queues, (u16)cids); in ecore_iov_init_hw_for_vf() 1185 num_irqs = OSAL_MIN_T(u16, p_params->num_queues, ((u16)cids)); in ecore_iov_init_hw_for_vf()
|
| /freebsd-12.1/sys/dev/sfxge/common/ |
| H A D | ef10_rx.c | 155 __in uint32_t num_queues, in efx_mcdi_rss_context_alloc() argument 165 if (num_queues > EFX_MAXRSS) { in efx_mcdi_rss_context_alloc() 192 MCDI_IN_SET_DWORD(req, RSS_CONTEXT_ALLOC_IN_NUM_QUEUES, num_queues); in efx_mcdi_rss_context_alloc()
|
| /freebsd-12.1/sys/dev/bxe/ |
| H A D | bxe_stats.c | 1006 for (i = 0; i < sc->num_queues; i++) { in bxe_storm_stats_update() 1176 for (int i = 0; i < sc->num_queues; i++) in bxe_net_stats_update() 1231 for (i = 0; i < sc->num_queues; i++) { in bxe_drv_stats_update() 1581 for (i = 0; i < sc->num_queues; i++) { in bxe_prep_fw_stats_req() 1638 for (i = 0; i < sc->num_queues; i++) { in bxe_stats_init() 1685 for (i = 0; i < sc->num_queues; i++) { in bxe_save_statistics() 1737 for (i = 0; i < sc->num_queues; i++) { in bxe_afex_collect_stats()
|
| H A D | bxe.c | 9064 sc->num_queues = 0; in bxe_interrupt_alloc() 9122 sc->num_queues = 0; in bxe_interrupt_alloc() 9140 sc->num_queues = 1; in bxe_interrupt_alloc() 9153 sc->num_queues = 0; in bxe_interrupt_alloc() 9299 if (sc->num_queues > 1) { in bxe_interrupt_attach() 13901 sc->num_queues = 1; in bxe_get_tunable_params() 13903 sc->num_queues = in bxe_get_tunable_params() 13907 sc->num_queues = mp_ncpus; in bxe_get_tunable_params() 13925 sc->num_queues, in bxe_get_tunable_params() 19544 *nrxr = sc->num_queues; in bxe_netdump_init() [all …]
|
| /freebsd-12.1/sys/crypto/ccp/ |
| H A D | ccp.h | 150 uint8_t num_queues; member
|
| /freebsd-12.1/contrib/llvm/tools/lldb/source/API/ |
| H A D | SBProcess.cpp | 477 uint32_t num_queues = 0; in GetNumQueues() local 484 num_queues = process_sp->GetQueueList().GetSize(); in GetNumQueues() 490 static_cast<void *>(process_sp.get()), num_queues); in GetNumQueues() 492 return num_queues; in GetNumQueues()
|
| /freebsd-12.1/usr.sbin/bhyve/ |
| H A D | pci_virtio_scsi.c | 93 uint32_t num_queues; member 311 .num_queues = VTSCSI_REQUESTQ, in pci_vtscsi_reset()
|
| /freebsd-12.1/sys/dev/liquidio/ |
| H A D | lio_sysctl.c | 108 lio_send_queue_count_update(struct ifnet *ifp, uint32_t num_queues) in lio_send_queue_count_update() argument 119 nctrl.ncmd.s.param1 = num_queues; in lio_send_queue_count_update() 120 nctrl.ncmd.s.param2 = num_queues; in lio_send_queue_count_update()
|