git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
common/sfc_efx/base: query RSS queue span limit on Riverhead
[dpdk.git]
/
drivers
/
common
/
sfc_efx
/
base
/
siena_nic.c
diff --git
a/drivers/common/sfc_efx/base/siena_nic.c
b/drivers/common/sfc_efx/base/siena_nic.c
index
e2af0ff
..
5f6d298
100644
(file)
--- a/
drivers/common/sfc_efx/base/siena_nic.c
+++ b/
drivers/common/sfc_efx/base/siena_nic.c
@@
-1,6
+1,6
@@
/* SPDX-License-Identifier: BSD-3-Clause
*
/* SPDX-License-Identifier: BSD-3-Clause
*
- * Copyright(c) 2019-202
0
Xilinx, Inc.
+ * Copyright(c) 2019-202
1
Xilinx, Inc.
* Copyright(c) 2009-2019 Solarflare Communications 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_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;
/* There is one RSS context per function */
encp->enc_rx_scale_max_exclusive_contexts = 1;
@@
-197,6
+199,9
@@
siena_board_cfg(
encp->enc_filter_action_mark_max = 0;
encp->enc_mae_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);
return (0);