Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F161917311
D11417.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
669 B
Referenced Files
None
Subscribers
None
D11417.diff
View Options
Index: head/sys/dev/xen/netfront/netfront.c
===================================================================
--- head/sys/dev/xen/netfront/netfront.c
+++ head/sys/dev/xen/netfront/netfront.c
@@ -74,8 +74,8 @@
/* Features supported by all backends. TSO and LRO can be negotiated */
#define XN_CSUM_FEATURES (CSUM_TCP | CSUM_UDP)
-#define NET_TX_RING_SIZE __RING_SIZE((netif_tx_sring_t *)0, PAGE_SIZE)
-#define NET_RX_RING_SIZE __RING_SIZE((netif_rx_sring_t *)0, PAGE_SIZE)
+#define NET_TX_RING_SIZE __CONST_RING_SIZE(netif_tx, PAGE_SIZE)
+#define NET_RX_RING_SIZE __CONST_RING_SIZE(netif_rx, PAGE_SIZE)
#define NET_RX_SLOTS_MIN (XEN_NETIF_NR_SLOTS_MIN + 1)
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Jul 9, 12:26 AM (4 h, 37 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
34865873
Default Alt Text
D11417.diff (669 B)
Attached To
Mode
D11417: netfront.c: avoid gcc variably-modified warning
Attached
Detach File
Event Timeline
Log In to Comment