projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8a68bad
)
i40evf: add comment
author
Mitch Williams
<
[email protected]
>
Mon, 12 Dec 2016 23:44:11 +0000
(15:44 -0800)
committer
Jeff Kirsher
<
[email protected]
>
Sun, 19 Feb 2017 04:35:35 +0000
(20:35 -0800)
Add a comment to reduce confusion.
Change-ID: I3d5819c0f3f5174680442ae54398a073d4a61f4f
Signed-off-by: Mitch Williams <
[email protected]
>
Tested-by: Andrew Bowers <
[email protected]
>
Signed-off-by: Jeff Kirsher <
[email protected]
>
drivers/net/ethernet/intel/i40evf/i40evf_main.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/intel/i40evf/i40evf_main.c
b/drivers/net/ethernet/intel/i40evf/i40evf_main.c
index 5673dbd2cf7db9a7629e7c95d4a73cba5a0073a7..f35dcaac5bb7bd9bf86412c1bb40f8e971d086c7 100644
(file)
--- a/
drivers/net/ethernet/intel/i40evf/i40evf_main.c
+++ b/
drivers/net/ethernet/intel/i40evf/i40evf_main.c
@@
-2153,6
+2153,11
@@
static int i40evf_close(struct net_device *netdev)
adapter->state = __I40EVF_DOWN_PENDING;
i40evf_free_traffic_irqs(adapter);
+ /* We explicitly don't free resources here because the hardware is
+ * still active and can DMA into memory. Resources are cleared in
+ * i40evf_virtchnl_completion() after we get confirmation from the PF
+ * driver that the rings have been stopped.
+ */
return 0;
}