Lines Matching refs:scctx

457 	if_softc_ctx_t scctx = sc->shared;  in ixgbe_if_tx_queues_alloc()  local
485 scctx->isc_ntxd[0], M_IXGBE, M_NOWAIT | M_ZERO); in ixgbe_if_tx_queues_alloc()
490 for (j = 0; j < scctx->isc_ntxd[0]; j++) in ixgbe_if_tx_queues_alloc()
715 if_softc_ctx_t scctx = sc->shared; in ixgbe_initialize_receive_units() local
761 scctx->isc_nrxd[0] * sizeof(union ixgbe_adv_rx_desc)); in ixgbe_initialize_receive_units()
829 if_softc_ctx_t scctx = sc->shared; in ixgbe_initialize_transmit_units() local
845 scctx->isc_ntxd[0] * sizeof(union ixgbe_adv_tx_desc)); in ixgbe_initialize_transmit_units()
855 txr->tx_cidx_processed = scctx->isc_ntxd[0] - 1; in ixgbe_initialize_transmit_units()
856 for (int k = 0; k < scctx->isc_ntxd[0]; k++) in ixgbe_initialize_transmit_units()
928 if_softc_ctx_t scctx; in ixgbe_if_attach_pre() local
942 scctx = sc->shared = iflib_get_softc_ctx(ctx); in ixgbe_if_attach_pre()
1068 scctx->isc_rss_table_size = 512; in ixgbe_if_attach_pre()
1069 scctx->isc_ntxqsets_max = scctx->isc_nrxqsets_max = 64; in ixgbe_if_attach_pre()
1072 scctx->isc_rss_table_size = 128; in ixgbe_if_attach_pre()
1073 scctx->isc_ntxqsets_max = scctx->isc_nrxqsets_max = 16; in ixgbe_if_attach_pre()
1079 scctx->isc_txqsizes[0] = in ixgbe_if_attach_pre()
1080 roundup2(scctx->isc_ntxd[0] * sizeof(union ixgbe_adv_tx_desc) + in ixgbe_if_attach_pre()
1082 scctx->isc_rxqsizes[0] = in ixgbe_if_attach_pre()
1083 roundup2(scctx->isc_nrxd[0] * sizeof(union ixgbe_adv_rx_desc), in ixgbe_if_attach_pre()
1087 scctx->isc_tx_csum_flags = CSUM_IP | CSUM_TCP | CSUM_UDP | CSUM_TSO | in ixgbe_if_attach_pre()
1090 scctx->isc_tx_nsegments = IXGBE_82598_SCATTER; in ixgbe_if_attach_pre()
1092 scctx->isc_tx_csum_flags |= CSUM_SCTP |CSUM_IP6_SCTP; in ixgbe_if_attach_pre()
1093 scctx->isc_tx_nsegments = IXGBE_82599_SCATTER; in ixgbe_if_attach_pre()
1096 scctx->isc_msix_bar = pci_msix_table_bar(dev); in ixgbe_if_attach_pre()
1098 scctx->isc_tx_tso_segments_max = scctx->isc_tx_nsegments; in ixgbe_if_attach_pre()
1099 scctx->isc_tx_tso_size_max = IXGBE_TSO_SIZE; in ixgbe_if_attach_pre()
1100 scctx->isc_tx_tso_segsize_max = PAGE_SIZE; in ixgbe_if_attach_pre()
1102 scctx->isc_txrx = &ixgbe_txrx; in ixgbe_if_attach_pre()
1104 scctx->isc_capabilities = scctx->isc_capenable = IXGBE_CAPS; in ixgbe_if_attach_pre()