diff options
author | Jakub Kicinski <jakub.kicinski@netronome.com> | 2016-06-16 14:42:50 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-06-16 22:02:54 -0700 |
commit | ce449ba77a2271dce9771fb1f3eb37e4be6a8b81 (patch) | |
tree | 4dbe695612a22eb864d3239a4dc37835637d5db5 /include/linux/falloc.h | |
parent | d5d8760b78d0cfafe292f965f599988138b06a70 (diff) | |
download | linux-ce449ba77a2271dce9771fb1f3eb37e4be6a8b81.tar.gz linux-ce449ba77a2271dce9771fb1f3eb37e4be6a8b81.tar.bz2 linux-ce449ba77a2271dce9771fb1f3eb37e4be6a8b81.zip |
nfp: use correct index to mask link state irq
We were using an incorrect define to get the irq vector number.
NFP_NET_CFG_LSC is a control BAR offset, LSC interrupt vector
index is called NFP_NET_IRQ_LSC_IDX. For machines with less
than 30 CPUs this meant that we were disabling/enabling IRQ 0.
For bigger hosts we were just playing with the 31st RX/TX
interrupt.
Fixes: 0ba40af963f0 ("nfp: move link state interrupt request/free calls")
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/falloc.h')
0 files changed, 0 insertions, 0 deletions