linux/drivers/net/ethernet/qlogic/qede
Sudarsana Reddy Kalluru 8e0ddc040a qede: prevent chip hang when increasing channels
qede requires qed to provide enough resources to accommodate 16 combined
channels, but that upper-bound isn't actually being enforced by it.
Instead, qed inform back to qede how many channels can be opened based on
available resources - but that calculation doesn't really take into account
the resources requested by qede; Instead it considers other FW/HW available
resources.

As a result, if a user would increase the number of channels to more than
16 [e.g., using ethtool] the chip would hang.

This change increments the resources requested by qede to 64 combined
channels instead of 16; This value is an upper bound on the possible
available channels [due to other FW/HW resources].

Signed-off-by: Sudarsana Reddy Kalluru <sudarsana.kalluru@qlogic.com>
Signed-off-by: Yuval Mintz <Yuval.Mintz@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-05-06 15:50:33 -04:00
..
Makefile qede: Add basic ethtool support 2015-10-27 19:34:54 -07:00
qede.h qede: Add slowpath/fastpath support and enable hardware GRO 2016-03-07 15:01:40 -05:00
qede_ethtool.c qed/qede: use 8.7.3.0 FW. 2016-02-17 16:04:42 -05:00
qede_main.c qede: prevent chip hang when increasing channels 2016-05-06 15:50:33 -04:00