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
net/sfc/base: separate limitations on Tx DMA descriptors
[dpdk.git]
/
drivers
/
net
/
sfc
/
base
/
hunt_nic.c
diff --git
a/drivers/net/sfc/base/hunt_nic.c
b/drivers/net/sfc/base/hunt_nic.c
index
c2c4d74
..
addbf1c
100644
(file)
--- a/
drivers/net/sfc/base/hunt_nic.c
+++ b/
drivers/net/sfc/base/hunt_nic.c
@@
-301,6
+301,10
@@
hunt_board_cfg(
/* Alignment for WPTR updates */
encp->enc_rx_push_align = EF10_RX_WPTR_ALIGN;
/* Alignment for WPTR updates */
encp->enc_rx_push_align = EF10_RX_WPTR_ALIGN;
+ encp->enc_tx_dma_desc_size_max = EFX_MASK32(ESF_DZ_RX_KER_BYTE_CNT);
+ /* No boundary crossing limits */
+ encp->enc_tx_dma_desc_boundary = 0;
+
/*
* Set resource limits for MC_CMD_ALLOC_VIS. Note that we cannot use
* MC_CMD_GET_RESOURCE_LIMITS here as that reports the available
/*
* Set resource limits for MC_CMD_ALLOC_VIS. Note that we cannot use
* MC_CMD_GET_RESOURCE_LIMITS here as that reports the available