]> git.baikalelectronics.ru Git - kernel.git/commit
net: thunderx: Enable mailbox interrupts on 81xx/83xx
authorSunil Goutham <sgoutham@cavium.com>
Fri, 12 Aug 2016 11:21:29 +0000 (16:51 +0530)
committerDavid S. Miller <davem@davemloft.net>
Sat, 13 Aug 2016 18:59:30 +0000 (11:59 -0700)
commit3e474a89aea955ee9c3f386f328c7c33085325af
treeac01f2a7d73e3540aff86ca93bc80053be932875
parent19d34e6742c276861bf1921c28d14383773e7b89
net: thunderx: Enable mailbox interrupts on 81xx/83xx

88xx has 128 VFs, 81xx has 8 VFs and 83xx will have 32VFs.
Made changes to PF driver such that mailbox interrupt enable
registers are configuired based on number of VFs HW supports.
Also cleanedup mailbox irq handler registration code.

Signed-off-by: Sunil Goutham <sgoutham@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/cavium/thunder/nic_main.c