Lines Matching refs:scctx
407 if_softc_ctx_t scctx = pf->vsi.shared; in ixl_setup_ssctx() local
411 scctx->isc_ntxqsets_max = scctx->isc_nrxqsets_max = 1; in ixl_setup_ssctx()
412 scctx->isc_ntxqsets = scctx->isc_nrxqsets = 1; in ixl_setup_ssctx()
414 scctx->isc_ntxqsets_max = scctx->isc_nrxqsets_max = 128; in ixl_setup_ssctx()
416 scctx->isc_ntxqsets_max = scctx->isc_nrxqsets_max = 64; in ixl_setup_ssctx()
419 scctx->isc_txqsizes[0] = roundup2(scctx->isc_ntxd[0] in ixl_setup_ssctx()
421 scctx->isc_txrx = &ixl_txrx_hwb; in ixl_setup_ssctx()
423 scctx->isc_txqsizes[0] = roundup2(scctx->isc_ntxd[0] in ixl_setup_ssctx()
425 scctx->isc_txrx = &ixl_txrx_dwb; in ixl_setup_ssctx()
428 scctx->isc_txrx->ift_legacy_intr = ixl_intr; in ixl_setup_ssctx()
429 scctx->isc_rxqsizes[0] = roundup2(scctx->isc_nrxd[0] in ixl_setup_ssctx()
431 scctx->isc_msix_bar = PCIR_BAR(IXL_MSIX_BAR); in ixl_setup_ssctx()
432 scctx->isc_tx_nsegments = IXL_MAX_TX_SEGS; in ixl_setup_ssctx()
433 scctx->isc_tx_tso_segments_max = IXL_MAX_TSO_SEGS; in ixl_setup_ssctx()
434 scctx->isc_tx_tso_size_max = IXL_TSO_SIZE; in ixl_setup_ssctx()
435 scctx->isc_tx_tso_segsize_max = IXL_MAX_DMA_SEG_SIZE; in ixl_setup_ssctx()
436 scctx->isc_rss_table_size = pf->hw.func_caps.rss_table_size; in ixl_setup_ssctx()
437 scctx->isc_tx_csum_flags = CSUM_OFFLOAD; in ixl_setup_ssctx()
438 scctx->isc_capabilities = scctx->isc_capenable = IXL_CAPS; in ixl_setup_ssctx()
1215 if_softc_ctx_t scctx = vsi->shared; in ixl_if_tx_queues_alloc() local
1219 MPASS(scctx->isc_ntxqsets > 0); in ixl_if_tx_queues_alloc()
1221 MPASS(scctx->isc_ntxqsets == ntxqsets); in ixl_if_tx_queues_alloc()
1238 if (!(txr->tx_rsq = malloc(sizeof(qidx_t) * scctx->isc_ntxd[0], M_IXL, M_NOWAIT))) { in ixl_if_tx_queues_alloc()
1244 for (j = 0; j < scctx->isc_ntxd[0]; j++) in ixl_if_tx_queues_alloc()
1269 if_softc_ctx_t scctx = vsi->shared; in ixl_if_rx_queues_alloc() local
1270 MPASS(scctx->isc_nrxqsets > 0); in ixl_if_rx_queues_alloc()
1272 MPASS(scctx->isc_nrxqsets == nrxqsets); in ixl_if_rx_queues_alloc()