Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F145756590
D8909.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
844 B
Referenced Files
None
Subscribers
None
D8909.id.diff
View Options
Index: head/sys/dev/hyperv/netvsc/if_hn.c
===================================================================
--- head/sys/dev/hyperv/netvsc/if_hn.c
+++ head/sys/dev/hyperv/netvsc/if_hn.c
@@ -4323,6 +4323,7 @@
KASSERT((rxr->hn_rx_flags & HN_RX_FLAG_ATTACHED) == 0,
("RX ring %d already attached", idx));
rxr->hn_rx_flags |= HN_RX_FLAG_ATTACHED;
+ rxr->hn_chan = chan;
if (bootverbose) {
if_printf(sc->hn_ifp, "link RX ring %d to chan%u\n",
Index: head/sys/dev/hyperv/netvsc/if_hnvar.h
===================================================================
--- head/sys/dev/hyperv/netvsc/if_hnvar.h
+++ head/sys/dev/hyperv/netvsc/if_hnvar.h
@@ -85,6 +85,8 @@
void *hn_br; /* TX/RX bufring */
struct hyperv_dma hn_br_dma;
+
+ struct vmbus_channel *hn_chan;
} __aligned(CACHE_LINE_SIZE);
#define HN_TRUST_HCSUM_IP 0x0001
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Feb 25, 1:23 AM (6 h, 31 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28981620
Default Alt Text
D8909.id.diff (844 B)
Attached To
Mode
D8909: hyperv/hn: remember the channel pointer in struct hn_rx_ring
Attached
Detach File
Event Timeline
Log In to Comment