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
app/procinfo: add --show-mempool
[dpdk.git]
/
drivers
/
net
/
sfc
/
base
/
siena_nic.c
diff --git
a/drivers/net/sfc/base/siena_nic.c
b/drivers/net/sfc/base/siena_nic.c
index
8a58986
..
fca1717
100644
(file)
--- a/
drivers/net/sfc/base/siena_nic.c
+++ b/
drivers/net/sfc/base/siena_nic.c
@@
-114,6
+114,7
@@
siena_board_cfg(
/* Alignment for WPTR updates */
encp->enc_rx_push_align = 1;
/* Alignment for WPTR updates */
encp->enc_rx_push_align = 1;
+#if EFSYS_OPT_RX_SCALE
/* 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;
@@
-128,6
+129,7
@@
siena_board_cfg(
/* There is no support for additional RSS modes */
encp->enc_rx_scale_additional_modes_supported = B_FALSE;
/* There is no support for additional RSS modes */
encp->enc_rx_scale_additional_modes_supported = B_FALSE;
+#endif /* EFSYS_OPT_RX_SCALE */
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_size_max = EFX_MASK32(FSF_AZ_TX_KER_BYTE_COUNT);
/* Fragments must not span 4k boundaries. */