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
/
efx.h
diff --git
a/drivers/net/sfc/base/efx.h
b/drivers/net/sfc/base/efx.h
index
1d1c8bd
..
7c2fab7
100644
(file)
--- a/
drivers/net/sfc/base/efx.h
+++ b/
drivers/net/sfc/base/efx.h
@@
-1158,6
+1158,13
@@
typedef struct efx_nic_cfg_s {
uint32_t enc_rx_batch_max;
/* Number of rx descriptors the hardware requires for a push. */
uint32_t enc_rx_push_align;
uint32_t enc_rx_batch_max;
/* Number of rx descriptors the hardware requires for a push. */
uint32_t enc_rx_push_align;
+ /* Maximum amount of data in DMA descriptor */
+ uint32_t enc_tx_dma_desc_size_max;
+ /*
+ * Boundary which DMA descriptor data must not cross or 0 if no
+ * limitation.
+ */
+ uint32_t enc_tx_dma_desc_boundary;
/*
* Maximum number of bytes into the packet the TCP header can start for
* the hardware to apply TSO packet edits.
/*
* Maximum number of bytes into the packet the TCP header can start for
* the hardware to apply TSO packet edits.