Rasesh Mody dd7b6aadaa net/qede/base: refactor device's number of ports logic
- Avoid having num_of_ports as 0 [to prevent a division by 0 via
   MFW_PORT()]. Also fix the MFW_PORT() macro for CMT.
 - Read the device's number of ports from shmem.
 - Rename num_ports_in_engines to num_ports_in_engine.

Signed-off-by: Rasesh Mody <rasesh.mody@cavium.com>
2017-10-06 02:49:49 +02:00
..
2017-10-06 02:49:47 +02:00
2017-06-12 10:41:26 +01:00
2017-10-06 02:49:48 +02:00
2017-10-06 01:26:00 +02:00
2017-10-06 02:49:48 +02:00
2017-10-06 02:49:48 +02:00
2017-10-06 02:49:48 +02:00
2017-10-06 02:49:48 +02:00
2017-07-31 19:16:23 +02:00
2017-10-06 02:49:48 +02:00
2017-07-19 16:25:42 +03:00