Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F142105010
D46326.id142185.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
571 B
Referenced Files
None
Subscribers
None
D46326.id142185.diff
View Options
diff --git a/sys/contrib/ena-com/ena_eth_com.h b/sys/contrib/ena-com/ena_eth_com.h
--- a/sys/contrib/ena-com/ena_eth_com.h
+++ b/sys/contrib/ena-com/ena_eth_com.h
@@ -39,6 +39,11 @@
#endif
#include "ena_com.h"
+/* we allow 2 DMA descriptors per LLQ entry */
+#define ENA_LLQ_ENTRY_DESC_CHUNK_SIZE (2 * sizeof(struct ena_eth_io_tx_desc))
+#define ENA_LLQ_HEADER (128UL - ENA_LLQ_ENTRY_DESC_CHUNK_SIZE)
+#define ENA_LLQ_LARGE_HEADER (256UL - ENA_LLQ_ENTRY_DESC_CHUNK_SIZE)
+
struct ena_com_tx_ctx {
struct ena_com_tx_meta ena_meta;
struct ena_com_buf *ena_bufs;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Jan 17, 1:53 AM (3 h, 10 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27676787
Default Alt Text
D46326.id142185.diff (571 B)
Attached To
Mode
D46326: ena: Add macros which represent LLQ header size in bytes
Attached
Detach File
Event Timeline
Log In to Comment