Jakub Kicinski e900db704c nfp: parametrize QCP offset/size using dev_info
The queue controller (QCP) is accessed based on a device specific
offset. The NFP3800 device also supports more queues.

Furthermore, the NFP3800 VFs also access the QCP differently to how the
NFP6000 VFs accesses it, though still indirectly. Fortunately, we can
remove the offset all together for both VF types. This is safe for
NFP6000 VFs since the offset was effectively a wrap around and only used
for convenience to have it set the same as the NFP6000 PF.

Use nfp_dev_info to store queue controller parameters.

Signed-off-by: Dirk van der Merwe <dirk.vandermerwe@netronome.com>
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: Fei Qin <fei.qin@corigine.com>
Signed-off-by: Simon Horman <simon.horman@corigine.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2022-03-11 23:10:22 -08:00
..
2022-02-18 19:36:36 +01:00
2022-02-25 12:30:01 -08:00
2022-02-28 10:43:07 -08:00
2022-02-28 12:51:14 -08:00
2021-12-09 20:06:54 -08:00
2022-02-28 10:43:07 -08:00
2022-01-11 11:35:28 -08:00
2022-03-04 12:02:19 +00:00
2022-02-28 10:43:07 -08:00
2022-01-22 08:33:37 +02:00
2022-01-16 08:08:11 +02:00
2022-02-02 10:33:04 +05:30
2022-02-28 10:43:07 -08:00
2022-01-22 08:33:37 +02:00
2022-03-11 11:54:45 +00:00
2022-01-20 13:25:01 +02:00
2022-01-27 11:23:26 +02:00
2022-03-07 11:40:40 +00:00
2021-12-29 10:54:50 +01:00
2022-01-20 13:31:46 +02:00
2022-02-28 10:43:07 -08:00
2022-01-23 06:20:44 +02:00
2022-01-17 08:07:57 +02:00
2022-01-22 08:33:37 +02:00
2021-12-08 14:53:15 -05:00