Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F154986168
D8909.id23263.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
793 B
Referenced Files
None
Subscribers
None
D8909.id23263.diff
View Options
Index: sys/dev/hyperv/netvsc/if_hn.c
===================================================================
--- sys/dev/hyperv/netvsc/if_hn.c
+++ sys/dev/hyperv/netvsc/if_hn.c
@@ -4324,6 +4324,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: sys/dev/hyperv/netvsc/if_hnvar.h
===================================================================
--- sys/dev/hyperv/netvsc/if_hnvar.h
+++ sys/dev/hyperv/netvsc/if_hnvar.h
@@ -59,6 +59,7 @@
struct hn_rx_ring {
struct ifnet *hn_ifp;
+ struct vmbus_channel *hn_chan;
struct hn_tx_ring *hn_txr;
void *hn_pktbuf;
int hn_pktbuf_len;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, May 1, 12:13 PM (17 h, 15 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
32575806
Default Alt Text
D8909.id23263.diff (793 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