common/sfc_efx/base: query RSS queue span limit on Riverhead
[dpdk.git] / drivers / common / sfc_efx / base / siena_nic.c
index 4137c1e..5f6d298 100644 (file)
@@ -1,6 +1,6 @@
 /* SPDX-License-Identifier: BSD-3-Clause
  *
- * Copyright(c) 2019-2020 Xilinx, Inc.
+ * Copyright(c) 2019-2021 Xilinx, Inc.
  * Copyright(c) 2009-2019 Solarflare Communications Inc.
  */
 
@@ -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;
 
@@ -196,6 +198,11 @@ siena_board_cfg(
        encp->enc_filter_action_mark_supported = B_FALSE;
        encp->enc_filter_action_mark_max = 0;
 
+       encp->enc_mae_supported = B_FALSE;
+       encp->enc_mae_admin = B_FALSE;
+
+       encp->enc_dma_mapping = EFX_NIC_DMA_MAPPING_FLAT;
+
        return (0);
 
 fail2: