linux/drivers/net/ethernet/broadcom/bnxt
Michael Chan 30f529473e bnxt_en: Do not modify max IRQ count after RDMA driver requests/frees IRQs.
Calling bnxt_set_max_func_irqs() to modify the max IRQ count requested or
freed by the RDMA driver is flawed.  The max IRQ count is checked when
re-initializing the IRQ vectors and this can happen multiple times
during ifup or ethtool -L.  If the max IRQ is reduced and the RDMA
driver is operational, we may not initailize IRQs correctly.  This
problem shows up on VFs with very small number of MSIX.

There is no other logic that relies on the IRQ count excluding the ones
used by RDMA.  So we fix it by just removing the call to subtract or
add the IRQs used by RDMA.

Fixes: a588e4580a ("bnxt_en: Add interface to support RDMA driver.")
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2018-07-09 16:27:14 -07:00
..
bnxt_dcb.c bnxt_en: Remap TC to hardware queues when configuring PFC. 2018-04-27 14:47:28 -04:00
bnxt_dcb.h bnxt_en: Update firmware interface to 1.9.1.15. 2018-03-31 23:24:19 -04:00
bnxt_debugfs.c bnxt_en: add debugfs support for DIM 2018-04-27 14:47:30 -04:00
bnxt_debugfs.h bnxt_en: add debugfs support for DIM 2018-04-27 14:47:30 -04:00
bnxt_devlink.c bnxt_en: add support for Flower based vxlan encap/decap offload 2017-10-28 00:02:45 +09:00
bnxt_devlink.h bnxt: Move generic devlink code to new file 2017-10-21 12:28:39 +01:00
bnxt_dim.c net/dim: Rename *_get_profile() functions to *_get_rx_moderation() 2018-04-24 10:15:07 -04:00
bnxt_ethtool.c bnxt_en: Read phy eeprom A2h address only when optical diagnostics is supported. 2018-05-08 10:14:21 -04:00
bnxt_ethtool.h bnxt_en: Add ETH_RESET_AP support 2017-12-01 15:29:40 -05:00
bnxt_fw_hdr.h
bnxt_hsi.h bnxt_en: Update firmware interface to 1.9.1.15. 2018-03-31 23:24:19 -04:00
bnxt_nvm_defs.h bnxt_en: Fix memory fault in bnxt_ethtool_init() 2018-04-19 16:35:09 -04:00
bnxt_sriov.c bnxt_en: Always forward VF MAC address to the PF. 2018-05-08 10:14:22 -04:00
bnxt_sriov.h bnxt_en: Reserve RSS and L2 contexts for VF. 2018-04-27 14:47:31 -04:00
bnxt_tc.c bnxt_en: Fix the vlan_tci exact match check. 2018-07-09 16:27:14 -07:00
bnxt_tc.h bnxt_en: alloc tc_info{} struct only when tc flower is enabled 2017-10-28 00:02:45 +09:00
bnxt_ulp.c bnxt_en: Do not modify max IRQ count after RDMA driver requests/frees IRQs. 2018-07-09 16:27:14 -07:00
bnxt_ulp.h bnxt_en: Add ULP calls to stop and restart IRQs. 2018-03-31 23:24:20 -04:00
bnxt_vfr.c treewide: kmalloc() -> kmalloc_array() 2018-06-12 16:19:22 -07:00
bnxt_vfr.h bnxt_en: export a common switchdev PARENT_ID for all reps of an adapter 2018-01-17 14:48:27 -05:00
bnxt_xdp.c bpf: make bnxt compatible w/ bpf_xdp_adjust_tail 2018-04-18 23:34:16 +02:00
bnxt_xdp.h net: bpf: rename ndo_xdp to ndo_bpf 2017-11-05 22:26:18 +09:00
bnxt.c bnxt_en: Do not modify max IRQ count after RDMA driver requests/frees IRQs. 2018-07-09 16:27:14 -07:00
bnxt.h bnxt_en: Do not modify max IRQ count after RDMA driver requests/frees IRQs. 2018-07-09 16:27:14 -07:00
Makefile bnxt_en: add debugfs support for DIM 2018-04-27 14:47:30 -04:00