Changeset View
Changeset View
Standalone View
Standalone View
head/sys/dev/ixgbe/if_ixv.c
Show First 20 Lines • Show All 488 Lines • ▼ Show 20 Lines | scctx->isc_txqsizes[0] = | ||||
sizeof(u32), DBA_ALIGN); | sizeof(u32), DBA_ALIGN); | ||||
scctx->isc_rxqsizes[0] = | scctx->isc_rxqsizes[0] = | ||||
roundup2(scctx->isc_nrxd[0] * sizeof(union ixgbe_adv_rx_desc), | roundup2(scctx->isc_nrxd[0] * sizeof(union ixgbe_adv_rx_desc), | ||||
DBA_ALIGN); | DBA_ALIGN); | ||||
/* XXX */ | /* XXX */ | ||||
scctx->isc_tx_csum_flags = CSUM_IP | CSUM_TCP | CSUM_UDP | CSUM_TSO | | scctx->isc_tx_csum_flags = CSUM_IP | CSUM_TCP | CSUM_UDP | CSUM_TSO | | ||||
CSUM_IP6_TCP | CSUM_IP6_UDP | CSUM_IP6_TSO; | CSUM_IP6_TCP | CSUM_IP6_UDP | CSUM_IP6_TSO; | ||||
scctx->isc_tx_nsegments = IXGBE_82599_SCATTER; | scctx->isc_tx_nsegments = IXGBE_82599_SCATTER; | ||||
scctx->isc_msix_bar = PCIR_BAR(MSIX_82598_BAR); | scctx->isc_msix_bar = pci_msix_table_bar(dev); | ||||
scctx->isc_tx_tso_segments_max = scctx->isc_tx_nsegments; | scctx->isc_tx_tso_segments_max = scctx->isc_tx_nsegments; | ||||
scctx->isc_tx_tso_size_max = IXGBE_TSO_SIZE; | scctx->isc_tx_tso_size_max = IXGBE_TSO_SIZE; | ||||
scctx->isc_tx_tso_segsize_max = PAGE_SIZE; | scctx->isc_tx_tso_segsize_max = PAGE_SIZE; | ||||
scctx->isc_txrx = &ixgbe_txrx; | scctx->isc_txrx = &ixgbe_txrx; | ||||
/* | /* | ||||
* Tell the upper layer(s) we support everything the PF | * Tell the upper layer(s) we support everything the PF | ||||
▲ Show 20 Lines • Show All 1,419 Lines • Show Last 20 Lines |