Lance Richardson 0603752e74 net/bnxt: create ring group array only when needed
Fix an overrun of the ring group array with BCM5750X-based
adapters by ensuring that the ring group array is not allocated
or accessed for adapters that do not support ring groups.

Fixes: f8168ca0e690 ("net/bnxt: support thor controller")

Signed-off-by: Lance Richardson <lance.richardson@broadcom.com>
Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
2019-07-23 14:31:35 +02:00
..
2019-06-13 23:54:30 +09:00
2019-06-13 23:54:30 +09:00
2019-06-13 23:54:30 +09:00
2019-06-13 23:54:30 +09:00
2019-06-13 23:54:30 +09:00
2019-06-14 00:01:06 +09:00
2019-06-13 23:54:30 +09:00
2019-06-13 23:54:30 +09:00
2019-06-13 23:37:58 +09:00