aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/rionet.c
diff options
context:
space:
mode:
authorIyappan Subramanian <isubramanian@apm.com>2016-07-25 17:12:37 -0700
committerDavid S. Miller <davem@davemloft.net>2016-07-25 21:51:42 -0700
commitcb11c062f9052c6bde6a5fa18cab1f41d81131b3 (patch)
tree8fcb15041b5f2eb544e4501f51fcfb66375e780d /drivers/net/rionet.c
parentdrivers: net: xgene: Separate set_speed from mac_init (diff)
downloadlinux-dev-cb11c062f9052c6bde6a5fa18cab1f41d81131b3.tar.xz
linux-dev-cb11c062f9052c6bde6a5fa18cab1f41d81131b3.zip
drivers: net: xgene: Fix module unload crash - hw resource cleanup
When the driver is configured as kernel module and when it gets unloaded and reloaded, kernel crash was observed. This patch address the hardware resource cleanups by doing the following, - Added mac_ops->clear() to do prefetch buffer clean up - Fixed delete freepool buffers logic - Reordered mac_enable and mac_disable - Added Tx completion ring free - Moved down delete_desc_rings after ring cleanup Signed-off-by: Iyappan Subramanian <isubramanian@apm.com> Tested-by: Fushen Chen <fchen@apm.com> Tested-by: Toan Le <toanle@apm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/rionet.c')
0 files changed, 0 insertions, 0 deletions