]> git.droids-corp.org - dpdk.git/blobdiff - drivers/common/sfc_efx/base/siena_nic.c
common/sfc_efx/base: query RSS queue span limit on Riverhead
[dpdk.git] / drivers / common / sfc_efx / base / siena_nic.c
index 8b810d3ae3c774fb32091a0a741f0562e06cd8c5..5f6d298d3f820b74d1040281ec8b00fbf3a033fe 100644 (file)
@@ -119,6 +119,8 @@ siena_board_cfg(
        encp->enc_rx_push_align = 1;
 
 #if EFSYS_OPT_RX_SCALE
+       encp->enc_rx_scale_indirection_max_nqueues = EFX_MAXRSS;
+
        /* There is one RSS context per function */
        encp->enc_rx_scale_max_exclusive_contexts = 1;
 
@@ -199,6 +201,8 @@ siena_board_cfg(
        encp->enc_mae_supported = B_FALSE;
        encp->enc_mae_admin = B_FALSE;
 
+       encp->enc_dma_mapping = EFX_NIC_DMA_MAPPING_FLAT;
+
        return (0);
 
 fail2: