summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/ibm/ibmveth.c
diff options
context:
space:
mode:
authorThomas Falcon <tlfalcon@linux.vnet.ibm.com>2017-06-28 19:55:54 -0500
committerDavid S. Miller <davem@davemloft.net>2017-06-29 15:40:59 -0400
commit5df969c3b0c6df03d72e0e7502c4adc7838442f9 (patch)
tree229d5f20a1f0cfba2647298f3f5abf5badc1e105 /drivers/net/ethernet/ibm/ibmveth.c
parent4f75ba6982bc7e37e7738b2f1257d21a9c9e5d31 (diff)
ibmvnic: Fix assignment of RX/TX IRQ's
The driver currently creates RX/TX queues during device probe, but assigns IRQ's to them during device open. On reset, however, IRQ's are assigned when resetting the queues. If there is a reset while the device is closed and the device is later opened, the driver will request IRQ's twice, causing the open to fail. This patch assigns the IRQ's in the ibmvnic_init function after the queues are reset or initialized, ensuring IRQ's are only requested once. Signed-off-by: Thomas Falcon <tlfalcon@linux.vnet.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/ibm/ibmveth.c')
0 files changed, 0 insertions, 0 deletions