]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/sfc/base/siena_nic.c
net/mlx4: remove useless code
[dpdk.git] / drivers / net / sfc / base / siena_nic.c
index 1f8c4e72fd53c6b04ff34cc887887161a89f3be3..fcc8f151b24c6d7ffee61eae18123be7904c2ead 100644 (file)
@@ -135,6 +135,13 @@ siena_board_cfg(
        /* Alignment for WPTR updates */
        encp->enc_rx_push_align = 1;
 
+       /* There is one RSS context per function */
+       encp->enc_rx_scale_max_exclusive_contexts = 1;
+
+       encp->enc_tx_dma_desc_size_max = EFX_MASK32(FSF_AZ_TX_KER_BYTE_COUNT);
+       /* Fragments must not span 4k boundaries. */
+       encp->enc_tx_dma_desc_boundary = 4096;
+
        /* Resource limits */
        rc = efx_mcdi_get_resource_limits(enp, &nevq, &nrxq, &ntxq);
        if (rc != 0) {