| /f-stack/freebsd/mips/cavium/usb/ |
| H A D | octusb_octeon.c | 99 int nports; in octusb_octeon_attach() local 115 nports = cvmx_usb_get_num_ports(); in octusb_octeon_attach() 116 if (nports > OCTUSB_MAX_PORTS) in octusb_octeon_attach() 117 panic("octusb: too many USB ports %d", nports); in octusb_octeon_attach() 118 for (i = 0; i < nports; i++) { in octusb_octeon_attach() 165 int nports; in octusb_octeon_detach() local 177 nports = cvmx_usb_get_num_ports(); in octusb_octeon_detach() 178 if (nports > OCTUSB_MAX_PORTS) in octusb_octeon_detach() 179 panic("octusb: too many USB ports %d", nports); in octusb_octeon_detach() 180 for (i = 0; i < nports; i++) { in octusb_octeon_detach()
|
| /f-stack/dpdk/drivers/net/cxgbe/ |
| H A D | cxgbevf_main.c | 31 adapter->params.nports = vfres->nvi; in size_nports_qsets() 32 if (adapter->params.nports > MAX_NPORTS) { in size_nports_qsets() 35 adapter->params.nports); in size_nports_qsets() 36 adapter->params.nports = MAX_NPORTS; in size_nports_qsets() 46 if (pmask_nports < adapter->params.nports) { in size_nports_qsets() 49 " mask %#x\n", pmask_nports, adapter->params.nports, in size_nports_qsets() 51 adapter->params.nports = pmask_nports; in size_nports_qsets() 55 if (adapter->sge.max_ethqsets < adapter->params.nports) { in size_nports_qsets() 58 adapter->sge.max_ethqsets, adapter->params.nports); in size_nports_qsets() 59 adapter->params.nports = adapter->sge.max_ethqsets; in size_nports_qsets()
|
| H A D | cxgbe_main.c | 1052 reserved = max(adapter->params.nports, 1); in cxgbe_configure_max_ethqsets() 1379 adap->params.nports = hweight32(port_vec); in adap_init0() 1383 adap->params.nports); in adap_init0()
|
| H A D | cxgbe_filter.c | 105 fs->eport >= adapter->params.nports) in cxgbe_validate_filter() 112 if (fs->val.iport >= adapter->params.nports) in cxgbe_validate_filter()
|
| /f-stack/freebsd/contrib/octeon-sdk/ |
| H A D | cvmx-helper.c | 535 for (index = 0; index < nports; index++) in cvmx_helper_fcs_op() 622 int nports; in cvmx_helper_interface_probe() local 626 nports = -1; in cvmx_helper_interface_probe() 633 nports = 0; in cvmx_helper_interface_probe() 638 nports = __cvmx_helper_xaui_probe(interface); in cvmx_helper_interface_probe() 651 nports = __cvmx_helper_spi_probe(interface); in cvmx_helper_interface_probe() 663 nports = __cvmx_helper_npi_probe(interface); in cvmx_helper_interface_probe() 675 nports = __cvmx_helper_ilk_probe(interface); in cvmx_helper_interface_probe() 681 if (nports == -1) in cvmx_helper_interface_probe() 687 nports = __cvmx_helper_board_interface_probe(interface, nports); in cvmx_helper_interface_probe() [all …]
|
| /f-stack/freebsd/netgraph/atm/ccatm/ |
| H A D | ng_ccatm.c | 156 return (p->nports); in ng_ccatm_port_array_getlen() 668 arg->nports = 0; in ng_ccatm_rcvmsg() 669 for (arg->nports = 0; arg->nports < n; arg->nports++) in ng_ccatm_rcvmsg() 670 arg->ports[arg->nports] = ports[arg->nports]; in ng_ccatm_rcvmsg() 731 s.nports * sizeof(*ports) + in ng_ccatm_rcvmsg() 749 sizeof(*ports) * s.nports); in ng_ccatm_rcvmsg() 750 offs += sizeof(*ports) * s.nports; in ng_ccatm_rcvmsg()
|
| /f-stack/freebsd/contrib/ngatm/netnatm/api/ |
| H A D | cc_data.c | 138 status->nports = 0; in cc_get_extended_status() 147 status->nports++; in cc_get_extended_status() 156 *pport = CCMALLOC(sizeof(**pport) * status->nports); in cc_get_extended_status()
|
| H A D | cc_port.c | 442 u_int nports, naddrs; in cc_get_local_port_info() local 447 nports = 0; in cc_get_local_port_info() 451 nports++; in cc_get_local_port_info() 460 *lenp = sizeof(*list) + nports * sizeof(*pp) + naddrs * sizeof(*aa); in cc_get_local_port_info() 469 list->num_ports = nports; in cc_get_local_port_info() 473 aa = (void *)((u_char *)list + sizeof(*list) + nports * sizeof(*pp)); in cc_get_local_port_info()
|
| H A D | atmapi.h | 267 uint32_t nports; /* ports */ member
|
| /f-stack/freebsd/netgraph/atm/ |
| H A D | ng_ccatm.h | 152 uint32_t nports; member
|
| /f-stack/dpdk/examples/l3fwd-graph/ |
| H A D | main.c | 439 #define NB_MBUF(nports) \ argument 440 RTE_MAX((nports * nb_rx_queue * nb_rxd + \ 441 nports * nb_lcores * RTE_GRAPH_BURST_SIZE + \ 442 nports * n_tx_queue * nb_txd + \
|
| /f-stack/dpdk/drivers/net/cxgbe/base/ |
| H A D | t4_hw.c | 3139 if (pidx >= nports) { in t4_get_mps_bg_map() 3141 pidx, nports); in t4_get_mps_bg_map() 3148 switch (nports) { in t4_get_mps_bg_map() 3156 switch (nports) { in t4_get_mps_bg_map() 3163 chip_version, nports); in t4_get_mps_bg_map() 3181 if (pidx >= nports) { in t4_get_tp_ch_map() 3183 pidx, nports); in t4_get_tp_ch_map() 3194 switch (nports) { in t4_get_tp_ch_map() 3202 switch (nports) { in t4_get_tp_ch_map() 3209 chip_version, nports); in t4_get_tp_ch_map() [all …]
|
| H A D | common.h | 268 unsigned char nports; /* # of ethernet ports */ member 337 for (iter = 0; iter < (adapter)->params.nports; ++iter)
|
| H A D | t4vf_hw.c | 294 adapter->params.nports = 1; in t4vf_prep_adapter()
|
| /f-stack/dpdk/examples/l3fwd/ |
| H A D | main.c | 550 #define NB_MBUF(nports) RTE_MAX( \ argument 551 (nports*nb_rx_queue*nb_rxd + \ 552 nports*nb_lcores*MAX_PKT_BURST + \ 553 nports*n_tx_queue*nb_txd + \
|
| /f-stack/app/nginx-1.16.1/src/core/ |
| H A D | ngx_inet.c | 1268 ngx_uint_t i, nports; in ngx_inet_add_addr() local 1272 nports = u->last_port ? u->last_port - u->port + 1 : 1; in ngx_inet_add_addr() 1275 u->addrs = ngx_palloc(pool, total * nports * sizeof(ngx_addr_t)); in ngx_inet_add_addr() 1281 for (i = 0; i < nports; i++) { in ngx_inet_add_addr()
|
| /f-stack/dpdk/drivers/net/ionic/ |
| H A D | ionic_if.h | 269 u8 nports; member
|